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_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[56]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPopupWindow
: public wxWindow
{
535 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
536 wxPopupWindow() { wxPyRaiseNotImplemented(); }
539 class wxPyPopupTransientWindow
: public wxPopupWindow
542 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
543 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
547 #include <wx/tipwin.h>
549 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
550 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
553 #include <wx/tipwin.h>
556 #include <wx/vscroll.h>
559 class wxPyVScrolledWindow
: public wxVScrolledWindow
561 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
563 wxPyVScrolledWindow() : wxVScrolledWindow() {}
565 wxPyVScrolledWindow(wxWindow
*parent
,
566 wxWindowID id
= wxID_ANY
,
567 const wxPoint
& pos
= wxDefaultPosition
,
568 const wxSize
& size
= wxDefaultSize
,
570 const wxString
& name
= wxPyPanelNameStr
)
571 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
574 // Overridable virtuals
576 // this function must be overridden in the derived class and it should
577 // return the height of the given line in pixels
578 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
581 // this function doesn't have to be overridden but it may be useful to do
582 // it if calculating the lines heights is a relatively expensive operation
583 // as it gives the user code a possibility to calculate several of them at
586 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
587 // shouldn't rely on the latter being called for all lines in the interval
588 // specified here. It is also possible that OnGetLineHeight() will be
589 // called for the lines outside of this interval, so this is really just a
590 // hint, not a promise.
592 // finally note that lineMin is inclusive, while lineMax is exclusive, as
594 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
597 // when the number of lines changes, we try to estimate the total height
598 // of all lines which is a rather expensive operation in terms of lines
599 // access, so if the user code may estimate the average height
600 // better/faster than we do, it should override this function to implement
603 // this function should return the best guess for the total height it may
605 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
608 // Also expose some other interesting protected methods
611 // find the index of the line we need to show at the top of the window such
612 // that the last (fully or partially) visible line is the given one
613 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
614 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
616 // get the total height of the lines between lineMin (inclusive) and
617 // lineMax (exclusive)
618 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
619 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
625 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
627 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
628 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
629 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
632 SWIGSTATICINLINE(unsigned long)
633 SWIG_AsUnsignedLong(PyObject
* obj
)
635 if (PyLong_Check(obj
)) {
636 return PyLong_AsUnsignedLong(obj
);
638 long i
= SWIG_AsLong(obj
);
639 if ( !PyErr_Occurred() && (i
< 0)) {
640 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
647 SWIGSTATICINLINE(int)
648 SWIG_CheckUnsignedLong(PyObject
* obj
)
650 SWIG_AsUnsignedLong(obj
);
651 if (PyErr_Occurred()) {
660 SWIGSTATICINLINE(PyObject
* )
661 SWIG_FromUnsignedLong(unsigned long value
)
663 return (value
> LONG_MAX
) ?
664 PyLong_FromUnsignedLong(value
)
665 : PyInt_FromLong(swig_numeric_cast(long,value
));
669 #include <wx/vlbox.h>
671 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
673 class wxPyVListBox
: public wxVListBox
675 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
677 wxPyVListBox() : wxVListBox() {}
679 wxPyVListBox(wxWindow
*parent
,
680 wxWindowID id
= wxID_ANY
,
681 const wxPoint
& pos
= wxDefaultPosition
,
682 const wxSize
& size
= wxDefaultSize
,
684 const wxString
& name
= wxPyVListBoxNameStr
)
685 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
688 // Overridable virtuals
690 // the derived class must implement this function to actually draw the item
691 // with the given index on the provided DC
692 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
693 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
696 // the derived class must implement this method to return the height of the
698 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
699 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
702 // this method may be used to draw separators between the lines; note that
703 // the rectangle may be modified, typically to deflate it a bit before
704 // passing to OnDrawItem()
706 // the base class version doesn't do anything
707 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
708 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
711 // this method is used to draw the items background and, maybe, a border
714 // the base class version implements a reasonable default behaviour which
715 // consists in drawing the selected item with the standard background
716 // colour and drawing a border around the item if it is either selected or
718 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
719 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
725 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
727 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
728 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
729 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
730 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
734 #include <wx/htmllbox.h>
737 class wxPyHtmlListBox
: public wxHtmlListBox
739 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
741 wxPyHtmlListBox() : wxHtmlListBox() {}
743 wxPyHtmlListBox(wxWindow
*parent
,
744 wxWindowID id
= wxID_ANY
,
745 const wxPoint
& pos
= wxDefaultPosition
,
746 const wxSize
& size
= wxDefaultSize
,
748 const wxString
& name
= wxPyVListBoxNameStr
)
749 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
752 // Overridable virtuals
754 // this method must be implemented in the derived class and should return
755 // the body (i.e. without <html>) of the HTML for the given item
756 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
758 // this function may be overridden to decorate HTML returned by OnGetItem()
759 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
762 // // this method allows to customize the selection appearance: it may be used
763 // // to specify the colour of the text which normally has the given colour
764 // // colFg when it is inside the selection
766 // // by default, the original colour is not used at all and all text has the
767 // // same (default for this system) colour inside selection
768 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
770 // // this is the same as GetSelectedTextColour() but allows to customize the
771 // // background colour -- this is even more rarely used as you can change it
772 // // globally using SetSelectionBackground()
773 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
780 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
782 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
783 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
790 // implement dummy classes and such for wxMac
792 class wxTaskBarIcon
: public wxEvtHandler
795 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
799 class wxTaskBarIconEvent
: public wxEvent
802 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
803 { wxPyRaiseNotImplemented(); }
804 virtual wxEvent
* Clone() const { return NULL
; }
808 wxEVT_TASKBAR_MOVE
= 0,
809 wxEVT_TASKBAR_LEFT_DOWN
= 0,
810 wxEVT_TASKBAR_LEFT_UP
= 0,
811 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
812 wxEVT_TASKBAR_RIGHT_UP
= 0,
813 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
814 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
818 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
823 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
824 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
825 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
826 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
827 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
828 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
829 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
831 self
->GetFilenames(arr
);
832 return wxArrayString2PyList_helper(arr
);
834 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
840 return wxArrayInt2PyList_helper(self
->GetSelections());
842 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
843 return new wxSingleChoiceDialog(parent
, message
, caption
,
844 choices
, choices_array
, NULL
, style
, pos
);
849 // C++ version of Python aware wxWindow
850 class wxPyWindow
: public wxWindow
852 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
854 wxPyWindow() : wxWindow() {}
855 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
856 const wxPoint
& pos
= wxDefaultPosition
,
857 const wxSize
& size
= wxDefaultSize
,
859 const wxString
& name
= wxPyPanelNameStr
)
860 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
863 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
864 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
872 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
873 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
875 DEC_PYCALLBACK__(InitDialog
);
876 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
877 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
878 DEC_PYCALLBACK_BOOL_(Validate
);
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
882 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
884 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
885 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
887 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
888 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
893 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
895 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
896 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
898 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
905 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
907 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
913 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
917 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
920 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
923 // C++ version of Python aware wxPanel
924 class wxPyPanel
: public wxPanel
926 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
928 wxPyPanel() : wxPanel() {}
929 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
930 const wxPoint
& pos
= wxDefaultPosition
,
931 const wxSize
& size
= wxDefaultSize
,
933 const wxString
& name
= wxPyPanelNameStr
)
934 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
937 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
938 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
940 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
944 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
946 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
947 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
949 DEC_PYCALLBACK__(InitDialog
);
950 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
951 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
952 DEC_PYCALLBACK_BOOL_(Validate
);
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
955 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
956 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
958 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
959 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
961 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
962 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
967 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
969 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
970 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
979 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
981 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
984 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
987 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
994 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
996 // C++ version of Python aware wxScrolledWindow
997 class wxPyScrolledWindow
: public wxScrolledWindow
999 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1001 wxPyScrolledWindow() : wxScrolledWindow() {}
1002 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1003 const wxPoint
& pos
= wxDefaultPosition
,
1004 const wxSize
& size
= wxDefaultSize
,
1006 const wxString
& name
= wxPyPanelNameStr
)
1007 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1010 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1011 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1013 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1017 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1019 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1020 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1022 DEC_PYCALLBACK__(InitDialog
);
1023 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1024 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1025 DEC_PYCALLBACK_BOOL_(Validate
);
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1028 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1029 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1031 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1032 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1034 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1035 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1040 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1042 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1043 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1045 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1049 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1052 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1054 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1057 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1060 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1064 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1067 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1070 #include "wx/wxPython/printfw.h"
1073 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1074 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1078 // Since this one would be tough and ugly to do with the Macros...
1079 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1080 bool hadErr
= False
;
1083 bool blocked
= wxPyBeginBlockThreads();
1084 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1085 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1086 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1089 val
= PyTuple_GetItem(result
, 0);
1090 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1093 val
= PyTuple_GetItem(result
, 1);
1094 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1097 val
= PyTuple_GetItem(result
, 2);
1098 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1101 val
= PyTuple_GetItem(result
, 3);
1102 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1109 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1114 wxPyEndBlockThreads(blocked
);
1116 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1119 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1120 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1125 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1126 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1127 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1128 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1129 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1130 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1136 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1137 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1138 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1141 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1142 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1145 bool blocked = wxPyBeginBlockThreads(); \
1146 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1147 PyObject* win = wxPyMake_wxObject(a); \
1148 PyObject* dc = wxPyMake_wxObject(&b); \
1149 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1153 wxPyEndBlockThreads(blocked); \
1155 rval = PCLASS::CBNAME(a, b); \
1158 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1159 return PCLASS::CBNAME(a, b); \
1165 class wxPyPrintPreview
: public wxPrintPreview
1167 DECLARE_CLASS(wxPyPrintPreview
)
1169 wxPyPrintPreview(wxPyPrintout
* printout
,
1170 wxPyPrintout
* printoutForPrinting
,
1171 wxPrintDialogData
* data
=NULL
)
1172 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1174 wxPyPrintPreview(wxPyPrintout
* printout
,
1175 wxPyPrintout
* printoutForPrinting
,
1176 wxPrintData
* data
=NULL
)
1177 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1180 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1182 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1183 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1184 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1185 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1186 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1191 // Stupid renamed classes... Fix this in 2.5...
1192 #if defined(__WXMSW__)
1193 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1194 #elif defined(__WXMAC__)
1195 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1197 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1200 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1202 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1204 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1205 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1206 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1209 class wxPyPreviewFrame
: public wxPreviewFrame
1211 DECLARE_CLASS(wxPyPreviewFrame
);
1213 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1214 const wxString
& title
,
1215 const wxPoint
& pos
= wxDefaultPosition
,
1216 const wxSize
& size
= wxDefaultSize
,
1217 long style
= wxDEFAULT_FRAME_STYLE
,
1218 const wxString
& name
= wxPyFrameNameStr
)
1219 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1222 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1223 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1225 DEC_PYCALLBACK_VOID_(Initialize
);
1226 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1227 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1232 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1236 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1239 class wxPyPreviewControlBar
: public wxPreviewControlBar
1241 DECLARE_CLASS(wxPyPreviewControlBar
);
1243 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1246 const wxPoint
& pos
= wxDefaultPosition
,
1247 const wxSize
& size
= wxDefaultSize
,
1249 const wxString
& name
= wxPyPanelNameStr
)
1250 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1253 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1255 DEC_PYCALLBACK_VOID_(CreateButtons
);
1256 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1261 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1262 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1263 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1268 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxWindow
*arg1
= (wxWindow
*) 0 ;
1271 int arg2
= (int) (int)-1 ;
1272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1276 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1277 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1278 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1282 bool temp6
= False
;
1283 PyObject
* obj0
= 0 ;
1284 PyObject
* obj1
= 0 ;
1285 PyObject
* obj2
= 0 ;
1286 PyObject
* obj3
= 0 ;
1287 PyObject
* obj4
= 0 ;
1288 PyObject
* obj5
= 0 ;
1290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1297 arg2
= (int const) SWIG_AsInt(obj1
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1313 arg5
= (long) SWIG_AsLong(obj4
);
1314 if (PyErr_Occurred()) SWIG_fail
;
1318 arg6
= wxString_in_helper(obj5
);
1319 if (arg6
== NULL
) SWIG_fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1331 resultobj
= wxPyMake_wxObject(result
);
1347 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
*resultobj
;
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 result
= (wxPanel
*)new wxPanel();
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1363 resultobj
= wxPyMake_wxObject(result
);
1371 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxPanel
*arg1
= (wxPanel
*) 0 ;
1374 wxWindow
*arg2
= (wxWindow
*) 0 ;
1375 int arg3
= (int) (int)-1 ;
1376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1380 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1381 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1382 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1386 bool temp7
= False
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1389 PyObject
* obj2
= 0 ;
1390 PyObject
* obj3
= 0 ;
1391 PyObject
* obj4
= 0 ;
1392 PyObject
* obj5
= 0 ;
1393 PyObject
* obj6
= 0 ;
1395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg3
= (int const) SWIG_AsInt(obj2
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1420 arg6
= (long) SWIG_AsLong(obj5
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1425 arg7
= wxString_in_helper(obj6
);
1426 if (arg7
== NULL
) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1454 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxPanel
*arg1
= (wxPanel
*) 0 ;
1457 PyObject
* obj0
= 0 ;
1459 (char *) "self", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->InitDialog();
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1482 wxVisualAttributes result
;
1483 PyObject
* obj0
= 0 ;
1485 (char *) "variant", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1490 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 wxVisualAttributes
* resultptr
;
1502 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1511 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1516 return Py_BuildValue((char *)"");
1518 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxWindow
*arg1
= (wxWindow
*) 0 ;
1521 int arg2
= (int) (int)-1 ;
1522 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1523 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1524 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1525 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1526 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1527 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1528 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1529 wxScrolledWindow
*result
;
1532 bool temp6
= False
;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1535 PyObject
* obj2
= 0 ;
1536 PyObject
* obj3
= 0 ;
1537 PyObject
* obj4
= 0 ;
1538 PyObject
* obj5
= 0 ;
1540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 arg2
= (int const) SWIG_AsInt(obj1
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1559 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1563 arg5
= (long) SWIG_AsLong(obj4
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1568 arg6
= wxString_in_helper(obj5
);
1569 if (arg6
== NULL
) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1595 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxScrolledWindow
*result
;
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1617 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1620 wxWindow
*arg2
= (wxWindow
*) 0 ;
1621 int arg3
= (int) (int)-1 ;
1622 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1623 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1624 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1625 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1626 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1627 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1632 bool temp7
= False
;
1633 PyObject
* obj0
= 0 ;
1634 PyObject
* obj1
= 0 ;
1635 PyObject
* obj2
= 0 ;
1636 PyObject
* obj3
= 0 ;
1637 PyObject
* obj4
= 0 ;
1638 PyObject
* obj5
= 0 ;
1639 PyObject
* obj6
= 0 ;
1641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1650 arg3
= (int const) SWIG_AsInt(obj2
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1666 arg6
= (long) SWIG_AsLong(obj5
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1671 arg7
= wxString_in_helper(obj6
);
1672 if (arg7
== NULL
) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1700 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1707 int arg6
= (int) 0 ;
1708 int arg7
= (int) 0 ;
1709 bool arg8
= (bool) False
;
1710 PyObject
* obj0
= 0 ;
1711 PyObject
* obj1
= 0 ;
1712 PyObject
* obj2
= 0 ;
1713 PyObject
* obj3
= 0 ;
1714 PyObject
* obj4
= 0 ;
1715 PyObject
* obj5
= 0 ;
1716 PyObject
* obj6
= 0 ;
1717 PyObject
* obj7
= 0 ;
1719 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 arg2
= (int) SWIG_AsInt(obj1
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1727 arg3
= (int) SWIG_AsInt(obj2
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1729 arg4
= (int) SWIG_AsInt(obj3
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1731 arg5
= (int) SWIG_AsInt(obj4
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 arg6
= (int) SWIG_AsInt(obj5
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1738 arg7
= (int) SWIG_AsInt(obj6
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1742 arg8
= (bool) SWIG_AsBool(obj7
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 Py_INCREF(Py_None
); resultobj
= Py_None
;
1759 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1766 PyObject
* obj2
= 0 ;
1768 (char *) "self",(char *) "x",(char *) "y", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1774 arg2
= (int) SWIG_AsInt(obj1
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1776 arg3
= (int) SWIG_AsInt(obj2
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 (arg1
)->Scroll(arg2
,arg3
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1797 PyObject
* obj0
= 0 ;
1798 PyObject
* obj1
= 0 ;
1800 (char *) "self",(char *) "orient", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1806 arg2
= (int) SWIG_AsInt(obj1
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 resultobj
= SWIG_FromInt((int)result
);
1822 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(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 *) "orient",(char *) "pageSize", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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
)->SetScrollPageSize(arg2
,arg3
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 Py_INCREF(Py_None
); resultobj
= Py_None
;
1855 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1861 PyObject
* obj1
= 0 ;
1862 PyObject
* obj2
= 0 ;
1864 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 arg2
= (int) SWIG_AsInt(obj1
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1872 arg3
= (int) SWIG_AsInt(obj2
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 (arg1
)->SetScrollRate(arg2
,arg3
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 Py_INCREF(Py_None
); resultobj
= Py_None
;
1888 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1891 int *arg2
= (int *) 0 ;
1892 int *arg3
= (int *) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1912 Py_INCREF(Py_None
); resultobj
= Py_None
;
1914 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1915 resultobj
= t_output_helper(resultobj
,o
);
1918 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1919 resultobj
= t_output_helper(resultobj
,o
);
1927 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1934 PyObject
* obj2
= 0 ;
1936 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 arg2
= (bool) SWIG_AsBool(obj1
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= (bool) SWIG_AsBool(obj2
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->EnableScrolling(arg2
,arg3
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1963 int *arg2
= (int *) 0 ;
1964 int *arg3
= (int *) 0 ;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "self", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1987 resultobj
= t_output_helper(resultobj
,o
);
1990 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1991 resultobj
= t_output_helper(resultobj
,o
);
1999 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2008 (char *) "self",(char *) "xs",(char *) "ys", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (double) SWIG_AsDouble(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2016 arg3
= (double) SWIG_AsDouble(obj2
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 (arg1
)->SetScale(arg2
,arg3
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= SWIG_FromDouble((double)result
);
2058 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2060 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2064 (char *) "self", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2077 resultobj
= SWIG_FromDouble((double)result
);
2084 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2085 PyObject
*resultobj
;
2086 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2108 wxPoint
* resultptr
;
2109 resultptr
= new wxPoint((wxPoint
&) result
);
2110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2118 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2119 PyObject
*resultobj
;
2120 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2123 int *arg4
= (int *) 0 ;
2124 int *arg5
= (int *) 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2129 PyObject
* obj2
= 0 ;
2133 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2136 arg2
= (int) SWIG_AsInt(obj1
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2138 arg3
= (int) SWIG_AsInt(obj2
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2147 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2150 resultobj
= t_output_helper(resultobj
,o
);
2153 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2154 resultobj
= t_output_helper(resultobj
,o
);
2162 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2167 argc
= PyObject_Length(args
);
2168 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2169 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2175 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2184 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2187 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2195 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2203 _v
= SWIG_CheckInt(argv
[1]);
2205 _v
= SWIG_CheckInt(argv
[2]);
2207 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2213 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2218 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2219 PyObject
*resultobj
;
2220 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2224 PyObject
* obj0
= 0 ;
2225 PyObject
* obj1
= 0 ;
2227 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 wxPoint
* resultptr
;
2243 resultptr
= new wxPoint((wxPoint
&) result
);
2244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2252 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2253 PyObject
*resultobj
;
2254 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2257 int *arg4
= (int *) 0 ;
2258 int *arg5
= (int *) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2263 PyObject
* obj2
= 0 ;
2267 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 arg2
= (int) SWIG_AsInt(obj1
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2272 arg3
= (int) SWIG_AsInt(obj2
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 Py_INCREF(Py_None
); resultobj
= Py_None
;
2283 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2284 resultobj
= t_output_helper(resultobj
,o
);
2287 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2288 resultobj
= t_output_helper(resultobj
,o
);
2296 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2301 argc
= PyObject_Length(args
);
2302 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2303 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2309 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2318 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2321 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2329 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2337 _v
= SWIG_CheckInt(argv
[1]);
2339 _v
= SWIG_CheckInt(argv
[2]);
2341 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2347 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2352 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 (arg1
)->AdjustScrollbars();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 Py_INCREF(Py_None
); resultobj
= Py_None
;
2377 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2380 wxScrollWinEvent
*arg2
= 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "event", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2395 PyErr_SetString(PyExc_TypeError
,"null reference");
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 resultobj
= SWIG_FromInt((int)result
);
2412 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2415 wxWindow
*arg2
= (wxWindow
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2417 PyObject
* obj1
= 0 ;
2419 (char *) "self",(char *) "target", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 (arg1
)->SetTargetWindow(arg2
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 Py_INCREF(Py_None
); resultobj
= Py_None
;
2441 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "self", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= wxPyMake_wxObject(result
);
2469 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 (char *) "self",(char *) "rect", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2507 (char *) "self", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2522 resultptr
= new wxRect((wxRect
&) result
);
2523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2531 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2534 wxVisualAttributes result
;
2535 PyObject
* obj0
= 0 ;
2537 (char *) "variant", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2542 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2553 wxVisualAttributes
* resultptr
;
2554 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2563 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2566 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2568 return Py_BuildValue((char *)"");
2570 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2571 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2576 static PyObject
*_wrap_FrameNameStr_get() {
2581 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2583 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2590 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2591 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2596 static PyObject
*_wrap_DialogNameStr_get() {
2601 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2603 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2610 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2611 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2616 static PyObject
*_wrap_StatusLineNameStr_get() {
2621 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2623 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2630 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2631 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2636 static PyObject
*_wrap_ToolBarNameStr_get() {
2641 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2643 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2650 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2653 bool arg2
= (bool) True
;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2657 (char *) "self",(char *) "maximize", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2664 arg2
= (bool) SWIG_AsBool(obj1
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 (arg1
)->Maximize(arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2684 PyObject
* obj0
= 0 ;
2686 (char *) "self", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 Py_INCREF(Py_None
); resultobj
= Py_None
;
2706 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2709 bool arg2
= (bool) True
;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "self",(char *) "iconize", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 arg2
= (bool) SWIG_AsBool(obj1
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 (arg1
)->Iconize(arg2
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 Py_INCREF(Py_None
); resultobj
= Py_None
;
2737 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2741 PyObject
* obj0
= 0 ;
2743 (char *) "self", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2765 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2771 (char *) "self", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2793 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2814 resultptr
= new wxIcon((wxIcon
&) result
);
2815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2823 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2830 (char *) "self",(char *) "icon", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2840 PyErr_SetString(PyExc_TypeError
,"null reference");
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2860 wxIconBundle
*arg2
= 0 ;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2864 (char *) "self",(char *) "icons", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2874 PyErr_SetString(PyExc_TypeError
,"null reference");
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 Py_INCREF(Py_None
); resultobj
= Py_None
;
2891 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2895 long arg3
= (long) wxFULLSCREEN_ALL
;
2897 PyObject
* obj0
= 0 ;
2898 PyObject
* obj1
= 0 ;
2899 PyObject
* obj2
= 0 ;
2901 (char *) "self",(char *) "show",(char *) "style", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 arg2
= (bool) SWIG_AsBool(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 arg3
= (long) SWIG_AsLong(obj2
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2929 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2957 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2960 wxString
*arg2
= 0 ;
2961 bool temp2
= False
;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2965 (char *) "self",(char *) "title", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 arg2
= wxString_in_helper(obj1
);
2973 if (arg2
== NULL
) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 (arg1
)->SetTitle((wxString
const &)*arg2
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 Py_INCREF(Py_None
); resultobj
= Py_None
;
2998 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3030 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3033 wxRegion
*arg2
= 0 ;
3035 PyObject
* obj0
= 0 ;
3036 PyObject
* obj1
= 0 ;
3038 (char *) "self",(char *) "region", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3048 PyErr_SetString(PyExc_TypeError
,"null reference");
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3067 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3074 (char *) "self",(char *) "on", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3080 arg2
= (bool) SWIG_AsBool(obj1
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 (arg1
)->MacSetMetalAppearance(arg2
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3124 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3127 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3129 return Py_BuildValue((char *)"");
3131 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxWindow
*arg1
= (wxWindow
*) 0 ;
3135 wxString
*arg3
= 0 ;
3136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3140 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3141 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3144 bool temp3
= False
;
3147 bool temp7
= False
;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3150 PyObject
* obj2
= 0 ;
3151 PyObject
* obj3
= 0 ;
3152 PyObject
* obj4
= 0 ;
3153 PyObject
* obj5
= 0 ;
3154 PyObject
* obj6
= 0 ;
3156 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3162 arg2
= (int const) SWIG_AsInt(obj1
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 arg3
= wxString_in_helper(obj2
);
3166 if (arg3
== NULL
) SWIG_fail
;
3172 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3178 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3182 arg6
= (long) SWIG_AsLong(obj5
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3187 arg7
= wxString_in_helper(obj6
);
3188 if (arg7
== NULL
) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= wxPyMake_wxObject(result
);
3224 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= (wxFrame
*)new wxFrame();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= wxPyMake_wxObject(result
);
3248 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxFrame
*arg1
= (wxFrame
*) 0 ;
3251 wxWindow
*arg2
= (wxWindow
*) 0 ;
3253 wxString
*arg4
= 0 ;
3254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3258 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3259 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3260 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3262 bool temp4
= False
;
3265 bool temp8
= False
;
3266 PyObject
* obj0
= 0 ;
3267 PyObject
* obj1
= 0 ;
3268 PyObject
* obj2
= 0 ;
3269 PyObject
* obj3
= 0 ;
3270 PyObject
* obj4
= 0 ;
3271 PyObject
* obj5
= 0 ;
3272 PyObject
* obj6
= 0 ;
3273 PyObject
* obj7
= 0 ;
3275 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 arg3
= (int const) SWIG_AsInt(obj2
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 arg4
= wxString_in_helper(obj3
);
3287 if (arg4
== NULL
) SWIG_fail
;
3293 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3299 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3303 arg7
= (long) SWIG_AsLong(obj6
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3308 arg8
= wxString_in_helper(obj7
);
3309 if (arg8
== NULL
) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3345 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxFrame
*arg1
= (wxFrame
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3365 wxPoint
* resultptr
;
3366 resultptr
= new wxPoint((wxPoint
&) result
);
3367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3375 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxFrame
*arg1
= (wxFrame
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3380 (char *) "self", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 (arg1
)->SendSizeEvent();
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxFrame
*arg1
= (wxFrame
*) 0 ;
3403 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "self",(char *) "menubar", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 (arg1
)->SetMenuBar(arg2
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxFrame
*arg1
= (wxFrame
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3435 (char *) "self", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= wxPyMake_wxObject(result
);
3457 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxFrame
*arg1
= (wxFrame
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "self",(char *) "winid", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3471 arg2
= (int) SWIG_AsInt(obj1
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3489 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxFrame
*arg1
= (wxFrame
*) 0 ;
3492 int arg2
= (int) 1 ;
3493 long arg3
= (long) wxST_SIZEGRIP
;
3494 int arg4
= (int) 0 ;
3495 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3496 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3497 wxStatusBar
*result
;
3498 bool temp5
= False
;
3499 PyObject
* obj0
= 0 ;
3500 PyObject
* obj1
= 0 ;
3501 PyObject
* obj2
= 0 ;
3502 PyObject
* obj3
= 0 ;
3503 PyObject
* obj4
= 0 ;
3505 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3512 arg2
= (int) SWIG_AsInt(obj1
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 arg3
= (long) SWIG_AsLong(obj2
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 arg4
= (int) SWIG_AsInt(obj3
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3525 arg5
= wxString_in_helper(obj4
);
3526 if (arg5
== NULL
) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 resultobj
= wxPyMake_wxObject(result
);
3554 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxFrame
*arg1
= (wxFrame
*) 0 ;
3557 wxStatusBar
*result
;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "self", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= wxPyMake_wxObject(result
);
3582 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxFrame
*arg1
= (wxFrame
*) 0 ;
3585 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "statBar", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 (arg1
)->SetStatusBar(arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 Py_INCREF(Py_None
); resultobj
= Py_None
;
3611 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxFrame
*arg1
= (wxFrame
*) 0 ;
3614 wxString
*arg2
= 0 ;
3615 int arg3
= (int) 0 ;
3616 bool temp2
= False
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3621 (char *) "self",(char *) "text",(char *) "number", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 arg2
= wxString_in_helper(obj1
);
3629 if (arg2
== NULL
) SWIG_fail
;
3633 arg3
= (int) SWIG_AsInt(obj2
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxFrame
*arg1
= (wxFrame
*) 0 ;
3662 int *arg3
= (int *) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "widths", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3673 arg2
= PyList_Size(obj1
);
3674 arg3
= int_LIST_helper(obj1
);
3675 if (arg3
== NULL
) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3686 if (arg3
) delete [] arg3
;
3691 if (arg3
) delete [] arg3
;
3697 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxFrame
*arg1
= (wxFrame
*) 0 ;
3700 wxString
*arg2
= 0 ;
3701 int arg3
= (int) 0 ;
3702 bool temp2
= False
;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3705 PyObject
* obj2
= 0 ;
3707 (char *) "self",(char *) "text",(char *) "number", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 arg2
= wxString_in_helper(obj1
);
3715 if (arg2
== NULL
) SWIG_fail
;
3719 arg3
= (int) SWIG_AsInt(obj2
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3744 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxFrame
*arg1
= (wxFrame
*) 0 ;
3747 int arg2
= (int) 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3751 (char *) "self",(char *) "number", NULL
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 arg2
= (int) SWIG_AsInt(obj1
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 (arg1
)->PopStatusText(arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxFrame
*arg1
= (wxFrame
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3782 (char *) "self",(char *) "n", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 arg2
= (int) SWIG_AsInt(obj1
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->SetStatusBarPane(arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxFrame
*arg1
= (wxFrame
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_FromInt((int)result
);
3830 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxFrame
*arg1
= (wxFrame
*) 0 ;
3833 long arg2
= (long) -1 ;
3834 int arg3
= (int) -1 ;
3835 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3836 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3838 bool temp4
= False
;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3841 PyObject
* obj2
= 0 ;
3842 PyObject
* obj3
= 0 ;
3844 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 arg2
= (long) SWIG_AsLong(obj1
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3855 arg3
= (int) SWIG_AsInt(obj2
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3860 arg4
= wxString_in_helper(obj3
);
3861 if (arg4
== NULL
) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= wxPyMake_wxObject(result
);
3889 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 wxFrame
*arg1
= (wxFrame
*) 0 ;
3893 PyObject
* obj0
= 0 ;
3895 (char *) "self", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= wxPyMake_wxObject(result
);
3917 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxFrame
*arg1
= (wxFrame
*) 0 ;
3920 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3924 (char *) "self",(char *) "toolbar", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetToolBar(arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 Py_INCREF(Py_None
); resultobj
= Py_None
;
3946 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxFrame
*arg1
= (wxFrame
*) 0 ;
3949 wxString
*arg2
= 0 ;
3951 bool temp2
= False
;
3952 PyObject
* obj0
= 0 ;
3953 PyObject
* obj1
= 0 ;
3954 PyObject
* obj2
= 0 ;
3956 (char *) "self",(char *) "text",(char *) "show", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 arg2
= wxString_in_helper(obj1
);
3964 if (arg2
== NULL
) SWIG_fail
;
3967 arg3
= (bool) SWIG_AsBool(obj2
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3991 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxFrame
*arg1
= (wxFrame
*) 0 ;
3994 wxMenu
*arg2
= (wxMenu
*) NULL
;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 (char *) "self",(char *) "menu", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->DoMenuUpdates(arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4025 wxVisualAttributes result
;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "variant", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4033 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 wxVisualAttributes
* resultptr
;
4045 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4054 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4057 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4059 return Py_BuildValue((char *)"");
4061 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxWindow
*arg1
= (wxWindow
*) 0 ;
4065 wxString
*arg3
= 0 ;
4066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4070 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4071 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4074 bool temp3
= False
;
4077 bool temp7
= False
;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4080 PyObject
* obj2
= 0 ;
4081 PyObject
* obj3
= 0 ;
4082 PyObject
* obj4
= 0 ;
4083 PyObject
* obj5
= 0 ;
4084 PyObject
* obj6
= 0 ;
4086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 arg2
= (int const) SWIG_AsInt(obj1
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 arg3
= wxString_in_helper(obj2
);
4096 if (arg3
== NULL
) SWIG_fail
;
4102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4112 arg6
= (long) SWIG_AsLong(obj5
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4117 arg7
= wxString_in_helper(obj6
);
4118 if (arg7
== NULL
) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= wxPyMake_wxObject(result
);
4154 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (wxDialog
*)new wxDialog();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= wxPyMake_wxObject(result
);
4178 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxDialog
*arg1
= (wxDialog
*) 0 ;
4181 wxWindow
*arg2
= (wxWindow
*) 0 ;
4183 wxString
*arg4
= 0 ;
4184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4188 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4189 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4192 bool temp4
= False
;
4195 bool temp8
= False
;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4198 PyObject
* obj2
= 0 ;
4199 PyObject
* obj3
= 0 ;
4200 PyObject
* obj4
= 0 ;
4201 PyObject
* obj5
= 0 ;
4202 PyObject
* obj6
= 0 ;
4203 PyObject
* obj7
= 0 ;
4205 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4213 arg3
= (int const) SWIG_AsInt(obj2
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 arg4
= wxString_in_helper(obj3
);
4217 if (arg4
== NULL
) SWIG_fail
;
4223 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4229 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4233 arg7
= (long) SWIG_AsLong(obj6
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4238 arg8
= wxString_in_helper(obj7
);
4239 if (arg8
== NULL
) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4275 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxDialog
*arg1
= (wxDialog
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4282 (char *) "self",(char *) "returnCode", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 arg2
= (int) SWIG_AsInt(obj1
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->SetReturnCode(arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxDialog
*arg1
= (wxDialog
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "self", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_FromInt((int)result
);
4330 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxDialog
*arg1
= (wxDialog
*) 0 ;
4333 wxString
*arg2
= 0 ;
4335 bool temp2
= False
;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "message", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 arg2
= wxString_in_helper(obj1
);
4347 if (arg2
== NULL
) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= wxPyMake_wxSizer(result
);
4374 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxDialog
*arg1
= (wxDialog
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "flags", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg2
= (long) SWIG_AsLong(obj1
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= wxPyMake_wxSizer(result
);
4406 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxDialog
*arg1
= (wxDialog
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4412 (char *) "self", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4434 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxDialog
*arg1
= (wxDialog
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "self", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= (int)(arg1
)->ShowModal();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_FromInt((int)result
);
4460 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxDialog
*arg1
= (wxDialog
*) 0 ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "retCode", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4473 arg2
= (int) SWIG_AsInt(obj1
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->EndModal(arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4489 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4492 wxVisualAttributes result
;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "variant", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4500 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 wxVisualAttributes
* resultptr
;
4512 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4521 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4524 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4526 return Py_BuildValue((char *)"");
4528 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxWindow
*arg1
= (wxWindow
*) 0 ;
4532 wxString
*arg3
= 0 ;
4533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4537 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4538 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4540 wxMiniFrame
*result
;
4541 bool temp3
= False
;
4544 bool temp7
= False
;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 PyObject
* obj2
= 0 ;
4548 PyObject
* obj3
= 0 ;
4549 PyObject
* obj4
= 0 ;
4550 PyObject
* obj5
= 0 ;
4551 PyObject
* obj6
= 0 ;
4553 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= (int const) SWIG_AsInt(obj1
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 arg3
= wxString_in_helper(obj2
);
4563 if (arg3
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4579 arg6
= (long) SWIG_AsLong(obj5
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg7
= wxString_in_helper(obj6
);
4585 if (arg7
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4619 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxMiniFrame
*result
;
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (wxMiniFrame
*)new wxMiniFrame();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4641 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4644 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 wxString
*arg4
= 0 ;
4647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4651 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4652 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4653 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4655 bool temp4
= False
;
4658 bool temp8
= False
;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4663 PyObject
* obj4
= 0 ;
4664 PyObject
* obj5
= 0 ;
4665 PyObject
* obj6
= 0 ;
4666 PyObject
* obj7
= 0 ;
4668 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 arg3
= (int const) SWIG_AsInt(obj2
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 arg4
= wxString_in_helper(obj3
);
4680 if (arg4
== NULL
) SWIG_fail
;
4686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4696 arg7
= (long) SWIG_AsLong(obj6
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4701 arg8
= wxString_in_helper(obj7
);
4702 if (arg8
== NULL
) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4738 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4743 return Py_BuildValue((char *)"");
4745 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxBitmap
*arg1
= 0 ;
4748 wxWindow
*arg2
= (wxWindow
*) 0 ;
4750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4754 long arg6
= (long) wxNO_BORDER
;
4755 wxSplashScreenWindow
*result
;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 PyObject
* obj4
= 0 ;
4763 PyObject
* obj5
= 0 ;
4765 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4773 PyErr_SetString(PyExc_TypeError
,"null reference");
4776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 arg3
= (int) SWIG_AsInt(obj2
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4793 arg6
= (long) SWIG_AsLong(obj5
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4810 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4813 wxBitmap
*arg2
= 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4817 (char *) "self",(char *) "bitmap", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4827 PyErr_SetString(PyExc_TypeError
,"null reference");
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 Py_INCREF(Py_None
); resultobj
= Py_None
;
4844 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4850 (char *) "self", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4860 result
= (wxBitmap
*) &_result_ref
;
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 wxBitmap
* resultptr
= new wxBitmap(*result
);
4868 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4876 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4879 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4881 return Py_BuildValue((char *)"");
4883 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxBitmap
*arg1
= 0 ;
4888 wxWindow
*arg4
= (wxWindow
*) 0 ;
4890 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4891 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4892 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4893 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4894 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4895 wxSplashScreen
*result
;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4900 PyObject
* obj2
= 0 ;
4901 PyObject
* obj3
= 0 ;
4902 PyObject
* obj4
= 0 ;
4903 PyObject
* obj5
= 0 ;
4904 PyObject
* obj6
= 0 ;
4905 PyObject
* obj7
= 0 ;
4907 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4915 PyErr_SetString(PyExc_TypeError
,"null reference");
4918 arg2
= (long) SWIG_AsLong(obj1
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4920 arg3
= (int) SWIG_AsInt(obj2
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4922 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg5
= (int) SWIG_AsInt(obj4
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4929 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4935 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4939 arg8
= (long) SWIG_AsLong(obj7
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4956 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_FromLong((long)result
);
4982 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4985 wxSplashScreenWindow
*result
;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5008 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_FromInt((int)result
);
5034 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5039 return Py_BuildValue((char *)"");
5041 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxWindow
*arg1
= (wxWindow
*) 0 ;
5044 int arg2
= (int) -1 ;
5045 long arg3
= (long) wxST_SIZEGRIP
;
5046 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5048 wxStatusBar
*result
;
5049 bool temp4
= False
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 PyObject
* obj3
= 0 ;
5055 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 arg3
= (long) SWIG_AsLong(obj2
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5071 arg4
= wxString_in_helper(obj3
);
5072 if (arg4
== NULL
) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= wxPyMake_wxObject(result
);
5100 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxStatusBar
*result
;
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (wxStatusBar
*)new wxStatusBar();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= wxPyMake_wxObject(result
);
5124 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5127 wxWindow
*arg2
= (wxWindow
*) 0 ;
5129 long arg4
= (long) wxST_SIZEGRIP
;
5130 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5131 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5133 bool temp5
= False
;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5136 PyObject
* obj2
= 0 ;
5137 PyObject
* obj3
= 0 ;
5138 PyObject
* obj4
= 0 ;
5140 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 arg3
= (int) SWIG_AsInt(obj2
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 arg4
= (long) SWIG_AsLong(obj3
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5156 arg5
= wxString_in_helper(obj4
);
5157 if (arg5
== NULL
) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5188 int arg2
= (int) 1 ;
5189 PyObject
* obj0
= 0 ;
5190 PyObject
* obj1
= 0 ;
5192 (char *) "self",(char *) "number", NULL
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 arg2
= (int) SWIG_AsInt(obj1
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->SetFieldsCount(arg2
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5222 (char *) "self", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_FromInt((int)result
);
5242 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5245 wxString
*arg2
= 0 ;
5246 int arg3
= (int) 0 ;
5247 bool temp2
= False
;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5252 (char *) "self",(char *) "text",(char *) "number", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5259 arg2
= wxString_in_helper(obj1
);
5260 if (arg2
== NULL
) SWIG_fail
;
5264 arg3
= (int) SWIG_AsInt(obj2
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5289 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5292 int arg2
= (int) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "number", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= (int) SWIG_AsInt(obj1
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5327 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5330 wxString
*arg2
= 0 ;
5331 int arg3
= (int) 0 ;
5332 bool temp2
= False
;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 PyObject
* obj2
= 0 ;
5337 (char *) "self",(char *) "text",(char *) "number", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 arg2
= wxString_in_helper(obj1
);
5345 if (arg2
== NULL
) SWIG_fail
;
5349 arg3
= (int) SWIG_AsInt(obj2
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5377 int arg2
= (int) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "number", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 arg2
= (int) SWIG_AsInt(obj1
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 (arg1
)->PopStatusText(arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 Py_INCREF(Py_None
); resultobj
= Py_None
;
5405 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5409 int *arg3
= (int *) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "widths", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5420 arg2
= PyList_Size(obj1
);
5421 arg3
= int_LIST_helper(obj1
);
5422 if (arg3
== NULL
) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 Py_INCREF(Py_None
); resultobj
= Py_None
;
5433 if (arg3
) delete [] arg3
;
5438 if (arg3
) delete [] arg3
;
5444 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "i", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 arg2
= (int) SWIG_AsInt(obj1
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5469 resultptr
= new wxRect((wxRect
&) result
);
5470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5478 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "height", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 arg2
= (int) SWIG_AsInt(obj1
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 (arg1
)->SetMinHeight(arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 Py_INCREF(Py_None
); resultobj
= Py_None
;
5507 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5513 (char *) "self", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_FromInt((int)result
);
5533 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_FromInt((int)result
);
5559 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5562 wxVisualAttributes result
;
5563 PyObject
* obj0
= 0 ;
5565 (char *) "variant", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5570 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5581 wxVisualAttributes
* resultptr
;
5582 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5591 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5594 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5596 return Py_BuildValue((char *)"");
5598 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5599 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5604 static PyObject
*_wrap_SplitterNameStr_get() {
5609 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5611 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5618 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxWindow
*arg1
= (wxWindow
*) 0 ;
5621 int arg2
= (int) -1 ;
5622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5626 long arg5
= (long) wxSP_3D
;
5627 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5628 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5629 wxSplitterWindow
*result
;
5632 bool temp6
= False
;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 PyObject
* obj2
= 0 ;
5636 PyObject
* obj3
= 0 ;
5637 PyObject
* obj4
= 0 ;
5638 PyObject
* obj5
= 0 ;
5640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 arg2
= (int) SWIG_AsInt(obj1
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5663 arg5
= (long) SWIG_AsLong(obj4
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5668 arg6
= wxString_in_helper(obj5
);
5669 if (arg6
== NULL
) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5695 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxSplitterWindow
*result
;
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5717 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5720 wxWindow
*arg2
= (wxWindow
*) 0 ;
5721 int arg3
= (int) -1 ;
5722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5726 long arg6
= (long) wxSP_3D
;
5727 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5732 bool temp7
= False
;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5735 PyObject
* obj2
= 0 ;
5736 PyObject
* obj3
= 0 ;
5737 PyObject
* obj4
= 0 ;
5738 PyObject
* obj5
= 0 ;
5739 PyObject
* obj6
= 0 ;
5741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg3
= (int) SWIG_AsInt(obj2
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5762 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5766 arg6
= (long) SWIG_AsLong(obj5
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5771 arg7
= wxString_in_helper(obj6
);
5772 if (arg7
== NULL
) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5800 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5806 (char *) "self", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= wxPyMake_wxObject(result
);
5828 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5834 (char *) "self", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= wxPyMake_wxObject(result
);
5856 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5863 (char *) "self",(char *) "mode", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 arg2
= (int) SWIG_AsInt(obj1
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 (arg1
)->SetSplitMode(arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 Py_INCREF(Py_None
); resultobj
= Py_None
;
5885 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_FromInt((int)result
);
5911 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5914 wxWindow
*arg2
= (wxWindow
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5918 (char *) "self",(char *) "window", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->Initialize(arg2
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5940 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5943 wxWindow
*arg2
= (wxWindow
*) 0 ;
5944 wxWindow
*arg3
= (wxWindow
*) 0 ;
5945 int arg4
= (int) 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5949 PyObject
* obj2
= 0 ;
5950 PyObject
* obj3
= 0 ;
5952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 arg4
= (int) SWIG_AsInt(obj3
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5982 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5985 wxWindow
*arg2
= (wxWindow
*) 0 ;
5986 wxWindow
*arg3
= (wxWindow
*) 0 ;
5987 int arg4
= (int) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 PyObject
* obj2
= 0 ;
5992 PyObject
* obj3
= 0 ;
5994 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6002 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 arg4
= (int) SWIG_AsInt(obj3
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6027 wxWindow
*arg2
= (wxWindow
*) NULL
;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6032 (char *) "self",(char *) "toRemove", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)(arg1
)->Unsplit(arg2
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6061 wxWindow
*arg2
= (wxWindow
*) 0 ;
6062 wxWindow
*arg3
= (wxWindow
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6065 PyObject
* obj1
= 0 ;
6066 PyObject
* obj2
= 0 ;
6068 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "self", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 (arg1
)->UpdateSize();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6147 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "width", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6160 arg2
= (int) SWIG_AsInt(obj1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 (arg1
)->SetSashSize(arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 Py_INCREF(Py_None
); resultobj
= Py_None
;
6176 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6183 (char *) "self",(char *) "width", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6189 arg2
= (int) SWIG_AsInt(obj1
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->SetBorderSize(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 Py_INCREF(Py_None
); resultobj
= Py_None
;
6205 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_FromInt((int)result
);
6231 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= SWIG_FromInt((int)result
);
6257 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6261 bool arg3
= (bool) True
;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 PyObject
* obj2
= 0 ;
6266 (char *) "self",(char *) "position",(char *) "redraw", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 arg2
= (int) SWIG_AsInt(obj1
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 arg3
= (bool) SWIG_AsBool(obj2
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->SetSashPosition(arg2
,arg3
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_FromInt((int)result
);
6318 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6325 (char *) "self",(char *) "min", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 arg2
= (int) SWIG_AsInt(obj1
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 (arg1
)->SetMinimumPaneSize(arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 Py_INCREF(Py_None
); resultobj
= Py_None
;
6347 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
;
6349 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "self", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_FromInt((int)result
);
6373 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6378 int arg4
= (int) 5 ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6382 PyObject
* obj2
= 0 ;
6383 PyObject
* obj3
= 0 ;
6385 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 arg2
= (int) SWIG_AsInt(obj1
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6393 arg3
= (int) SWIG_AsInt(obj2
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 arg4
= (int) SWIG_AsInt(obj3
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6415 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6420 (char *) "self", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->SizeWindows();
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "self",(char *) "needUpdating", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (bool) SWIG_AsBool(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->SetNeedUpdating(arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6500 wxVisualAttributes result
;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "variant", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6508 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 wxVisualAttributes
* resultptr
;
6520 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6529 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6532 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6534 return Py_BuildValue((char *)"");
6536 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6539 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6540 wxSplitterEvent
*result
;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6544 (char *) "type",(char *) "splitter", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6570 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6577 (char *) "self",(char *) "pos", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 arg2
= (int) SWIG_AsInt(obj1
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 (arg1
)->SetSashPosition(arg2
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 (char *) "self", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_FromInt((int)result
);
6625 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= wxPyMake_wxObject(result
);
6653 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6659 (char *) "self", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_FromInt((int)result
);
6679 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "self", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_FromInt((int)result
);
6705 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6710 return Py_BuildValue((char *)"");
6712 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6713 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6718 static PyObject
*_wrap_SashNameStr_get() {
6723 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6725 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6732 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6733 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6738 static PyObject
*_wrap_SashLayoutNameStr_get() {
6743 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6752 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6760 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6761 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6763 wxSashWindow
*result
;
6766 bool temp6
= False
;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 PyObject
* obj2
= 0 ;
6770 PyObject
* obj3
= 0 ;
6771 PyObject
* obj4
= 0 ;
6772 PyObject
* obj5
= 0 ;
6774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6780 arg2
= (int) SWIG_AsInt(obj1
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6785 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6791 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6795 arg5
= (long) SWIG_AsLong(obj4
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6800 arg6
= wxString_in_helper(obj5
);
6801 if (arg6
== NULL
) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6827 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxSashWindow
*result
;
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (wxSashWindow
*)new wxSashWindow();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6849 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6852 wxWindow
*arg2
= (wxWindow
*) 0 ;
6854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6858 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6859 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6864 bool temp7
= False
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6868 PyObject
* obj3
= 0 ;
6869 PyObject
* obj4
= 0 ;
6870 PyObject
* obj5
= 0 ;
6871 PyObject
* obj6
= 0 ;
6873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6881 arg3
= (int) SWIG_AsInt(obj2
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6896 arg6
= (long) SWIG_AsLong(obj5
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6901 arg7
= wxString_in_helper(obj6
);
6902 if (arg7
== NULL
) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6930 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6937 PyObject
* obj2
= 0 ;
6939 (char *) "self",(char *) "edge",(char *) "sash", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6947 arg3
= (bool) SWIG_AsBool(obj2
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 Py_INCREF(Py_None
); resultobj
= Py_None
;
6963 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "edge", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6995 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 PyObject
* obj2
= 0 ;
7004 (char *) "self",(char *) "edge",(char *) "border", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7010 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7012 arg3
= (bool) SWIG_AsBool(obj2
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "edge", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7068 (char *) "self",(char *) "edge", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_FromInt((int)result
);
7090 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "width", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7103 arg2
= (int) SWIG_AsInt(obj1
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->SetDefaultBorderSize(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_FromInt((int)result
);
7145 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7152 (char *) "self",(char *) "width", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 arg2
= (int) SWIG_AsInt(obj1
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetExtraBorderSize(arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_FromInt((int)result
);
7200 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "self",(char *) "min", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 arg2
= (int) SWIG_AsInt(obj1
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->SetMinimumSizeX(arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7236 (char *) "self",(char *) "min", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= (int) SWIG_AsInt(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->SetMinimumSizeY(arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_FromInt((int)result
);
7284 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7290 (char *) "self", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_FromInt((int)result
);
7310 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7317 (char *) "self",(char *) "max", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 arg2
= (int) SWIG_AsInt(obj1
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 (arg1
)->SetMaximumSizeX(arg2
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 Py_INCREF(Py_None
); resultobj
= Py_None
;
7339 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7346 (char *) "self",(char *) "max", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 arg2
= (int) SWIG_AsInt(obj1
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 (arg1
)->SetMaximumSizeY(arg2
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7374 (char *) "self", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_FromInt((int)result
);
7394 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_FromInt((int)result
);
7420 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7425 int arg4
= (int) 2 ;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7429 PyObject
* obj2
= 0 ;
7430 PyObject
* obj3
= 0 ;
7432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7438 arg2
= (int) SWIG_AsInt(obj1
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7440 arg3
= (int) SWIG_AsInt(obj2
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 arg4
= (int) SWIG_AsInt(obj3
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_FromInt((int)result
);
7460 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "self", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SizeWindows();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7488 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7490 return Py_BuildValue((char *)"");
7492 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 int arg1
= (int) 0 ;
7495 int arg2
= (int) wxSASH_NONE
;
7496 wxSashEvent
*result
;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7500 (char *) "id",(char *) "edge", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 arg1
= (int) SWIG_AsInt(obj0
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7526 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7533 (char *) "self",(char *) "edge", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 Py_INCREF(Py_None
); resultobj
= Py_None
;
7555 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= SWIG_FromInt((int)result
);
7581 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7589 (char *) "self",(char *) "rect", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7634 resultptr
= new wxRect((wxRect
&) result
);
7635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7643 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7650 (char *) "self",(char *) "status", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_FromInt((int)result
);
7698 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7701 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7703 return Py_BuildValue((char *)"");
7705 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 int arg1
= (int) 0 ;
7708 wxQueryLayoutInfoEvent
*result
;
7709 PyObject
* obj0
= 0 ;
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7716 arg1
= (int) SWIG_AsInt(obj0
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7733 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7740 (char *) "self",(char *) "length", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 arg2
= (int) SWIG_AsInt(obj1
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 (arg1
)->SetRequestedLength(arg2
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 Py_INCREF(Py_None
); resultobj
= Py_None
;
7762 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_FromInt((int)result
);
7788 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "self",(char *) "flags", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7801 arg2
= (int) SWIG_AsInt(obj1
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetFlags(arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_FromInt((int)result
);
7843 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "self",(char *) "size", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->SetSize((wxSize
const &)*arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7896 resultptr
= new wxSize((wxSize
&) result
);
7897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7905 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7910 PyObject
* obj1
= 0 ;
7912 (char *) "self",(char *) "orient", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7934 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_FromInt((int)result
);
7960 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7967 (char *) "self",(char *) "align", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 Py_INCREF(Py_None
); resultobj
= Py_None
;
7989 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_FromInt((int)result
);
8015 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8020 return Py_BuildValue((char *)"");
8022 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 int arg1
= (int) 0 ;
8025 wxCalculateLayoutEvent
*result
;
8026 PyObject
* obj0
= 0 ;
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8033 arg1
= (int) SWIG_AsInt(obj0
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8050 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8055 PyObject
* obj1
= 0 ;
8057 (char *) "self",(char *) "flags", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8063 arg2
= (int) SWIG_AsInt(obj1
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 (arg1
)->SetFlags(arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_FromInt((int)result
);
8105 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "rect", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetRect((wxRect
const &)*arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8143 (char *) "self", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8158 resultptr
= new wxRect((wxRect
&) result
);
8159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8167 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8172 return Py_BuildValue((char *)"");
8174 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxWindow
*arg1
= (wxWindow
*) 0 ;
8178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8182 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8183 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8184 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8185 wxSashLayoutWindow
*result
;
8188 bool temp6
= False
;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8191 PyObject
* obj2
= 0 ;
8192 PyObject
* obj3
= 0 ;
8193 PyObject
* obj4
= 0 ;
8194 PyObject
* obj5
= 0 ;
8196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8202 arg2
= (int) SWIG_AsInt(obj1
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8217 arg5
= (long) SWIG_AsLong(obj4
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8222 arg6
= wxString_in_helper(obj5
);
8223 if (arg6
== NULL
) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8249 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxSashLayoutWindow
*result
;
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8271 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8274 wxWindow
*arg2
= (wxWindow
*) 0 ;
8276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8280 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8281 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8286 bool temp7
= False
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8289 PyObject
* obj2
= 0 ;
8290 PyObject
* obj3
= 0 ;
8291 PyObject
* obj4
= 0 ;
8292 PyObject
* obj5
= 0 ;
8293 PyObject
* obj6
= 0 ;
8295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 arg3
= (int) SWIG_AsInt(obj2
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8318 arg6
= (long) SWIG_AsLong(obj5
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8323 arg7
= wxString_in_helper(obj6
);
8324 if (arg7
== NULL
) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8352 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "self", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (int)(arg1
)->GetAlignment();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_FromInt((int)result
);
8378 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (int)(arg1
)->GetOrientation();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_FromInt((int)result
);
8404 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8411 (char *) "self",(char *) "alignment", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 Py_INCREF(Py_None
); resultobj
= Py_None
;
8433 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8441 (char *) "self",(char *) "size", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 Py_INCREF(Py_None
); resultobj
= Py_None
;
8465 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "orientation", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8478 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 Py_INCREF(Py_None
); resultobj
= Py_None
;
8494 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8497 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8499 return Py_BuildValue((char *)"");
8501 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxLayoutAlgorithm
*result
;
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8523 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8551 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8552 wxRect
*arg3
= (wxRect
*) NULL
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8558 (char *) "self",(char *) "frame",(char *) "rect", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8586 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8589 wxFrame
*arg2
= (wxFrame
*) 0 ;
8590 wxWindow
*arg3
= (wxWindow
*) NULL
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 PyObject
* obj2
= 0 ;
8596 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8627 wxWindow
*arg2
= (wxWindow
*) 0 ;
8628 wxWindow
*arg3
= (wxWindow
*) NULL
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8665 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8667 return Py_BuildValue((char *)"");
8669 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxWindow
*arg1
= (wxWindow
*) 0 ;
8672 int arg2
= (int) wxBORDER_NONE
;
8673 wxPopupWindow
*result
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8677 (char *) "parent",(char *) "flags", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8684 arg2
= (int) SWIG_AsInt(obj1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8701 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxPopupWindow
*result
;
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (wxPopupWindow
*)new wxPopupWindow();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8723 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8726 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8728 return Py_BuildValue((char *)"");
8730 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxWindow
*arg1
= (wxWindow
*) 0 ;
8733 int arg2
= (int) wxBORDER_NONE
;
8734 wxPyPopupTransientWindow
*result
;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8738 (char *) "parent",(char *) "style", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8745 arg2
= (int) SWIG_AsInt(obj1
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8762 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxPyPopupTransientWindow
*result
;
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8784 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8787 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8789 return Py_BuildValue((char *)"");
8791 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxWindow
*arg1
= (wxWindow
*) 0 ;
8794 wxString
*arg2
= 0 ;
8795 int arg3
= (int) 100 ;
8796 wxRect
*arg4
= (wxRect
*) NULL
;
8797 wxTipWindow
*result
;
8798 bool temp2
= False
;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8801 PyObject
* obj2
= 0 ;
8802 PyObject
* obj3
= 0 ;
8804 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8811 arg2
= wxString_in_helper(obj1
);
8812 if (arg2
== NULL
) SWIG_fail
;
8816 arg3
= (int) SWIG_AsInt(obj2
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8845 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8853 (char *) "self",(char *) "rectBound", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 Py_INCREF(Py_None
); resultobj
= Py_None
;
8877 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8882 (char *) "self", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8907 return Py_BuildValue((char *)"");
8909 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxWindow
*arg1
= (wxWindow
*) 0 ;
8912 int arg2
= (int) wxID_ANY
;
8913 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8914 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8915 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8916 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8917 long arg5
= (long) 0 ;
8918 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8919 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8920 wxPyVScrolledWindow
*result
;
8923 bool temp6
= False
;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8927 PyObject
* obj3
= 0 ;
8928 PyObject
* obj4
= 0 ;
8929 PyObject
* obj5
= 0 ;
8931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 arg2
= (int) SWIG_AsInt(obj1
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8954 arg5
= (long) SWIG_AsLong(obj4
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8959 arg6
= wxString_in_helper(obj5
);
8960 if (arg6
== NULL
) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8986 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxPyVScrolledWindow
*result
;
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9008 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9011 PyObject
*arg2
= (PyObject
*) 0 ;
9012 PyObject
*arg3
= (PyObject
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9017 (char *) "self",(char *) "self",(char *) "_class", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9042 wxWindow
*arg2
= (wxWindow
*) 0 ;
9043 int arg3
= (int) wxID_ANY
;
9044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9048 long arg6
= (long) 0 ;
9049 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9050 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9054 bool temp7
= False
;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9058 PyObject
* obj3
= 0 ;
9059 PyObject
* obj4
= 0 ;
9060 PyObject
* obj5
= 0 ;
9061 PyObject
* obj6
= 0 ;
9063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9072 arg3
= (int) SWIG_AsInt(obj2
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9088 arg6
= (long) SWIG_AsLong(obj5
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9093 arg7
= wxString_in_helper(obj6
);
9094 if (arg7
== NULL
) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9122 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9129 (char *) "self",(char *) "count", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->SetLineCount(arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9159 (char *) "self",(char *) "line", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9183 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9191 (char *) "self",(char *) "lines", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) 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
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->ScrollLines(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9215 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9223 (char *) "self",(char *) "pages", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 arg2
= (int) SWIG_AsInt(obj1
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (bool)(arg1
)->ScrollPages(arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9254 (char *) "self",(char *) "line", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 (arg1
)->RefreshLine(arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 Py_INCREF(Py_None
); resultobj
= Py_None
;
9276 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9285 (char *) "self",(char *) "from",(char *) "to", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9293 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->RefreshLines(arg2
,arg3
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9319 (char *) "self",(char *) "x",(char *) "y", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 arg2
= (int) SWIG_AsInt(obj1
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9327 arg3
= (int) SWIG_AsInt(obj2
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_FromInt((int)result
);
9343 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9345 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "self",(char *) "pt", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= SWIG_FromInt((int)result
);
9376 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 (arg1
)->RefreshAll();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9427 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9453 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9479 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9487 (char *) "self",(char *) "line", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9493 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9511 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9516 return Py_BuildValue((char *)"");
9518 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9519 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9524 static PyObject
*_wrap_VListBoxNameStr_get() {
9529 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9531 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9538 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxWindow
*arg1
= (wxWindow
*) 0 ;
9541 int arg2
= (int) wxID_ANY
;
9542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9546 long arg5
= (long) 0 ;
9547 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9549 wxPyVListBox
*result
;
9552 bool temp6
= False
;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9556 PyObject
* obj3
= 0 ;
9557 PyObject
* obj4
= 0 ;
9558 PyObject
* obj5
= 0 ;
9560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9567 arg2
= (int) SWIG_AsInt(obj1
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9583 arg5
= (long) SWIG_AsLong(obj4
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9588 arg6
= wxString_in_helper(obj5
);
9589 if (arg6
== NULL
) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9615 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxPyVListBox
*result
;
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (wxPyVListBox
*)new wxPyVListBox();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9637 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9640 PyObject
*arg2
= (PyObject
*) 0 ;
9641 PyObject
*arg3
= (PyObject
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9646 (char *) "self",(char *) "self",(char *) "_class", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9671 wxWindow
*arg2
= (wxWindow
*) 0 ;
9672 int arg3
= (int) wxID_ANY
;
9673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9677 long arg6
= (long) 0 ;
9678 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9683 bool temp7
= False
;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9687 PyObject
* obj3
= 0 ;
9688 PyObject
* obj4
= 0 ;
9689 PyObject
* obj5
= 0 ;
9690 PyObject
* obj6
= 0 ;
9692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg3
= (int) SWIG_AsInt(obj2
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9717 arg6
= (long) SWIG_AsLong(obj5
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9722 arg7
= wxString_in_helper(obj6
);
9723 if (arg7
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9751 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9777 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9811 (char *) "self", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_FromInt((int)result
);
9831 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9839 (char *) "self",(char *) "item", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9845 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9871 (char *) "self",(char *) "item", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9877 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9895 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9921 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9924 unsigned long *arg2
= 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "cookie", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9939 PyErr_SetString(PyExc_TypeError
,"null reference");
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_FromInt((int)result
);
9956 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9959 unsigned long *arg2
= 0 ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9964 (char *) "self",(char *) "cookie", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9974 PyErr_SetString(PyExc_TypeError
,"null reference");
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_FromInt((int)result
);
9991 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "self", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 wxPoint
* resultptr
;
10012 resultptr
= new wxPoint((wxPoint
&) result
);
10013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10021 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10037 result
= (wxColour
*) &_result_ref
;
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10050 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 PyObject
* obj1
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "self",(char *) "count", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10063 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetItemCount(arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 Py_INCREF(Py_None
); resultobj
= Py_None
;
10104 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "selection", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10117 arg2
= (int) SWIG_AsInt(obj1
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 (arg1
)->SetSelection(arg2
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10137 bool arg3
= (bool) True
;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self",(char *) "item",(char *) "select", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 arg3
= (bool) SWIG_AsBool(obj2
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10171 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 PyObject
* obj2
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "from",(char *) "to", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10189 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10207 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self",(char *) "item", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 (arg1
)->Toggle(arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10236 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (bool)(arg1
)->SelectAll();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10264 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)(arg1
)->DeselectAll();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10295 wxPoint
*arg2
= 0 ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self",(char *) "pt", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 Py_INCREF(Py_None
); resultobj
= Py_None
;
10324 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 PyObject
* obj2
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self",(char *) "x",(char *) "y", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 arg2
= (int) SWIG_AsInt(obj1
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10341 arg3
= (int) SWIG_AsInt(obj2
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 (arg1
)->SetMargins(arg2
,arg3
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10360 wxColour
*arg2
= 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "col", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10389 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10392 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10394 return Py_BuildValue((char *)"");
10396 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxWindow
*arg1
= (wxWindow
*) 0 ;
10399 int arg2
= (int) wxID_ANY
;
10400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10404 long arg5
= (long) 0 ;
10405 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10407 wxPyHtmlListBox
*result
;
10410 bool temp6
= False
;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 PyObject
* obj2
= 0 ;
10414 PyObject
* obj3
= 0 ;
10415 PyObject
* obj4
= 0 ;
10416 PyObject
* obj5
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 arg2
= (int) SWIG_AsInt(obj1
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10431 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10437 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10441 arg5
= (long) SWIG_AsLong(obj4
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10446 arg6
= wxString_in_helper(obj5
);
10447 if (arg6
== NULL
) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10473 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxPyHtmlListBox
*result
;
10476 char *kwnames
[] = {
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10495 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10498 PyObject
*arg2
= (PyObject
*) 0 ;
10499 PyObject
*arg3
= (PyObject
*) 0 ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 PyObject
* obj2
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "self",(char *) "_class", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10526 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10529 wxWindow
*arg2
= (wxWindow
*) 0 ;
10530 int arg3
= (int) wxID_ANY
;
10531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10535 long arg6
= (long) 0 ;
10536 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10541 bool temp7
= False
;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 PyObject
* obj2
= 0 ;
10545 PyObject
* obj3
= 0 ;
10546 PyObject
* obj4
= 0 ;
10547 PyObject
* obj5
= 0 ;
10548 PyObject
* obj6
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 arg3
= (int) SWIG_AsInt(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10575 arg6
= (long) SWIG_AsLong(obj5
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10580 arg7
= wxString_in_helper(obj6
);
10581 if (arg7
== NULL
) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10609 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->RefreshAll();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 Py_INCREF(Py_None
); resultobj
= Py_None
;
10634 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "count", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->SetItemCount(arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10666 wxFileSystem
*result
;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10679 result
= (wxFileSystem
*) &_result_ref
;
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10692 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10695 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10697 return Py_BuildValue((char *)"");
10699 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxTaskBarIcon
*result
;
10702 char *kwnames
[] = {
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10721 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 wxTaskBarIcon_Destroy(arg1
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10774 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10776 return Py_BuildValue((char *)"");
10778 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10781 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10782 wxTaskBarIconEvent
*result
;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "evtType",(char *) "tbIcon", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10790 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10808 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10811 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10813 return Py_BuildValue((char *)"");
10815 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10816 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10821 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10826 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10828 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10835 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10836 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10841 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10846 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10848 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10855 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10856 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10861 static PyObject
*_wrap_DirDialogNameStr_get() {
10866 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10868 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10875 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10876 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10881 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10886 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10888 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10895 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10896 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10901 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10906 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10908 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10915 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10916 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10921 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10926 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10928 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10935 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxColourData
*result
;
10938 char *kwnames
[] = {
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxColourData
*)new wxColourData();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10957 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxColourData
*arg1
= (wxColourData
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxColourData
*arg1
= (wxColourData
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)(arg1
)->GetChooseFull();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxColourData
*arg1
= (wxColourData
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (arg1
)->GetColour();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 wxColour
* resultptr
;
11031 resultptr
= new wxColour((wxColour
&) result
);
11032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11040 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxColourData
*arg1
= (wxColourData
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "i", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11054 arg2
= (int) SWIG_AsInt(obj1
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (arg1
)->GetCustomColour(arg2
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 wxColour
* resultptr
;
11065 resultptr
= new wxColour((wxColour
&) result
);
11066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11074 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxColourData
*arg1
= (wxColourData
*) 0 ;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "flag", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 arg2
= (int) SWIG_AsInt(obj1
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 (arg1
)->SetChooseFull(arg2
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 Py_INCREF(Py_None
); resultobj
= Py_None
;
11103 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxColourData
*arg1
= (wxColourData
*) 0 ;
11106 wxColour
*arg2
= 0 ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "colour", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->SetColour((wxColour
const &)*arg2
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxColourData
*arg1
= (wxColourData
*) 0 ;
11139 wxColour
*arg3
= 0 ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "i",(char *) "colour", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 arg2
= (int) SWIG_AsInt(obj1
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11174 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11176 return Py_BuildValue((char *)"");
11178 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxWindow
*arg1
= (wxWindow
*) 0 ;
11181 wxColourData
*arg2
= (wxColourData
*) NULL
;
11182 wxColourDialog
*result
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "parent",(char *) "data", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11210 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11213 wxColourData
*result
;
11214 PyObject
* obj0
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11226 result
= (wxColourData
*) &_result_ref
;
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11239 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11242 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11244 return Py_BuildValue((char *)"");
11246 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxWindow
*arg1
= (wxWindow
*) 0 ;
11249 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11250 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11251 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11252 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11253 long arg4
= (long) 0 ;
11254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11258 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11260 wxDirDialog
*result
;
11261 bool temp2
= False
;
11262 bool temp3
= False
;
11265 bool temp7
= False
;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 PyObject
* obj2
= 0 ;
11269 PyObject
* obj3
= 0 ;
11270 PyObject
* obj4
= 0 ;
11271 PyObject
* obj5
= 0 ;
11272 PyObject
* obj6
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11282 arg2
= wxString_in_helper(obj1
);
11283 if (arg2
== NULL
) SWIG_fail
;
11289 arg3
= wxString_in_helper(obj2
);
11290 if (arg3
== NULL
) SWIG_fail
;
11295 arg4
= (long) SWIG_AsLong(obj3
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11312 arg7
= wxString_in_helper(obj6
);
11313 if (arg7
== NULL
) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11355 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (arg1
)->GetPath();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11387 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (arg1
)->GetMessage();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11419 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (long)(arg1
)->GetStyle();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_FromLong((long)result
);
11445 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11448 wxString
*arg2
= 0 ;
11449 bool temp2
= False
;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "message", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 arg2
= wxString_in_helper(obj1
);
11461 if (arg2
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 (arg1
)->SetMessage((wxString
const &)*arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11489 wxString
*arg2
= 0 ;
11490 bool temp2
= False
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "path", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 arg2
= wxString_in_helper(obj1
);
11502 if (arg2
== NULL
) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetPath((wxString
const &)*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11530 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11532 return Py_BuildValue((char *)"");
11534 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxWindow
*arg1
= (wxWindow
*) 0 ;
11537 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11538 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11543 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11544 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11545 long arg6
= (long) 0 ;
11546 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11547 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11548 wxFileDialog
*result
;
11549 bool temp2
= False
;
11550 bool temp3
= False
;
11551 bool temp4
= False
;
11552 bool temp5
= False
;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 PyObject
* obj2
= 0 ;
11557 PyObject
* obj3
= 0 ;
11558 PyObject
* obj4
= 0 ;
11559 PyObject
* obj5
= 0 ;
11560 PyObject
* obj6
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11577 arg3
= wxString_in_helper(obj2
);
11578 if (arg3
== NULL
) SWIG_fail
;
11584 arg4
= wxString_in_helper(obj3
);
11585 if (arg4
== NULL
) SWIG_fail
;
11591 arg5
= wxString_in_helper(obj4
);
11592 if (arg5
== NULL
) SWIG_fail
;
11597 arg6
= (long) SWIG_AsLong(obj5
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11603 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11652 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11655 wxString
*arg2
= 0 ;
11656 bool temp2
= False
;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self",(char *) "message", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11667 arg2
= wxString_in_helper(obj1
);
11668 if (arg2
== NULL
) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->SetMessage((wxString
const &)*arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11693 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11696 wxString
*arg2
= 0 ;
11697 bool temp2
= False
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self",(char *) "path", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 arg2
= wxString_in_helper(obj1
);
11709 if (arg2
== NULL
) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 (arg1
)->SetPath((wxString
const &)*arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 Py_INCREF(Py_None
); resultobj
= Py_None
;
11734 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11737 wxString
*arg2
= 0 ;
11738 bool temp2
= False
;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "dir", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11775 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11778 wxString
*arg2
= 0 ;
11779 bool temp2
= False
;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self",(char *) "name", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 arg2
= wxString_in_helper(obj1
);
11791 if (arg2
== NULL
) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->SetFilename((wxString
const &)*arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11819 wxString
*arg2
= 0 ;
11820 bool temp2
= False
;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "wildCard", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 arg2
= wxString_in_helper(obj1
);
11832 if (arg2
== NULL
) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "style", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 arg2
= (long) SWIG_AsLong(obj1
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 (arg1
)->SetStyle(arg2
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 Py_INCREF(Py_None
); resultobj
= Py_None
;
11886 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "filterIndex", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11899 arg2
= (int) SWIG_AsInt(obj1
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->SetFilterIndex(arg2
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11947 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11979 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12011 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12043 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12075 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_FromLong((long)result
);
12101 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_FromInt((int)result
);
12127 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
;
12153 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= result
;
12179 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12182 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12184 return Py_BuildValue((char *)"");
12186 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxWindow
*arg1
= (wxWindow
*) 0 ;
12189 wxString
*arg2
= 0 ;
12190 wxString
*arg3
= 0 ;
12191 int arg4
= (int) 0 ;
12192 wxString
*arg5
= (wxString
*) 0 ;
12193 long arg6
= (long) wxCHOICEDLG_STYLE
;
12194 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12195 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12196 wxMultiChoiceDialog
*result
;
12197 bool temp2
= False
;
12198 bool temp3
= False
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 PyObject
* obj2
= 0 ;
12203 PyObject
* obj3
= 0 ;
12204 PyObject
* obj4
= 0 ;
12205 PyObject
* obj5
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 arg2
= wxString_in_helper(obj1
);
12215 if (arg2
== NULL
) SWIG_fail
;
12219 arg3
= wxString_in_helper(obj2
);
12220 if (arg3
== NULL
) SWIG_fail
;
12225 arg4
= PyList_Size(obj3
);
12226 arg5
= wxString_LIST_helper(obj3
);
12227 if (arg5
== NULL
) SWIG_fail
;
12231 arg6
= (long) SWIG_AsLong(obj4
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12237 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12257 if (arg5
) delete [] arg5
;
12270 if (arg5
) delete [] arg5
;
12276 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12279 wxArrayInt
*arg2
= 0 ;
12280 bool temp2
= False
;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "selections", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12291 if (! PySequence_Check(obj1
)) {
12292 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12295 arg2
= new wxArrayInt
;
12297 int i
, len
=PySequence_Length(obj1
);
12298 for (i
=0; i
<len
; i
++) {
12299 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12300 PyObject
* number
= PyNumber_Int(item
);
12301 arg2
->Add(PyInt_AS_LONG(number
));
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 Py_INCREF(Py_None
); resultobj
= Py_None
;
12315 if (temp2
) delete arg2
;
12320 if (temp2
) delete arg2
;
12326 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= result
;
12352 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12355 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12357 return Py_BuildValue((char *)"");
12359 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxWindow
*arg1
= (wxWindow
*) 0 ;
12362 wxString
*arg2
= 0 ;
12363 wxString
*arg3
= 0 ;
12365 wxString
*arg5
= (wxString
*) 0 ;
12366 long arg6
= (long) wxCHOICEDLG_STYLE
;
12367 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12368 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12369 wxSingleChoiceDialog
*result
;
12370 bool temp2
= False
;
12371 bool temp3
= False
;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 PyObject
* obj2
= 0 ;
12376 PyObject
* obj3
= 0 ;
12377 PyObject
* obj4
= 0 ;
12378 PyObject
* obj5
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 arg2
= wxString_in_helper(obj1
);
12388 if (arg2
== NULL
) SWIG_fail
;
12392 arg3
= wxString_in_helper(obj2
);
12393 if (arg3
== NULL
) SWIG_fail
;
12397 arg4
= PyList_Size(obj3
);
12398 arg5
= wxString_LIST_helper(obj3
);
12399 if (arg5
== NULL
) SWIG_fail
;
12402 arg6
= (long) SWIG_AsLong(obj4
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12408 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12428 if (arg5
) delete [] arg5
;
12441 if (arg5
) delete [] arg5
;
12447 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
;
12449 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (int)(arg1
)->GetSelection();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_FromInt((int)result
);
12473 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (arg1
)->GetStringSelection();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12505 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self",(char *) "sel", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 arg2
= (int) SWIG_AsInt(obj1
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->SetSelection(arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12537 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12539 return Py_BuildValue((char *)"");
12541 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxWindow
*arg1
= (wxWindow
*) 0 ;
12544 wxString
*arg2
= 0 ;
12545 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12546 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12549 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12550 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12551 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12552 wxTextEntryDialog
*result
;
12553 bool temp2
= False
;
12554 bool temp3
= False
;
12555 bool temp4
= False
;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 PyObject
* obj3
= 0 ;
12561 PyObject
* obj4
= 0 ;
12562 PyObject
* obj5
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= wxString_in_helper(obj1
);
12572 if (arg2
== NULL
) SWIG_fail
;
12577 arg3
= wxString_in_helper(obj2
);
12578 if (arg3
== NULL
) SWIG_fail
;
12584 arg4
= wxString_in_helper(obj3
);
12585 if (arg4
== NULL
) SWIG_fail
;
12590 arg5
= (long) SWIG_AsLong(obj4
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12596 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12637 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (arg1
)->GetValue();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12669 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12672 wxString
*arg2
= 0 ;
12673 bool temp2
= False
;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self",(char *) "value", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 arg2
= wxString_in_helper(obj1
);
12685 if (arg2
== NULL
) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 (arg1
)->SetValue((wxString
const &)*arg2
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxFontData
*result
;
12720 char *kwnames
[] = {
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxFontData
*)new wxFontData();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12739 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxFontData
*arg1
= (wxFontData
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFontData
*arg1
= (wxFontData
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "enable", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 arg2
= (bool) SWIG_AsBool(obj1
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 (arg1
)->EnableEffects(arg2
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12786 Py_INCREF(Py_None
); resultobj
= Py_None
;
12793 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxFontData
*arg1
= (wxFontData
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (bool)(arg1
)->GetAllowSymbols();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12821 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxFontData
*arg1
= (wxFontData
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (arg1
)->GetColour();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 wxColour
* resultptr
;
12842 resultptr
= new wxColour((wxColour
&) result
);
12843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12851 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxFontData
*arg1
= (wxFontData
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (arg1
)->GetChosenFont();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 wxFont
* resultptr
;
12872 resultptr
= new wxFont((wxFont
&) result
);
12873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12881 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxFontData
*arg1
= (wxFontData
*) 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (bool)(arg1
)->GetEnableEffects();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxFontData
*arg1
= (wxFontData
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (arg1
)->GetInitialFont();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12929 wxFont
* resultptr
;
12930 resultptr
= new wxFont((wxFont
&) result
);
12931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12939 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxFontData
*arg1
= (wxFontData
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->GetShowHelp();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxFontData
*arg1
= (wxFontData
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self",(char *) "allowSymbols", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg2
= (bool) SWIG_AsBool(obj1
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 (arg1
)->SetAllowSymbols(arg2
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12996 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxFontData
*arg1
= (wxFontData
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "font", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13012 if (arg2
== NULL
) {
13013 PyErr_SetString(PyExc_TypeError
,"null reference");
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxFontData
*arg1
= (wxFontData
*) 0 ;
13033 wxColour
*arg2
= 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self",(char *) "colour", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetColour((wxColour
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13062 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxFontData
*arg1
= (wxFontData
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self",(char *) "font", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13078 if (arg2
== NULL
) {
13079 PyErr_SetString(PyExc_TypeError
,"null reference");
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 Py_INCREF(Py_None
); resultobj
= Py_None
;
13096 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxFontData
*arg1
= (wxFontData
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 PyObject
* obj2
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "min",(char *) "max", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13111 arg2
= (int) SWIG_AsInt(obj1
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13113 arg3
= (int) SWIG_AsInt(obj2
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->SetRange(arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxFontData
*arg1
= (wxFontData
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "showHelp", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 arg2
= (bool) SWIG_AsBool(obj1
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 (arg1
)->SetShowHelp(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 Py_INCREF(Py_None
); resultobj
= Py_None
;
13158 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13161 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13163 return Py_BuildValue((char *)"");
13165 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxWindow
*arg1
= (wxWindow
*) 0 ;
13168 wxFontData
*arg2
= 0 ;
13169 wxFontDialog
*result
;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "parent",(char *) "data", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13182 if (arg2
== NULL
) {
13183 PyErr_SetString(PyExc_TypeError
,"null reference");
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13200 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13203 wxFontData
*result
;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13216 result
= (wxFontData
*) &_result_ref
;
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13229 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13232 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13234 return Py_BuildValue((char *)"");
13236 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxWindow
*arg1
= (wxWindow
*) 0 ;
13239 wxString
*arg2
= 0 ;
13240 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13242 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13243 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13244 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13245 wxMessageDialog
*result
;
13246 bool temp2
= False
;
13247 bool temp3
= False
;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 PyObject
* obj2
= 0 ;
13252 PyObject
* obj3
= 0 ;
13253 PyObject
* obj4
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 arg2
= wxString_in_helper(obj1
);
13263 if (arg2
== NULL
) SWIG_fail
;
13268 arg3
= wxString_in_helper(obj2
);
13269 if (arg3
== NULL
) SWIG_fail
;
13274 arg4
= (long) SWIG_AsLong(obj3
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13280 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13313 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13316 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13318 return Py_BuildValue((char *)"");
13320 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxString
*arg1
= 0 ;
13323 wxString
*arg2
= 0 ;
13324 int arg3
= (int) 100 ;
13325 wxWindow
*arg4
= (wxWindow
*) NULL
;
13326 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13327 wxProgressDialog
*result
;
13328 bool temp1
= False
;
13329 bool temp2
= False
;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 PyObject
* obj2
= 0 ;
13333 PyObject
* obj3
= 0 ;
13334 PyObject
* obj4
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13341 arg1
= wxString_in_helper(obj0
);
13342 if (arg1
== NULL
) SWIG_fail
;
13346 arg2
= wxString_in_helper(obj1
);
13347 if (arg2
== NULL
) SWIG_fail
;
13351 arg3
= (int) SWIG_AsInt(obj2
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 arg5
= (int) SWIG_AsInt(obj4
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13392 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13399 bool temp3
= False
;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 PyObject
* obj2
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 arg2
= (int) SWIG_AsInt(obj1
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 arg3
= wxString_in_helper(obj2
);
13415 if (arg3
== NULL
) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13443 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 Py_INCREF(Py_None
); resultobj
= Py_None
;
13468 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13473 return Py_BuildValue((char *)"");
13475 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13478 int arg2
= (int) 0 ;
13479 wxFindDialogEvent
*result
;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "commandType",(char *) "id", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 arg2
= (int) SWIG_AsInt(obj1
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13509 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)(arg1
)->GetFlags();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_FromInt((int)result
);
13535 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 wxString
const &_result_ref
= (arg1
)->GetFindString();
13551 result
= (wxString
*) &_result_ref
;
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13570 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13586 result
= (wxString
*) &_result_ref
;
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13596 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13605 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13608 wxFindReplaceDialog
*result
;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13631 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "flags", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 arg2
= (int) SWIG_AsInt(obj1
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 (arg1
)->SetFlags(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13660 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13663 wxString
*arg2
= 0 ;
13664 bool temp2
= False
;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self",(char *) "str", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 arg2
= wxString_in_helper(obj1
);
13676 if (arg2
== NULL
) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 (arg1
)->SetFindString((wxString
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 Py_INCREF(Py_None
); resultobj
= Py_None
;
13701 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13704 wxString
*arg2
= 0 ;
13705 bool temp2
= False
;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "str", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 Py_INCREF(Py_None
); resultobj
= Py_None
;
13742 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13747 return Py_BuildValue((char *)"");
13749 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 int arg1
= (int) 0 ;
13752 wxFindReplaceData
*result
;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "flags", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13760 arg1
= (int) SWIG_AsInt(obj0
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13777 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 wxString
const &_result_ref
= (arg1
)->GetFindString();
13818 result
= (wxString
*) &_result_ref
;
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13828 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13837 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13841 PyObject
* obj0
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13853 result
= (wxString
*) &_result_ref
;
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13863 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13872 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)(arg1
)->GetFlags();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_FromInt((int)result
);
13898 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "flags", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 arg2
= (int) SWIG_AsInt(obj1
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 (arg1
)->SetFlags(arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13930 wxString
*arg2
= 0 ;
13931 bool temp2
= False
;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self",(char *) "str", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 arg2
= wxString_in_helper(obj1
);
13943 if (arg2
== NULL
) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetFindString((wxString
const &)*arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 Py_INCREF(Py_None
); resultobj
= Py_None
;
13968 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13971 wxString
*arg2
= 0 ;
13972 bool temp2
= False
;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "str", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 arg2
= wxString_in_helper(obj1
);
13984 if (arg2
== NULL
) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14012 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14014 return Py_BuildValue((char *)"");
14016 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxWindow
*arg1
= (wxWindow
*) 0 ;
14019 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14020 wxString
*arg3
= 0 ;
14021 int arg4
= (int) 0 ;
14022 wxFindReplaceDialog
*result
;
14023 bool temp3
= False
;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 PyObject
* obj2
= 0 ;
14027 PyObject
* obj3
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg3
= wxString_in_helper(obj2
);
14039 if (arg3
== NULL
) SWIG_fail
;
14043 arg4
= (int) SWIG_AsInt(obj3
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14068 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxFindReplaceDialog
*result
;
14071 char *kwnames
[] = {
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14090 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14093 wxWindow
*arg2
= (wxWindow
*) 0 ;
14094 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14095 wxString
*arg4
= 0 ;
14096 int arg5
= (int) 0 ;
14098 bool temp4
= False
;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 PyObject
* obj2
= 0 ;
14102 PyObject
* obj3
= 0 ;
14103 PyObject
* obj4
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14116 arg4
= wxString_in_helper(obj3
);
14117 if (arg4
== NULL
) SWIG_fail
;
14121 arg5
= (int) SWIG_AsInt(obj4
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14148 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14151 wxFindReplaceData
*result
;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14174 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14177 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "data", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 (arg1
)->SetData(arg2
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14206 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14208 return Py_BuildValue((char *)"");
14210 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxWindow
*arg1
= (wxWindow
*) 0 ;
14214 wxString
*arg3
= 0 ;
14215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14219 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14220 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14221 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14222 wxMDIParentFrame
*result
;
14223 bool temp3
= False
;
14226 bool temp7
= False
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 PyObject
* obj3
= 0 ;
14231 PyObject
* obj4
= 0 ;
14232 PyObject
* obj5
= 0 ;
14233 PyObject
* obj6
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 arg2
= (int const) SWIG_AsInt(obj1
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 arg3
= wxString_in_helper(obj2
);
14245 if (arg3
== NULL
) SWIG_fail
;
14251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14261 arg6
= (long) SWIG_AsLong(obj5
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14266 arg7
= wxString_in_helper(obj6
);
14267 if (arg7
== NULL
) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14301 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxMDIParentFrame
*result
;
14304 char *kwnames
[] = {
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14323 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14326 wxWindow
*arg2
= (wxWindow
*) 0 ;
14328 wxString
*arg4
= 0 ;
14329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14333 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14334 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14337 bool temp4
= False
;
14340 bool temp8
= False
;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 PyObject
* obj2
= 0 ;
14344 PyObject
* obj3
= 0 ;
14345 PyObject
* obj4
= 0 ;
14346 PyObject
* obj5
= 0 ;
14347 PyObject
* obj6
= 0 ;
14348 PyObject
* obj7
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 arg3
= (int const) SWIG_AsInt(obj2
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 arg4
= wxString_in_helper(obj3
);
14362 if (arg4
== NULL
) SWIG_fail
;
14368 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14374 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14378 arg7
= (long) SWIG_AsLong(obj6
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14383 arg8
= wxString_in_helper(obj7
);
14384 if (arg8
== NULL
) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14420 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->ActivateNext();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 (arg1
)->ActivatePrevious();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 Py_INCREF(Py_None
); resultobj
= Py_None
;
14470 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 (arg1
)->ArrangeIcons();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14523 wxMDIChildFrame
*result
;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= wxPyMake_wxObject(result
);
14548 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14551 wxMDIClientWindow
*result
;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= wxPyMake_wxObject(result
);
14576 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (wxWindow
*)(arg1
)->GetToolBar();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= wxPyMake_wxObject(result
);
14604 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14632 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14634 return Py_BuildValue((char *)"");
14636 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14640 wxString
*arg3
= 0 ;
14641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14645 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14646 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14648 wxMDIChildFrame
*result
;
14649 bool temp3
= False
;
14652 bool temp7
= False
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 PyObject
* obj5
= 0 ;
14659 PyObject
* obj6
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 arg2
= (int const) SWIG_AsInt(obj1
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 arg3
= wxString_in_helper(obj2
);
14671 if (arg3
== NULL
) SWIG_fail
;
14677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14687 arg6
= (long) SWIG_AsLong(obj5
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14692 arg7
= wxString_in_helper(obj6
);
14693 if (arg7
== NULL
) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= wxPyMake_wxObject(result
);
14729 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxMDIChildFrame
*result
;
14732 char *kwnames
[] = {
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= wxPyMake_wxObject(result
);
14753 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14756 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14758 wxString
*arg4
= 0 ;
14759 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14760 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14761 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14762 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14763 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14764 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14767 bool temp4
= False
;
14770 bool temp8
= False
;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 PyObject
* obj3
= 0 ;
14775 PyObject
* obj4
= 0 ;
14776 PyObject
* obj5
= 0 ;
14777 PyObject
* obj6
= 0 ;
14778 PyObject
* obj7
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg3
= (int const) SWIG_AsInt(obj2
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 arg4
= wxString_in_helper(obj3
);
14792 if (arg4
== NULL
) SWIG_fail
;
14798 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14804 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14808 arg7
= (long) SWIG_AsLong(obj6
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14813 arg8
= wxString_in_helper(obj7
);
14814 if (arg8
== NULL
) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "self", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 (arg1
)->Activate();
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 Py_INCREF(Py_None
); resultobj
= Py_None
;
14875 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "maximize", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 arg2
= (bool) SWIG_AsBool(obj1
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->Maximize(arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 Py_INCREF(Py_None
); resultobj
= Py_None
;
14904 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 Py_INCREF(Py_None
); resultobj
= Py_None
;
14929 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14932 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14934 return Py_BuildValue((char *)"");
14936 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14939 long arg2
= (long) 0 ;
14940 wxMDIClientWindow
*result
;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "parent",(char *) "style", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 arg2
= (long) SWIG_AsLong(obj1
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= wxPyMake_wxObject(result
);
14970 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxMDIClientWindow
*result
;
14973 char *kwnames
[] = {
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= wxPyMake_wxObject(result
);
14994 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
14997 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14998 long arg3
= (long) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 PyObject
* obj2
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self",(char *) "parent",(char *) "style", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 arg3
= (long) SWIG_AsLong(obj2
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15032 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15035 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15037 return Py_BuildValue((char *)"");
15039 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxWindow
*arg1
= (wxWindow
*) 0 ;
15043 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15044 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15045 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15046 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15047 long arg5
= (long) 0 ;
15048 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15049 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15050 wxPyWindow
*result
;
15053 bool temp6
= False
;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 PyObject
* obj3
= 0 ;
15058 PyObject
* obj4
= 0 ;
15059 PyObject
* obj5
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 arg2
= (int const) SWIG_AsInt(obj1
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15082 arg5
= (long) SWIG_AsLong(obj4
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15087 arg6
= wxString_in_helper(obj5
);
15088 if (arg6
== NULL
) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15114 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxPyWindow
*result
;
15117 char *kwnames
[] = {
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (wxPyWindow
*)new wxPyWindow();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15136 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15139 PyObject
*arg2
= (PyObject
*) 0 ;
15140 PyObject
*arg3
= (PyObject
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 PyObject
* obj2
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "self",(char *) "_class", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 Py_INCREF(Py_None
); resultobj
= Py_None
;
15167 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 PyObject
* obj2
= 0 ;
15177 PyObject
* obj3
= 0 ;
15178 PyObject
* obj4
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 arg2
= (int) SWIG_AsInt(obj1
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15188 arg3
= (int) SWIG_AsInt(obj2
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15190 arg4
= (int) SWIG_AsInt(obj3
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15192 arg5
= (int) SWIG_AsInt(obj4
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15215 int arg6
= (int) wxSIZE_AUTO
;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 PyObject
* obj2
= 0 ;
15219 PyObject
* obj3
= 0 ;
15220 PyObject
* obj4
= 0 ;
15221 PyObject
* obj5
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 arg2
= (int) SWIG_AsInt(obj1
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15231 arg3
= (int) SWIG_AsInt(obj2
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15233 arg4
= (int) SWIG_AsInt(obj3
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15235 arg5
= (int) SWIG_AsInt(obj4
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 arg6
= (int) SWIG_AsInt(obj5
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 PyObject
* obj2
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "width",(char *) "height", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 arg2
= (int) SWIG_AsInt(obj1
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15272 arg3
= (int) SWIG_AsInt(obj2
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 PyObject
* obj2
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "x",(char *) "y", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 arg2
= (int) SWIG_AsInt(obj1
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15305 arg3
= (int) SWIG_AsInt(obj2
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15324 int *arg2
= (int *) 0 ;
15325 int *arg3
= (int *) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15347 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15348 resultobj
= t_output_helper(resultobj
,o
);
15351 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15352 resultobj
= t_output_helper(resultobj
,o
);
15360 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15363 int *arg2
= (int *) 0 ;
15364 int *arg3
= (int *) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 Py_INCREF(Py_None
); resultobj
= Py_None
;
15386 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15387 resultobj
= t_output_helper(resultobj
,o
);
15390 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15391 resultobj
= t_output_helper(resultobj
,o
);
15399 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15402 int *arg2
= (int *) 0 ;
15403 int *arg3
= (int *) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15425 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15426 resultobj
= t_output_helper(resultobj
,o
);
15429 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15430 resultobj
= t_output_helper(resultobj
,o
);
15438 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 wxSize
* resultptr
;
15459 resultptr
= new wxSize((wxSize
&) result
);
15460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15468 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 wxSize
* resultptr
;
15489 resultptr
= new wxSize((wxSize
&) result
);
15490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15498 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 (arg1
)->base_InitDialog();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 Py_INCREF(Py_None
); resultobj
= Py_None
;
15523 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (bool)(arg1
)->base_TransferDataToWindow();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15551 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (bool)(arg1
)->base_Validate();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15607 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15635 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15683 wxSize
* resultptr
;
15684 resultptr
= new wxSize((wxSize
&) result
);
15685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15693 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15696 wxWindow
*arg2
= (wxWindow
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "child", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 (arg1
)->base_AddChild(arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15722 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15725 wxWindow
*arg2
= (wxWindow
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self",(char *) "child", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->base_RemoveChild(arg2
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 Py_INCREF(Py_None
); resultobj
= Py_None
;
15751 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (bool)(arg1
)->base_ShouldInheritColours();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15779 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15782 wxColour
*arg2
= 0 ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "c", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 Py_INCREF(Py_None
); resultobj
= Py_None
;
15811 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15814 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15816 return Py_BuildValue((char *)"");
15818 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxWindow
*arg1
= (wxWindow
*) 0 ;
15822 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15823 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15824 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15825 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15826 long arg5
= (long) 0 ;
15827 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15828 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15832 bool temp6
= False
;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 PyObject
* obj2
= 0 ;
15836 PyObject
* obj3
= 0 ;
15837 PyObject
* obj4
= 0 ;
15838 PyObject
* obj5
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 arg2
= (int const) SWIG_AsInt(obj1
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15861 arg5
= (long) SWIG_AsLong(obj4
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15866 arg6
= wxString_in_helper(obj5
);
15867 if (arg6
== NULL
) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15893 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15896 char *kwnames
[] = {
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (wxPyPanel
*)new wxPyPanel();
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15915 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15918 PyObject
*arg2
= (PyObject
*) 0 ;
15919 PyObject
*arg3
= (PyObject
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 PyObject
* obj2
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self",(char *) "self",(char *) "_class", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 Py_INCREF(Py_None
); resultobj
= Py_None
;
15946 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 PyObject
* obj2
= 0 ;
15956 PyObject
* obj3
= 0 ;
15957 PyObject
* obj4
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 arg2
= (int) SWIG_AsInt(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15967 arg3
= (int) SWIG_AsInt(obj2
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15969 arg4
= (int) SWIG_AsInt(obj3
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15971 arg5
= (int) SWIG_AsInt(obj4
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15994 int arg6
= (int) wxSIZE_AUTO
;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 PyObject
* obj2
= 0 ;
15998 PyObject
* obj3
= 0 ;
15999 PyObject
* obj4
= 0 ;
16000 PyObject
* obj5
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 arg2
= (int) SWIG_AsInt(obj1
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16010 arg3
= (int) SWIG_AsInt(obj2
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16012 arg4
= (int) SWIG_AsInt(obj3
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16014 arg5
= (int) SWIG_AsInt(obj4
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 arg6
= (int) SWIG_AsInt(obj5
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 Py_INCREF(Py_None
); resultobj
= Py_None
;
16034 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 PyObject
* obj2
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self",(char *) "width",(char *) "height", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 arg2
= (int) SWIG_AsInt(obj1
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16051 arg3
= (int) SWIG_AsInt(obj2
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 Py_INCREF(Py_None
); resultobj
= Py_None
;
16067 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 PyObject
* obj2
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "x",(char *) "y", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 arg2
= (int) SWIG_AsInt(obj1
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16084 arg3
= (int) SWIG_AsInt(obj2
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16103 int *arg2
= (int *) 0 ;
16104 int *arg3
= (int *) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16127 resultobj
= t_output_helper(resultobj
,o
);
16130 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16131 resultobj
= t_output_helper(resultobj
,o
);
16139 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16142 int *arg2
= (int *) 0 ;
16143 int *arg3
= (int *) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16166 resultobj
= t_output_helper(resultobj
,o
);
16169 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16170 resultobj
= t_output_helper(resultobj
,o
);
16178 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16181 int *arg2
= (int *) 0 ;
16182 int *arg3
= (int *) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16204 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16205 resultobj
= t_output_helper(resultobj
,o
);
16208 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16209 resultobj
= t_output_helper(resultobj
,o
);
16217 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16221 PyObject
* obj0
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 wxSize
* resultptr
;
16238 resultptr
= new wxSize((wxSize
&) result
);
16239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16247 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 wxSize
* resultptr
;
16268 resultptr
= new wxSize((wxSize
&) result
);
16269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16277 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->base_InitDialog();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (bool)(arg1
)->base_TransferDataToWindow();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16330 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16358 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 result
= (bool)(arg1
)->base_Validate();
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16414 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16442 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 wxSize
* resultptr
;
16463 resultptr
= new wxSize((wxSize
&) result
);
16464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16472 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16475 wxWindow
*arg2
= (wxWindow
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self",(char *) "child", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 (arg1
)->base_AddChild(arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16504 wxWindow
*arg2
= (wxWindow
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "child", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 (arg1
)->base_RemoveChild(arg2
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (bool)(arg1
)->base_ShouldInheritColours();
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16558 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16561 wxColour
*arg2
= 0 ;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self",(char *) "c", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16593 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16595 return Py_BuildValue((char *)"");
16597 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxWindow
*arg1
= (wxWindow
*) 0 ;
16601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16605 long arg5
= (long) 0 ;
16606 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16608 wxPyScrolledWindow
*result
;
16611 bool temp6
= False
;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 PyObject
* obj3
= 0 ;
16616 PyObject
* obj4
= 0 ;
16617 PyObject
* obj5
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16625 arg2
= (int const) SWIG_AsInt(obj1
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16636 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16640 arg5
= (long) SWIG_AsLong(obj4
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 arg6
= wxString_in_helper(obj5
);
16646 if (arg6
== NULL
) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16672 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxPyScrolledWindow
*result
;
16675 char *kwnames
[] = {
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16694 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16697 PyObject
*arg2
= (PyObject
*) 0 ;
16698 PyObject
*arg3
= (PyObject
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 PyObject
* obj2
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self",(char *) "self",(char *) "_class", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 Py_INCREF(Py_None
); resultobj
= Py_None
;
16725 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 PyObject
* obj3
= 0 ;
16736 PyObject
* obj4
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 arg2
= (int) SWIG_AsInt(obj1
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16746 arg3
= (int) SWIG_AsInt(obj2
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16748 arg4
= (int) SWIG_AsInt(obj3
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16750 arg5
= (int) SWIG_AsInt(obj4
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16773 int arg6
= (int) wxSIZE_AUTO
;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 PyObject
* obj4
= 0 ;
16779 PyObject
* obj5
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16787 arg2
= (int) SWIG_AsInt(obj1
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16789 arg3
= (int) SWIG_AsInt(obj2
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16791 arg4
= (int) SWIG_AsInt(obj3
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16793 arg5
= (int) SWIG_AsInt(obj4
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 arg6
= (int) SWIG_AsInt(obj5
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 Py_INCREF(Py_None
); resultobj
= Py_None
;
16813 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 PyObject
* obj2
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "width",(char *) "height", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 arg2
= (int) SWIG_AsInt(obj1
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16830 arg3
= (int) SWIG_AsInt(obj2
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 PyObject
* obj2
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self",(char *) "x",(char *) "y", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 arg2
= (int) SWIG_AsInt(obj1
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16863 arg3
= (int) SWIG_AsInt(obj2
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 Py_INCREF(Py_None
); resultobj
= Py_None
;
16879 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16882 int *arg2
= (int *) 0 ;
16883 int *arg3
= (int *) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16906 resultobj
= t_output_helper(resultobj
,o
);
16909 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16910 resultobj
= t_output_helper(resultobj
,o
);
16918 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16921 int *arg2
= (int *) 0 ;
16922 int *arg3
= (int *) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 Py_INCREF(Py_None
); resultobj
= Py_None
;
16944 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16945 resultobj
= t_output_helper(resultobj
,o
);
16948 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16949 resultobj
= t_output_helper(resultobj
,o
);
16957 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16960 int *arg2
= (int *) 0 ;
16961 int *arg3
= (int *) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16984 resultobj
= t_output_helper(resultobj
,o
);
16987 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16988 resultobj
= t_output_helper(resultobj
,o
);
16996 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 wxSize
* resultptr
;
17017 resultptr
= new wxSize((wxSize
&) result
);
17018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17026 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 wxSize
* resultptr
;
17047 resultptr
= new wxSize((wxSize
&) result
);
17048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17056 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 char *kwnames
[] = {
17061 (char *) "self", NULL
17064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 (arg1
)->base_InitDialog();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 Py_INCREF(Py_None
); resultobj
= Py_None
;
17081 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (bool)(arg1
)->base_TransferDataToWindow();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17109 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17137 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (bool)(arg1
)->base_Validate();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17165 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17193 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17221 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 wxSize
* resultptr
;
17242 resultptr
= new wxSize((wxSize
&) result
);
17243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17251 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17254 wxWindow
*arg2
= (wxWindow
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "child", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 (arg1
)->base_AddChild(arg2
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 Py_INCREF(Py_None
); resultobj
= Py_None
;
17280 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17283 wxWindow
*arg2
= (wxWindow
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "child", NULL
17290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 (arg1
)->base_RemoveChild(arg2
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (bool)(arg1
)->base_ShouldInheritColours();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17337 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17340 wxColour
*arg2
= 0 ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "c", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 Py_INCREF(Py_None
); resultobj
= Py_None
;
17369 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17372 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17374 return Py_BuildValue((char *)"");
17376 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17377 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17382 static PyObject
*_wrap_PrintoutTitleStr_get() {
17387 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17389 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17396 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17397 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17402 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17407 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17409 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17416 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxPrintData
*result
;
17419 char *kwnames
[] = {
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxPrintData
*)new wxPrintData();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17438 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 Py_INCREF(Py_None
); resultobj
= Py_None
;
17463 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
;
17465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (int)(arg1
)->GetNoCopies();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_FromInt((int)result
);
17489 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "self", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (bool)(arg1
)->GetCollate();
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17517 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17521 PyObject
* obj0
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= (int)(arg1
)->GetOrientation();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_FromInt((int)result
);
17543 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (bool)(arg1
)->Ok();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17571 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17587 result
= (wxString
*) &_result_ref
;
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17606 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)(arg1
)->GetColour();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17634 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (int)(arg1
)->GetDuplex();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_FromInt((int)result
);
17660 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (int)(arg1
)->GetPaperId();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= SWIG_FromInt((int)result
);
17686 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17702 result
= (wxSize
*) &_result_ref
;
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17715 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (int)(arg1
)->GetQuality();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= SWIG_FromInt((int)result
);
17741 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "v", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17754 arg2
= (int) SWIG_AsInt(obj1
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 (arg1
)->SetNoCopies(arg2
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 Py_INCREF(Py_None
); resultobj
= Py_None
;
17770 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "flag", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 arg2
= (bool) SWIG_AsBool(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->SetCollate(arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "orient", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 arg2
= (int) SWIG_AsInt(obj1
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->SetOrientation(arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17831 wxString
*arg2
= 0 ;
17832 bool temp2
= False
;
17833 PyObject
* obj0
= 0 ;
17834 PyObject
* obj1
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self",(char *) "name", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 arg2
= wxString_in_helper(obj1
);
17844 if (arg2
== NULL
) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "colour", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 arg2
= (bool) SWIG_AsBool(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->SetColour(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "duplex", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17911 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "sizeId", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self",(char *) "sz", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17972 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 Py_INCREF(Py_None
); resultobj
= Py_None
;
17988 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "quality", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (int) SWIG_AsInt(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->SetQuality(arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 Py_INCREF(Py_None
); resultobj
= Py_None
;
18017 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18033 result
= (wxString
*) &_result_ref
;
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18052 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18068 result
= (wxString
*) &_result_ref
;
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18087 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18103 result
= (wxString
*) &_result_ref
;
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18122 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 wxString
const &_result_ref
= (arg1
)->GetFilename();
18138 result
= (wxString
*) &_result_ref
;
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18148 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18157 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18173 result
= (wxString
*) &_result_ref
;
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18183 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18192 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18196 PyObject
* obj0
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 result
= (double)(arg1
)->GetPrinterScaleX();
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= SWIG_FromDouble((double)result
);
18218 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (double)(arg1
)->GetPrinterScaleY();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_FromDouble((double)result
);
18244 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (long)(arg1
)->GetPrinterTranslateX();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_FromLong((long)result
);
18270 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (long)(arg1
)->GetPrinterTranslateY();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_FromLong((long)result
);
18296 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (int)(arg1
)->GetPrintMode();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_FromInt((int)result
);
18322 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18325 wxString
*arg2
= 0 ;
18326 bool temp2
= False
;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "command", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= wxString_in_helper(obj1
);
18338 if (arg2
== NULL
) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 Py_INCREF(Py_None
); resultobj
= Py_None
;
18363 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18366 wxString
*arg2
= 0 ;
18367 bool temp2
= False
;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "options", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 arg2
= wxString_in_helper(obj1
);
18379 if (arg2
== NULL
) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18407 wxString
*arg2
= 0 ;
18408 bool temp2
= False
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "command", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 arg2
= wxString_in_helper(obj1
);
18420 if (arg2
== NULL
) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 Py_INCREF(Py_None
); resultobj
= Py_None
;
18445 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18448 wxString
*arg2
= 0 ;
18449 bool temp2
= False
;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "filename", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 arg2
= wxString_in_helper(obj1
);
18461 if (arg2
== NULL
) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->SetFilename((wxString
const &)*arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18486 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18489 wxString
*arg2
= 0 ;
18490 bool temp2
= False
;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "path", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 arg2
= wxString_in_helper(obj1
);
18502 if (arg2
== NULL
) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 Py_INCREF(Py_None
); resultobj
= Py_None
;
18527 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self",(char *) "x", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 arg2
= (double) SWIG_AsDouble(obj1
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetPrinterScaleX(arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 Py_INCREF(Py_None
); resultobj
= Py_None
;
18556 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self",(char *) "y", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18569 arg2
= (double) SWIG_AsDouble(obj1
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetPrinterScaleY(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 PyObject
* obj2
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self",(char *) "x",(char *) "y", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 arg2
= (double) SWIG_AsDouble(obj1
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18602 arg3
= (double) SWIG_AsDouble(obj2
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "x", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18631 arg2
= (long) SWIG_AsLong(obj1
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 (arg1
)->SetPrinterTranslateX(arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 Py_INCREF(Py_None
); resultobj
= Py_None
;
18647 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "y", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 arg2
= (long) SWIG_AsLong(obj1
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->SetPrinterTranslateY(arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18676 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "x",(char *) "y", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= (long) SWIG_AsLong(obj1
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18693 arg3
= (long) SWIG_AsLong(obj2
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "printMode", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18741 wxOutputStream
*result
;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18764 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18767 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 PyObject
* obj1
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self",(char *) "outputstream", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->SetOutputStream(arg2
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 Py_INCREF(Py_None
); resultobj
= Py_None
;
18793 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18796 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18798 return Py_BuildValue((char *)"");
18800 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxPageSetupDialogData
*result
;
18803 char *kwnames
[] = {
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18822 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 Py_INCREF(Py_None
); resultobj
= Py_None
;
18847 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "flag", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 arg2
= (bool) SWIG_AsBool(obj1
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->EnableHelp(arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self",(char *) "flag", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 arg2
= (bool) SWIG_AsBool(obj1
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->EnableMargins(arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 Py_INCREF(Py_None
); resultobj
= Py_None
;
18905 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self",(char *) "flag", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18918 arg2
= (bool) SWIG_AsBool(obj1
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 (arg1
)->EnableOrientation(arg2
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 Py_INCREF(Py_None
); resultobj
= Py_None
;
18934 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "flag", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18947 arg2
= (bool) SWIG_AsBool(obj1
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->EnablePaper(arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "flag", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 arg2
= (bool) SWIG_AsBool(obj1
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->EnablePrinter(arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 Py_INCREF(Py_None
); resultobj
= Py_None
;
18992 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (bool)(arg1
)->GetDefaultMinMargins();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19020 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (bool)(arg1
)->GetEnableMargins();
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19048 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (bool)(arg1
)->GetEnableOrientation();
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19076 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= (bool)(arg1
)->GetEnablePaper();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19104 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (bool)(arg1
)->GetEnablePrinter();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19132 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (bool)(arg1
)->GetEnableHelp();
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19160 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (bool)(arg1
)->GetDefaultInfo();
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19188 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= (arg1
)->GetMarginTopLeft();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 wxPoint
* resultptr
;
19209 resultptr
= new wxPoint((wxPoint
&) result
);
19210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19218 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (arg1
)->GetMarginBottomRight();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 wxPoint
* resultptr
;
19239 resultptr
= new wxPoint((wxPoint
&) result
);
19240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19248 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (arg1
)->GetMinMarginTopLeft();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 wxPoint
* resultptr
;
19269 resultptr
= new wxPoint((wxPoint
&) result
);
19270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19278 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (arg1
)->GetMinMarginBottomRight();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19298 wxPoint
* resultptr
;
19299 resultptr
= new wxPoint((wxPoint
&) result
);
19300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19308 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (int)(arg1
)->GetPaperId();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_FromInt((int)result
);
19334 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (arg1
)->GetPaperSize();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19354 wxSize
* resultptr
;
19355 resultptr
= new wxSize((wxSize
&) result
);
19356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19364 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19367 wxPrintData
*result
;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19380 result
= (wxPrintData
*) &_result_ref
;
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19393 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= (bool)(arg1
)->Ok();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19421 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "flag", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 arg2
= (bool) SWIG_AsBool(obj1
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 (arg1
)->SetDefaultInfo(arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "flag", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19463 arg2
= (bool) SWIG_AsBool(obj1
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 (arg1
)->SetDefaultMinMargins(arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 Py_INCREF(Py_None
); resultobj
= Py_None
;
19479 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19481 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19482 wxPoint
*arg2
= 0 ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self",(char *) "pt", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 Py_INCREF(Py_None
); resultobj
= Py_None
;
19511 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19514 wxPoint
*arg2
= 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "pt", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 Py_INCREF(Py_None
); resultobj
= Py_None
;
19543 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19546 wxPoint
*arg2
= 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "pt", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 Py_INCREF(Py_None
); resultobj
= Py_None
;
19575 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19578 wxPoint
*arg2
= 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "pt", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 Py_INCREF(Py_None
); resultobj
= Py_None
;
19607 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "id", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "size", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19671 wxPrintData
*arg2
= 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "printData", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19684 if (arg2
== NULL
) {
19685 PyErr_SetString(PyExc_TypeError
,"null reference");
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 Py_INCREF(Py_None
); resultobj
= Py_None
;
19702 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19705 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19707 return Py_BuildValue((char *)"");
19709 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxWindow
*arg1
= (wxWindow
*) 0 ;
19712 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19713 wxPageSetupDialog
*result
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "parent",(char *) "data", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19741 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19744 wxPageSetupDialogData
*result
;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19757 result
= (wxPageSetupDialogData
*) &_result_ref
;
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19770 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (int)(arg1
)->ShowModal();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_FromInt((int)result
);
19796 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19799 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19801 return Py_BuildValue((char *)"");
19803 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19804 PyObject
*resultobj
;
19805 wxPrintDialogData
*result
;
19807 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19822 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19823 PyObject
*resultobj
;
19824 wxPrintData
*arg1
= 0 ;
19825 wxPrintDialogData
*result
;
19826 PyObject
* obj0
= 0 ;
19828 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19832 if (arg1
== NULL
) {
19833 PyErr_SetString(PyExc_TypeError
,"null reference");
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19850 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19855 argc
= PyObject_Length(args
);
19856 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19857 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19860 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19866 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19874 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19878 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19883 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 Py_INCREF(Py_None
); resultobj
= Py_None
;
19908 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_FromInt((int)result
);
19934 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_FromInt((int)result
);
19960 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_FromInt((int)result
);
19986 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_FromInt((int)result
);
20012 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_FromInt((int)result
);
20038 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20066 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20122 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20126 PyObject
* obj0
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20150 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self",(char *) "v", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20191 arg2
= (int) SWIG_AsInt(obj1
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetFromPage(arg2
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "v", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 arg2
= (int) SWIG_AsInt(obj1
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 (arg1
)->SetToPage(arg2
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 Py_INCREF(Py_None
); resultobj
= Py_None
;
20236 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "self",(char *) "v", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 arg2
= (int) SWIG_AsInt(obj1
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 (arg1
)->SetMinPage(arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 Py_INCREF(Py_None
); resultobj
= Py_None
;
20265 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self",(char *) "v", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20278 arg2
= (int) SWIG_AsInt(obj1
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 (arg1
)->SetMaxPage(arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 Py_INCREF(Py_None
); resultobj
= Py_None
;
20294 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "v", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20307 arg2
= (int) SWIG_AsInt(obj1
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetNoCopies(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "flag", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 arg2
= (bool) SWIG_AsBool(obj1
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 (arg1
)->SetAllPages(arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 Py_INCREF(Py_None
); resultobj
= Py_None
;
20352 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "flag", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 arg2
= (bool) SWIG_AsBool(obj1
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 (arg1
)->SetSelection(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 Py_INCREF(Py_None
); resultobj
= Py_None
;
20381 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "flag", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 arg2
= (bool) SWIG_AsBool(obj1
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetCollate(arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "flag", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 arg2
= (bool) SWIG_AsBool(obj1
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->SetPrintToFile(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self",(char *) "flag", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 arg2
= (bool) SWIG_AsBool(obj1
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 (arg1
)->SetSetupDialog(arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 Py_INCREF(Py_None
); resultobj
= Py_None
;
20468 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self",(char *) "flag", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 arg2
= (bool) SWIG_AsBool(obj1
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->EnablePrintToFile(arg2
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "flag", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 arg2
= (bool) SWIG_AsBool(obj1
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->EnableSelection(arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self",(char *) "flag", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 arg2
= (bool) SWIG_AsBool(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->EnablePageNumbers(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 Py_INCREF(Py_None
); resultobj
= Py_None
;
20555 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "flag", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 arg2
= (bool) SWIG_AsBool(obj1
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->EnableHelp(arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20584 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20668 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20724 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20727 wxPrintData
*result
;
20728 PyObject
* obj0
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20740 result
= (wxPrintData
*) &_result_ref
;
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20753 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20756 wxPrintData
*arg2
= 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "printData", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20769 if (arg2
== NULL
) {
20770 PyErr_SetString(PyExc_TypeError
,"null reference");
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 Py_INCREF(Py_None
); resultobj
= Py_None
;
20787 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20790 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20792 return Py_BuildValue((char *)"");
20794 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxWindow
*arg1
= (wxWindow
*) 0 ;
20797 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20798 wxPrintDialog
*result
;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "parent",(char *) "data", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20826 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20829 wxPrintDialogData
*result
;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20842 result
= (wxPrintDialogData
*) &_result_ref
;
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20855 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (wxDC
*)(arg1
)->GetPrintDC();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= wxPyMake_wxObject(result
);
20883 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (int)(arg1
)->ShowModal();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_FromInt((int)result
);
20909 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20912 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20914 return Py_BuildValue((char *)"");
20916 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20920 PyObject
* obj0
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "data", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxPrinter
*)new wxPrinter(arg1
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20944 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20947 PyObject
* obj0
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 Py_INCREF(Py_None
); resultobj
= Py_None
;
20969 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20971 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20972 wxWindow
*arg2
= (wxWindow
*) 0 ;
20973 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 PyObject
* obj2
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "parent",(char *) "printout", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->CreateAbortWindow(arg2
,arg3
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21002 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21005 wxPrintDialogData
*result
;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21018 result
= (wxPrintDialogData
*) &_result_ref
;
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21031 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21034 wxWindow
*arg2
= (wxWindow
*) 0 ;
21035 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21036 int arg4
= (int) True
;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 PyObject
* obj2
= 0 ;
21041 PyObject
* obj3
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 arg4
= (int) SWIG_AsInt(obj3
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21076 wxWindow
*arg2
= (wxWindow
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self",(char *) "parent", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= wxPyMake_wxObject(result
);
21105 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21108 wxWindow
*arg2
= (wxWindow
*) 0 ;
21109 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21110 wxString
*arg4
= 0 ;
21111 bool temp4
= False
;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 PyObject
* obj2
= 0 ;
21115 PyObject
* obj3
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21128 arg4
= wxString_in_helper(obj3
);
21129 if (arg4
== NULL
) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 Py_INCREF(Py_None
); resultobj
= Py_None
;
21154 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21157 wxWindow
*arg2
= (wxWindow
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "parent", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)(arg1
)->Setup(arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21186 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (bool)(arg1
)->GetAbort();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21217 char *kwnames
[] = {
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (int)wxPrinter::GetLastError();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_FromInt((int)result
);
21236 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21239 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21241 return Py_BuildValue((char *)"");
21243 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21246 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21247 wxPyPrintout
*result
;
21248 bool temp1
= False
;
21249 PyObject
* obj0
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "title", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21257 arg1
= wxString_in_helper(obj0
);
21258 if (arg1
== NULL
) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= wxPyMake_wxObject(result
);
21286 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21289 PyObject
*arg2
= (PyObject
*) 0 ;
21290 PyObject
*arg3
= (PyObject
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 PyObject
* obj2
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "self",(char *) "_class", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 Py_INCREF(Py_None
); resultobj
= Py_None
;
21317 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21349 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21353 PyObject
* obj0
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxDC
*)(arg1
)->GetDC();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= wxPyMake_wxObject(result
);
21377 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21380 wxDC
*arg2
= (wxDC
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "dc", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetDC(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21406 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 PyObject
* obj2
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "w",(char *) "h", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 arg2
= (int) SWIG_AsInt(obj1
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21423 arg3
= (int) SWIG_AsInt(obj2
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21442 int *arg2
= (int *) 0 ;
21443 int *arg3
= (int *) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21466 resultobj
= t_output_helper(resultobj
,o
);
21469 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21470 resultobj
= t_output_helper(resultobj
,o
);
21478 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "w",(char *) "h", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 arg2
= (int) SWIG_AsInt(obj1
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21495 arg3
= (int) SWIG_AsInt(obj2
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 Py_INCREF(Py_None
); resultobj
= Py_None
;
21511 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21514 int *arg2
= (int *) 0 ;
21515 int *arg3
= (int *) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21538 resultobj
= t_output_helper(resultobj
,o
);
21541 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21542 resultobj
= t_output_helper(resultobj
,o
);
21550 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 PyObject
* obj2
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "x",(char *) "y", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 arg2
= (int) SWIG_AsInt(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21567 arg3
= (int) SWIG_AsInt(obj2
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 (arg1
)->SetPPIScreen(arg2
,arg3
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 Py_INCREF(Py_None
); resultobj
= Py_None
;
21583 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21586 int *arg2
= (int *) 0 ;
21587 int *arg3
= (int *) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 (arg1
)->GetPPIScreen(arg2
,arg3
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 Py_INCREF(Py_None
); resultobj
= Py_None
;
21609 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21610 resultobj
= t_output_helper(resultobj
,o
);
21613 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21614 resultobj
= t_output_helper(resultobj
,o
);
21622 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 PyObject
* obj2
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "x",(char *) "y", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 arg2
= (int) SWIG_AsInt(obj1
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21639 arg3
= (int) SWIG_AsInt(obj2
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 Py_INCREF(Py_None
); resultobj
= Py_None
;
21655 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21658 int *arg2
= (int *) 0 ;
21659 int *arg3
= (int *) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21681 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21682 resultobj
= t_output_helper(resultobj
,o
);
21685 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21686 resultobj
= t_output_helper(resultobj
,o
);
21694 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (bool)(arg1
)->IsPreview();
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21722 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "p", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 arg2
= (bool) SWIG_AsBool(obj1
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 (arg1
)->SetIsPreview(arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 Py_INCREF(Py_None
); resultobj
= Py_None
;
21751 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= (int) SWIG_AsInt(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21769 arg3
= (int) SWIG_AsInt(obj2
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21787 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 char *kwnames
[] = {
21792 (char *) "self", NULL
21795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 (arg1
)->base_OnEndDocument();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 Py_INCREF(Py_None
); resultobj
= Py_None
;
21812 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->base_OnBeginPrinting();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 (arg1
)->base_OnEndPrinting();
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 Py_INCREF(Py_None
); resultobj
= Py_None
;
21862 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21865 PyObject
* obj0
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 (arg1
)->base_OnPreparePrinting();
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 Py_INCREF(Py_None
); resultobj
= Py_None
;
21887 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "page", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 arg2
= (int) SWIG_AsInt(obj1
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (bool)(arg1
)->base_HasPage(arg2
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21919 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21922 int *arg2
= (int *) 0 ;
21923 int *arg3
= (int *) 0 ;
21924 int *arg4
= (int *) 0 ;
21925 int *arg5
= (int *) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21951 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21952 resultobj
= t_output_helper(resultobj
,o
);
21955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21956 resultobj
= t_output_helper(resultobj
,o
);
21959 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21960 resultobj
= t_output_helper(resultobj
,o
);
21963 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21964 resultobj
= t_output_helper(resultobj
,o
);
21972 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21977 return Py_BuildValue((char *)"");
21979 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
21982 wxWindow
*arg2
= (wxWindow
*) 0 ;
21983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21987 long arg5
= (long) 0 ;
21988 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
21989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21990 wxPreviewCanvas
*result
;
21993 bool temp6
= False
;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 PyObject
* obj3
= 0 ;
21998 PyObject
* obj4
= 0 ;
21999 PyObject
* obj5
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22018 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22022 arg5
= (long) SWIG_AsLong(obj4
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22027 arg6
= wxString_in_helper(obj5
);
22028 if (arg6
== NULL
) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22054 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22057 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22059 return Py_BuildValue((char *)"");
22061 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22064 wxFrame
*arg2
= (wxFrame
*) 0 ;
22065 wxString
*arg3
= 0 ;
22066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22070 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22071 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22073 wxPreviewFrame
*result
;
22074 bool temp3
= False
;
22077 bool temp7
= False
;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 PyObject
* obj2
= 0 ;
22081 PyObject
* obj3
= 0 ;
22082 PyObject
* obj4
= 0 ;
22083 PyObject
* obj5
= 0 ;
22084 PyObject
* obj6
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 arg3
= wxString_in_helper(obj2
);
22096 if (arg3
== NULL
) SWIG_fail
;
22102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22112 arg6
= (long) SWIG_AsLong(obj5
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22117 arg7
= wxString_in_helper(obj6
);
22118 if (arg7
== NULL
) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22152 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->Initialize();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->CreateControlBar();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->CreateCanvas();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22227 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22230 wxPreviewControlBar
*result
;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22253 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22256 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22258 return Py_BuildValue((char *)"");
22260 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22264 wxWindow
*arg3
= (wxWindow
*) 0 ;
22265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22269 long arg6
= (long) wxTAB_TRAVERSAL
;
22270 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22271 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22272 wxPreviewControlBar
*result
;
22275 bool temp7
= False
;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 PyObject
* obj3
= 0 ;
22280 PyObject
* obj4
= 0 ;
22281 PyObject
* obj5
= 0 ;
22282 PyObject
* obj6
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22290 arg2
= (long) SWIG_AsLong(obj1
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22292 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22307 arg6
= (long) SWIG_AsLong(obj5
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22312 arg7
= wxString_in_helper(obj6
);
22313 if (arg7
== NULL
) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22339 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (int)(arg1
)->GetZoomControl();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_FromInt((int)result
);
22365 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self",(char *) "zoom", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 arg2
= (int) SWIG_AsInt(obj1
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->SetZoomControl(arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22397 wxPrintPreview
*result
;
22398 PyObject
* obj0
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22420 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 Py_INCREF(Py_None
); resultobj
= Py_None
;
22445 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->OnPrevious();
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 Py_INCREF(Py_None
); resultobj
= Py_None
;
22470 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 Py_INCREF(Py_None
); resultobj
= Py_None
;
22545 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22548 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22550 return Py_BuildValue((char *)"");
22552 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22553 PyObject
*resultobj
;
22554 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22555 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22556 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22557 wxPrintPreview
*result
;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 PyObject
* obj2
= 0 ;
22562 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22585 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22586 PyObject
*resultobj
;
22587 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22588 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22589 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22590 wxPrintPreview
*result
;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22595 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22616 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22621 argc
= PyObject_Length(args
);
22622 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22623 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22625 if ((argc
>= 2) && (argc
<= 3)) {
22629 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22639 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22648 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22652 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22660 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22669 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22679 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22689 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22697 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22703 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22708 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self",(char *) "pageNum", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 arg2
= (int) SWIG_AsInt(obj1
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22740 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (int)(arg1
)->GetCurrentPage();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_FromInt((int)result
);
22766 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22769 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 PyObject
* obj1
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self",(char *) "printout", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->SetPrintout(arg2
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22798 wxPyPrintout
*result
;
22799 PyObject
* obj0
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= wxPyMake_wxObject(result
);
22823 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22826 wxPyPrintout
*result
;
22827 PyObject
* obj0
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= wxPyMake_wxObject(result
);
22851 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22854 wxFrame
*arg2
= (wxFrame
*) 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "frame", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 (arg1
)->SetFrame(arg2
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 Py_INCREF(Py_None
); resultobj
= Py_None
;
22880 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22883 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 PyObject
* obj1
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self",(char *) "canvas", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->SetCanvas(arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (wxFrame
*)(arg1
)->GetFrame();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= wxPyMake_wxObject(result
);
22937 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22940 wxPreviewCanvas
*result
;
22941 PyObject
* obj0
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22963 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22966 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 PyObject
* obj2
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22981 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22984 if (arg3
== NULL
) {
22985 PyErr_SetString(PyExc_TypeError
,"null reference");
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23004 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23007 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj2
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23025 if (arg3
== NULL
) {
23026 PyErr_SetString(PyExc_TypeError
,"null reference");
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23045 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "pageNum", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 arg2
= (int) SWIG_AsInt(obj1
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (bool)(arg1
)->RenderPage(arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23077 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23080 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "canvas", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->AdjustScrollbars(arg2
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23109 wxPrintDialogData
*result
;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23122 result
= (wxPrintDialogData
*) &_result_ref
;
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23135 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "percent", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 arg2
= (int) SWIG_AsInt(obj1
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 (arg1
)->SetZoom(arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 Py_INCREF(Py_None
); resultobj
= Py_None
;
23164 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (int)(arg1
)->GetZoom();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_FromInt((int)result
);
23190 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (int)(arg1
)->GetMaxPage();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_FromInt((int)result
);
23216 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (int)(arg1
)->GetMinPage();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_FromInt((int)result
);
23242 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (bool)(arg1
)->Ok();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23270 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self",(char *) "ok", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 arg2
= (bool) SWIG_AsBool(obj1
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 (arg1
)->SetOk(arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 Py_INCREF(Py_None
); resultobj
= Py_None
;
23299 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "interactive", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 arg2
= (bool) SWIG_AsBool(obj1
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (bool)(arg1
)->Print(arg2
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23331 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 (arg1
)->DetermineScaling();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 Py_INCREF(Py_None
); resultobj
= Py_None
;
23356 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23359 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23361 return Py_BuildValue((char *)"");
23363 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23364 PyObject
*resultobj
;
23365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23366 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23367 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23368 wxPyPrintPreview
*result
;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 PyObject
* obj2
= 0 ;
23373 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23396 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23397 PyObject
*resultobj
;
23398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23399 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23400 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23401 wxPyPrintPreview
*result
;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 PyObject
* obj2
= 0 ;
23406 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23427 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23432 argc
= PyObject_Length(args
);
23433 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23434 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23436 if ((argc
>= 2) && (argc
<= 3)) {
23440 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23450 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23459 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23463 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23471 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23480 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23490 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23500 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23508 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23514 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23519 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23522 PyObject
*arg2
= (PyObject
*) 0 ;
23523 PyObject
*arg3
= (PyObject
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 PyObject
* obj2
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "self",(char *) "_class", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self",(char *) "pageNum", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 arg2
= (int) SWIG_AsInt(obj1
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23585 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 PyObject
* obj2
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23603 if (arg3
== NULL
) {
23604 PyErr_SetString(PyExc_TypeError
,"null reference");
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23623 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23626 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 PyObject
* obj2
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23644 if (arg3
== NULL
) {
23645 PyErr_SetString(PyExc_TypeError
,"null reference");
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23664 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "self",(char *) "pageNum", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23678 arg2
= (int) SWIG_AsInt(obj1
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23696 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
;
23698 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self",(char *) "percent", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23709 arg2
= (int) SWIG_AsInt(obj1
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->base_SetZoom(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "interactive", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 arg2
= (bool) SWIG_AsBool(obj1
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= (bool)(arg1
)->base_Print(arg2
);
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23757 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->base_DetermineScaling();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23785 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23787 return Py_BuildValue((char *)"");
23789 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23792 wxFrame
*arg2
= (wxFrame
*) 0 ;
23793 wxString
*arg3
= 0 ;
23794 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23795 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23796 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23797 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23798 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23799 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23800 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23801 wxPyPreviewFrame
*result
;
23802 bool temp3
= False
;
23805 bool temp7
= False
;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 PyObject
* obj2
= 0 ;
23809 PyObject
* obj3
= 0 ;
23810 PyObject
* obj4
= 0 ;
23811 PyObject
* obj5
= 0 ;
23812 PyObject
* obj6
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 arg3
= wxString_in_helper(obj2
);
23824 if (arg3
== NULL
) SWIG_fail
;
23830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23840 arg6
= (long) SWIG_AsLong(obj5
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23845 arg7
= wxString_in_helper(obj6
);
23846 if (arg7
== NULL
) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23880 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23883 PyObject
*arg2
= (PyObject
*) 0 ;
23884 PyObject
*arg3
= (PyObject
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 PyObject
* obj2
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "self",(char *) "_class", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 Py_INCREF(Py_None
); resultobj
= Py_None
;
23911 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23914 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "canvas", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->SetPreviewCanvas(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23943 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "self",(char *) "bar", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->SetControlBar(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 Py_INCREF(Py_None
); resultobj
= Py_None
;
23969 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->base_Initialize();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23997 PyObject
* obj0
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->base_CreateCanvas();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 (arg1
)->base_CreateControlBar();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24047 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24049 return Py_BuildValue((char *)"");
24051 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24055 wxWindow
*arg3
= (wxWindow
*) 0 ;
24056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24060 long arg6
= (long) 0 ;
24061 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24062 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24063 wxPyPreviewControlBar
*result
;
24066 bool temp7
= False
;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 PyObject
* obj2
= 0 ;
24070 PyObject
* obj3
= 0 ;
24071 PyObject
* obj4
= 0 ;
24072 PyObject
* obj5
= 0 ;
24073 PyObject
* obj6
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 arg2
= (long) SWIG_AsLong(obj1
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24098 arg6
= (long) SWIG_AsLong(obj5
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24103 arg7
= wxString_in_helper(obj6
);
24104 if (arg7
== NULL
) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24130 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24133 PyObject
*arg2
= (PyObject
*) 0 ;
24134 PyObject
*arg3
= (PyObject
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 PyObject
* obj2
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "self",(char *) "_class", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 Py_INCREF(Py_None
); resultobj
= Py_None
;
24161 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24164 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "preview", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 (arg1
)->SetPrintPreview(arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->base_CreateButtons();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "zoom", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 arg2
= (int) SWIG_AsInt(obj1
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->base_SetZoomControl(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24247 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24249 return Py_BuildValue((char *)"");
24251 static PyMethodDef SwigMethods
[] = {
24252 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24253 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24254 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24255 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24256 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24257 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24258 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24259 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24260 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24261 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24262 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24263 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24264 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24265 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24266 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24267 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24268 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24269 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24270 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24271 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24272 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24273 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24274 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24276 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24278 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24282 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24283 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24298 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24299 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24322 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24334 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24338 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24342 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24347 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24363 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24391 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24398 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24421 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24429 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24441 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24447 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24456 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24462 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24465 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24468 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24472 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24490 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24516 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24524 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24528 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24530 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24539 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24542 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24549 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24567 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24571 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24576 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24580 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24596 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24599 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24601 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24605 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24614 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24623 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24629 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24641 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24648 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24652 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24676 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24700 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24724 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24770 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24802 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24806 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24807 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24840 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24845 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24856 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24879 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24881 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24887 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24897 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24898 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24921 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24922 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24931 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24939 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24949 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24951 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24952 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24954 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24957 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24958 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24960 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24961 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24963 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24964 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24966 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24967 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24969 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24970 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24972 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24973 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24975 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24976 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24978 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
24979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
24981 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
24982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
24984 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
24985 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
24987 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
24988 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
24990 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
24991 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
24993 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
24994 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
24996 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
24997 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
24999 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25000 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25002 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25003 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25005 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25006 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25008 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25009 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25011 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25012 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25014 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25015 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25017 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25018 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25020 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25021 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25023 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25026 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25027 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25029 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25030 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25032 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25033 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25035 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25036 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25038 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25039 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25041 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25042 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25044 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25047 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25050 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25051 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25053 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25054 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25056 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25057 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25059 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25062 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25065 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25066 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25068 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25069 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25071 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25072 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25074 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25075 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25077 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25078 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25080 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25083 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25086 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25089 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25090 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25092 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25093 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25095 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25096 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25098 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25099 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25101 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25104 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25107 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25110 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25113 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25116 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25119 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25122 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25125 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25128 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25131 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25134 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25137 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25138 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25140 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25143 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25146 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25149 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25150 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25152 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25153 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25155 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25158 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25161 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25164 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25167 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25170 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25173 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25176 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25180 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25182 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25185 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25188 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25191 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25194 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25197 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25200 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25203 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25204 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25206 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25209 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25212 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25215 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25218 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25221 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25224 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25227 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25230 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25231 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25233 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25234 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25236 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25237 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25239 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25240 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25242 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25243 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25245 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25246 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25248 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25249 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25251 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25252 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25254 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25255 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25257 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25258 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25260 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25261 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25263 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25266 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25269 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25270 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25272 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25273 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25275 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25278 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25279 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25281 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25282 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25284 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25285 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25287 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25288 return (void *)((wxObject
*) ((wxSizer
*) x
));
25290 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25293 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25296 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25299 static void *_p_wxEventTo_p_wxObject(void *x
) {
25300 return (void *)((wxObject
*) ((wxEvent
*) x
));
25302 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25303 return (void *)((wxObject
*) ((wxFontData
*) x
));
25305 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25306 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25308 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25309 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25311 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25312 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25314 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25315 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25317 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25318 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25320 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25321 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25323 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25326 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25327 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25329 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25330 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25332 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25333 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25335 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25336 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25338 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25339 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25341 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25342 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25344 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25347 static void *_p_wxControlTo_p_wxObject(void *x
) {
25348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25350 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25351 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25353 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25356 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25357 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25359 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25360 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25362 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25363 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25365 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25368 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25369 return (void *)((wxObject
*) ((wxColourData
*) x
));
25371 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25372 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25374 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25377 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25380 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25383 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25386 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25389 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25392 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25395 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25398 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25401 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25404 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25405 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25407 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25408 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25410 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25411 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25413 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25414 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25416 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25419 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25420 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25422 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25423 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25425 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25426 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25428 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25429 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25431 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25432 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25434 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25435 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25437 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25440 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25443 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25446 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25449 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25452 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25455 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25456 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25458 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25459 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25461 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25462 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25464 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25467 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25468 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25474 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25476 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25477 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25479 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25482 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25485 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25486 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25488 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25491 static void *_p_wxImageTo_p_wxObject(void *x
) {
25492 return (void *)((wxObject
*) ((wxImage
*) x
));
25494 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25497 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25498 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25500 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25501 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25503 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25504 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25506 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25509 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25512 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25515 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25518 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25521 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25524 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25527 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25530 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25533 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25536 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25539 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25542 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25545 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25548 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25551 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25554 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25557 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25560 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25563 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25566 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25569 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25572 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25575 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25578 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25581 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25584 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25587 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25590 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25593 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25596 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25599 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25602 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25605 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25608 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25611 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25614 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25617 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25620 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25623 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25626 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25629 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25632 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25635 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25638 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25641 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25644 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25647 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25650 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25653 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25654 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25656 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25657 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25659 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25660 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25662 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25663 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25665 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25666 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25668 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25669 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25671 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25672 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25674 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25675 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25677 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25678 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25680 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25681 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25683 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25684 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25686 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25687 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25689 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25690 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25692 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
25693 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
25695 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25696 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25698 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25699 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25701 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25702 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25704 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25705 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25707 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25708 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25710 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25713 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25714 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25716 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25717 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25719 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25720 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25722 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25723 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25725 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25726 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25728 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25731 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25734 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25735 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25737 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25738 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25740 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25743 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25744 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25746 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25749 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25752 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25755 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25756 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25758 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25759 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25761 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25762 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25764 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25765 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25767 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25768 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25770 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25771 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25773 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25776 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25777 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25779 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25780 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25782 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25783 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25785 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25786 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25788 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25789 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25791 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25792 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25794 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25795 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25797 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25798 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25800 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25801 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25803 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25804 return (void *)((wxWindow
*) ((wxControl
*) x
));
25806 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25807 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25809 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25810 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25812 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25813 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25815 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25816 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25818 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25819 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25821 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25822 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25824 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25825 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25827 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25828 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25830 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25831 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25833 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25834 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25836 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25837 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25839 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25842 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25845 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25848 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25849 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25851 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25852 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25854 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25855 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25857 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25858 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25860 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25861 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25863 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25864 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25866 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25867 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25869 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25870 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25872 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25873 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25875 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25876 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25878 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25879 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25881 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25882 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25884 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25885 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25887 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25888 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25890 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25891 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25893 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25894 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25896 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25897 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25899 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25900 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25902 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25903 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25905 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25906 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25908 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25909 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25911 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25912 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25914 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25915 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25917 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25918 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25920 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25921 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25923 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25924 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25926 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25927 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25929 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25930 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25932 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25933 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25935 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25936 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25938 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25939 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25941 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25942 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25944 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25945 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25947 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25948 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25950 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25951 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25953 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25954 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25956 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25957 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25959 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25960 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25962 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25963 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26022 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}};
26023 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}};
26024 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}};
26025 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26026 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}};
26027 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26028 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 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}};
26043 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26053 static swig_type_info
*swig_types_initial
[] = {
26054 _swigt__p_wxQueryLayoutInfoEvent
,
26055 _swigt__p_wxPreviewFrame
,
26056 _swigt__p_wxPyPreviewFrame
,
26057 _swigt__p_wxPyPanel
,
26059 _swigt__p_wxFontData
,
26061 _swigt__p_wxPrintData
,
26062 _swigt__p_wxTaskBarIcon
,
26063 _swigt__p_wxIconBundle
,
26064 _swigt__p_wxLayoutAlgorithm
,
26065 _swigt__p_wxFindDialogEvent
,
26066 _swigt__p_wxPreviewCanvas
,
26068 _swigt__p_wxSplitterEvent
,
26069 _swigt__p_wxRegion
,
26070 _swigt__p_wxFindReplaceData
,
26075 _swigt__p_wxVisualAttributes
,
26076 _swigt__p_wxMDIChildFrame
,
26077 _swigt__p_wxColourData
,
26078 _swigt__p_wxNotifyEvent
,
26079 _swigt__p_wxPyWindow
,
26080 _swigt__p_wxSplashScreen
,
26081 _swigt__p_wxFindReplaceDialog
,
26082 _swigt__p_wxProgressDialog
,
26083 _swigt__p_wxMessageDialog
,
26084 _swigt__p_wxTextEntryDialog
,
26085 _swigt__p_wxSingleChoiceDialog
,
26086 _swigt__p_wxMultiChoiceDialog
,
26087 _swigt__p_wxFileDialog
,
26088 _swigt__p_wxPrinter
,
26089 _swigt__p_wxArrayInt
,
26090 _swigt__p_wxEvtHandler
,
26091 _swigt__p_wxCalculateLayoutEvent
,
26092 _swigt__p_wxPyHtmlListBox
,
26093 _swigt__p_wxPyVListBox
,
26096 _swigt__p_wxMiniFrame
,
26098 _swigt__p_wxPyPrintout
,
26099 _swigt__p_wxTaskBarIconEvent
,
26100 _swigt__p_wxScrollWinEvent
,
26101 _swigt__p_wxStatusBar
,
26102 _swigt__p_wxMDIParentFrame
,
26104 _swigt__p_wxObject
,
26105 _swigt__p_wxOutputStream
,
26106 _swigt__p_unsigned_long
,
26107 _swigt__p_wxPyScrolledWindow
,
26108 _swigt__p_wxMDIClientWindow
,
26109 _swigt__p_wxTipWindow
,
26110 _swigt__p_wxPyPopupTransientWindow
,
26111 _swigt__p_wxSashLayoutWindow
,
26112 _swigt__p_wxSplitterWindow
,
26113 _swigt__p_wxPyVScrolledWindow
,
26114 _swigt__p_wxPopupWindow
,
26115 _swigt__p_wxSashWindow
,
26116 _swigt__p_wxTopLevelWindow
,
26117 _swigt__p_wxWindow
,
26118 _swigt__p_wxScrolledWindow
,
26119 _swigt__p_wxSplashScreenWindow
,
26120 _swigt__p_wxMenuBar
,
26121 _swigt__p_wxPrintPreview
,
26122 _swigt__p_wxSashEvent
,
26123 _swigt__p_wxString
,
26124 _swigt__p_wxPyPrintPreview
,
26125 _swigt__p_wxFontDialog
,
26126 _swigt__p_wxDirDialog
,
26127 _swigt__p_wxColourDialog
,
26128 _swigt__p_wxDialog
,
26130 _swigt__p_wxPageSetupDialog
,
26131 _swigt__p_wxPrintDialog
,
26132 _swigt__p_wxFileSystem
,
26133 _swigt__p_wxBitmap
,
26134 _swigt__p_wxCommandEvent
,
26135 _swigt__p_wxPreviewControlBar
,
26136 _swigt__p_wxPyPreviewControlBar
,
26137 _swigt__p_wxColour
,
26138 _swigt__p_wxToolBar
,
26139 _swigt__p_wxPageSetupDialogData
,
26140 _swigt__p_wxPrintDialogData
,
26145 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26147 static swig_const_info swig_const_table
[] = {
26157 SWIGEXPORT(void) SWIG_init(void) {
26158 static PyObject
*SWIG_globals
= 0;
26159 static int typeinit
= 0;
26162 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26163 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26164 d
= PyModule_GetDict(m
);
26167 for (i
= 0; swig_types_initial
[i
]; i
++) {
26168 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26172 SWIG_InstallConstants(d
,swig_const_table
);
26174 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26175 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26176 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26177 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26178 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26179 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26180 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26181 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26182 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26183 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26184 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26185 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26186 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26187 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26188 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26189 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26190 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26191 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26192 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26193 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26194 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26195 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26196 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26197 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26198 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26199 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26200 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26201 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26202 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26203 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26204 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26205 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26206 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26207 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26208 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26209 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26210 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26211 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26212 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26213 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26214 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26215 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26216 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26217 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26218 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26219 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26220 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26221 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26222 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26223 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26224 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26225 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26226 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26227 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26228 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26229 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26230 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26231 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26232 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26233 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26234 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26235 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26236 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26237 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26238 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26239 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26240 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26241 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26242 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26243 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26244 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26245 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26246 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26247 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26248 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26249 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26250 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26251 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26252 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26253 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26254 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26255 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26256 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26257 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26258 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26259 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26260 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26261 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26262 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26263 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26264 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26265 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26266 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26268 // Map renamed classes back to their common name for OOR
26269 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26270 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26271 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26273 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26274 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26275 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26276 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26277 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26278 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26279 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26280 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26281 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26282 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26283 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26284 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26285 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26286 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26287 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26288 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26289 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26290 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26291 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26292 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26293 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26294 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26295 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26296 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26297 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26298 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26299 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26300 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26301 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26302 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26303 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26304 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26305 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26306 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26307 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26308 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26309 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26310 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26311 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26312 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26313 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26314 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26315 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26316 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26317 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26318 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26319 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26320 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26321 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26322 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26323 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26324 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26325 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26326 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26327 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26328 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26329 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26330 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26331 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26332 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26334 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");