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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplashScreenWindow 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_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPopupWindow
: public wxWindow
{
534 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
535 wxPopupWindow() { wxPyRaiseNotImplemented(); }
538 class wxPyPopupTransientWindow
: public wxPopupWindow
541 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
542 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
546 #include <wx/tipwin.h>
548 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
549 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
552 #include <wx/tipwin.h>
555 #include <wx/vscroll.h>
558 class wxPyVScrolledWindow
: public wxVScrolledWindow
560 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
562 wxPyVScrolledWindow() : wxVScrolledWindow() {}
564 wxPyVScrolledWindow(wxWindow
*parent
,
565 wxWindowID id
= wxID_ANY
,
566 const wxPoint
& pos
= wxDefaultPosition
,
567 const wxSize
& size
= wxDefaultSize
,
569 const wxString
& name
= wxPyPanelNameStr
)
570 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
573 // Overridable virtuals
575 // this function must be overridden in the derived class and it should
576 // return the height of the given line in pixels
577 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
580 // this function doesn't have to be overridden but it may be useful to do
581 // it if calculating the lines heights is a relatively expensive operation
582 // as it gives the user code a possibility to calculate several of them at
585 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
586 // shouldn't rely on the latter being called for all lines in the interval
587 // specified here. It is also possible that OnGetLineHeight() will be
588 // called for the lines outside of this interval, so this is really just a
589 // hint, not a promise.
591 // finally note that lineMin is inclusive, while lineMax is exclusive, as
593 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
596 // when the number of lines changes, we try to estimate the total height
597 // of all lines which is a rather expensive operation in terms of lines
598 // access, so if the user code may estimate the average height
599 // better/faster than we do, it should override this function to implement
602 // this function should return the best guess for the total height it may
604 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
607 // Also expose some other interesting protected methods
610 // find the index of the line we need to show at the top of the window such
611 // that the last (fully or partially) visible line is the given one
612 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
613 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
615 // get the total height of the lines between lineMin (inclusive) and
616 // lineMax (exclusive)
617 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
618 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
624 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
626 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
627 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
628 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
631 SWIGSTATICINLINE(unsigned long)
632 SWIG_AsUnsignedLong(PyObject
* obj
)
634 if (PyLong_Check(obj
)) {
635 return PyLong_AsUnsignedLong(obj
);
637 long i
= SWIG_AsLong(obj
);
638 if ( !PyErr_Occurred() && (i
< 0)) {
639 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
646 SWIGSTATICINLINE(int)
647 SWIG_CheckUnsignedLong(PyObject
* obj
)
649 SWIG_AsUnsignedLong(obj
);
650 if (PyErr_Occurred()) {
659 SWIGSTATICINLINE(PyObject
* )
660 SWIG_FromUnsignedLong(unsigned long value
)
662 return (value
> LONG_MAX
) ?
663 PyLong_FromUnsignedLong(value
)
664 : PyInt_FromLong(swig_numeric_cast(long,value
));
668 #include <wx/vlbox.h>
670 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
672 class wxPyVListBox
: public wxVListBox
674 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
676 wxPyVListBox() : wxVListBox() {}
678 wxPyVListBox(wxWindow
*parent
,
679 wxWindowID id
= wxID_ANY
,
680 const wxPoint
& pos
= wxDefaultPosition
,
681 const wxSize
& size
= wxDefaultSize
,
683 const wxString
& name
= wxPyVListBoxNameStr
)
684 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
687 // Overridable virtuals
689 // the derived class must implement this function to actually draw the item
690 // with the given index on the provided DC
691 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
692 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
695 // the derived class must implement this method to return the height of the
697 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
698 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
701 // this method may be used to draw separators between the lines; note that
702 // the rectangle may be modified, typically to deflate it a bit before
703 // passing to OnDrawItem()
705 // the base class version doesn't do anything
706 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
707 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
710 // this method is used to draw the items background and, maybe, a border
713 // the base class version implements a reasonable default behaviour which
714 // consists in drawing the selected item with the standard background
715 // colour and drawing a border around the item if it is either selected or
717 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
726 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
727 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
728 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
729 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
732 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
733 unsigned long cookie
= 0;
734 int selected
= self
->GetFirstSelected(cookie
);
735 bool blocked
= wxPyBeginBlockThreads();
736 PyObject
* tup
= PyTuple_New(2);
737 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
738 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
739 wxPyEndBlockThreads(blocked
);
742 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
743 int selected
= self
->GetNextSelected(cookie
);
744 bool blocked
= wxPyBeginBlockThreads();
745 PyObject
* tup
= PyTuple_New(2);
746 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
747 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
748 wxPyEndBlockThreads(blocked
);
752 #include <wx/htmllbox.h>
755 class wxPyHtmlListBox
: public wxHtmlListBox
757 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
759 wxPyHtmlListBox() : wxHtmlListBox() {}
761 wxPyHtmlListBox(wxWindow
*parent
,
762 wxWindowID id
= wxID_ANY
,
763 const wxPoint
& pos
= wxDefaultPosition
,
764 const wxSize
& size
= wxDefaultSize
,
766 const wxString
& name
= wxPyVListBoxNameStr
)
767 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
770 // Overridable virtuals
772 // this method must be implemented in the derived class and should return
773 // the body (i.e. without <html>) of the HTML for the given item
774 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
776 // this function may be overridden to decorate HTML returned by OnGetItem()
777 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
780 // // this method allows to customize the selection appearance: it may be used
781 // // to specify the colour of the text which normally has the given colour
782 // // colFg when it is inside the selection
784 // // by default, the original colour is not used at all and all text has the
785 // // same (default for this system) colour inside selection
786 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
788 // // this is the same as GetSelectedTextColour() but allows to customize the
789 // // background colour -- this is even more rarely used as you can change it
790 // // globally using SetSelectionBackground()
791 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
798 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
800 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
801 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
808 // implement dummy classes and such for wxMac
810 class wxTaskBarIcon
: public wxEvtHandler
813 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
817 class wxTaskBarIconEvent
: public wxEvent
820 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
821 { wxPyRaiseNotImplemented(); }
822 virtual wxEvent
* Clone() const { return NULL
; }
826 wxEVT_TASKBAR_MOVE
= 0,
827 wxEVT_TASKBAR_LEFT_DOWN
= 0,
828 wxEVT_TASKBAR_LEFT_UP
= 0,
829 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
830 wxEVT_TASKBAR_RIGHT_UP
= 0,
831 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
832 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
837 // // Otherwise make a class that can virtualize CreatePopupMenu
838 // class wxPyTaskBarIcon : public wxTaskBarIcon
840 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
842 // wxPyTaskBarIcon() : wxTaskBarIcon()
845 // wxMenu* CreatePopupMenu() {
846 // wxMenu *rval = NULL;
848 // bool blocked = wxPyBeginBlockThreads();
849 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
852 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
854 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
859 // wxPyEndBlockThreads(blocked);
861 // rval = wxTaskBarIcon::CreatePopupMenu();
868 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
872 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
877 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
878 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
879 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
880 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
881 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
882 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
883 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
885 self
->GetFilenames(arr
);
886 return wxArrayString2PyList_helper(arr
);
888 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
894 return wxArrayInt2PyList_helper(self
->GetSelections());
896 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
897 return new wxSingleChoiceDialog(parent
, message
, caption
,
898 choices
, choices_array
, NULL
, style
, pos
);
903 // C++ version of Python aware wxWindow
904 class wxPyWindow
: public wxWindow
906 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
908 wxPyWindow() : wxWindow() {}
909 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
910 const wxPoint
& pos
= wxDefaultPosition
,
911 const wxSize
& size
= wxDefaultSize
,
913 const wxString
& name
= wxPyPanelNameStr
)
914 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
916 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
918 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
919 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
920 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
921 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
923 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
924 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
925 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
927 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
928 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
930 DEC_PYCALLBACK__(InitDialog
);
931 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
932 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
933 DEC_PYCALLBACK_BOOL_(Validate
);
935 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
936 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
937 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
939 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
940 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
942 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
943 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
944 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
949 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
951 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
952 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
953 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
954 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
956 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
957 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
958 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
960 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
961 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
963 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
964 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
965 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
966 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
968 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
969 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
970 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
972 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
973 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
975 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
976 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
977 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
980 // C++ version of Python aware wxPanel
981 class wxPyPanel
: public wxPanel
983 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
985 wxPyPanel() : wxPanel() {}
986 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
987 const wxPoint
& pos
= wxDefaultPosition
,
988 const wxSize
& size
= wxDefaultSize
,
990 const wxString
& name
= wxPyPanelNameStr
)
991 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
993 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
996 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
997 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
998 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
999 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1001 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1002 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1003 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1005 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1006 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1008 DEC_PYCALLBACK__(InitDialog
);
1009 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1010 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1011 DEC_PYCALLBACK_BOOL_(Validate
);
1013 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1014 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1015 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1017 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1018 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1020 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1021 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1022 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1027 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1029 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1030 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1031 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1032 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1034 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1035 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1036 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1038 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1039 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1041 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1042 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1043 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1044 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1046 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1047 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1048 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1050 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1051 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1053 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1054 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1055 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1058 // C++ version of Python aware wxScrolledWindow
1059 class wxPyScrolledWindow
: public wxScrolledWindow
1061 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1063 wxPyScrolledWindow() : wxScrolledWindow() {}
1064 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1065 const wxPoint
& pos
= wxDefaultPosition
,
1066 const wxSize
& size
= wxDefaultSize
,
1068 const wxString
& name
= wxPyPanelNameStr
)
1069 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1071 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1073 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1074 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1075 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1076 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1078 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1079 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1080 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1082 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1083 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1085 DEC_PYCALLBACK__(InitDialog
);
1086 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1087 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1088 DEC_PYCALLBACK_BOOL_(Validate
);
1090 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1091 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1092 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1094 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1095 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1097 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1098 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1099 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1104 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1106 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1107 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1108 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1109 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1111 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1112 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1113 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1115 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1116 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1118 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1119 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1120 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1121 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1123 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1124 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1125 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1127 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1128 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1130 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1131 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1132 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1136 #include "wx/wxPython/printfw.h"
1139 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1140 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1144 // Since this one would be tough and ugly to do with the Macros...
1145 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1146 bool hadErr
= False
;
1149 bool blocked
= wxPyBeginBlockThreads();
1150 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1151 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1152 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1155 val
= PyTuple_GetItem(result
, 0);
1156 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1159 val
= PyTuple_GetItem(result
, 1);
1160 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1163 val
= PyTuple_GetItem(result
, 2);
1164 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1167 val
= PyTuple_GetItem(result
, 3);
1168 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1175 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1180 wxPyEndBlockThreads(blocked
);
1182 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1185 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1186 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1191 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1192 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1193 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1194 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1195 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1196 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1202 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1203 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1204 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1207 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1208 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1211 bool blocked = wxPyBeginBlockThreads(); \
1212 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1213 PyObject* win = wxPyMake_wxObject(a,false); \
1214 PyObject* dc = wxPyMake_wxObject(&b,false); \
1215 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1219 wxPyEndBlockThreads(blocked); \
1221 rval = PCLASS::CBNAME(a, b); \
1224 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1225 return PCLASS::CBNAME(a, b); \
1231 class wxPyPrintPreview
: public wxPrintPreview
1233 DECLARE_CLASS(wxPyPrintPreview
)
1235 wxPyPrintPreview(wxPyPrintout
* printout
,
1236 wxPyPrintout
* printoutForPrinting
,
1237 wxPrintDialogData
* data
=NULL
)
1238 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1246 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1247 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1248 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1249 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1250 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1251 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1252 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1257 // Stupid renamed classes... Fix this in 2.5...
1258 #if defined(__WXMSW__)
1259 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1260 #elif defined(__WXMAC__)
1261 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1263 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1266 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1267 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1268 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1269 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1270 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1271 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1272 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1275 class wxPyPreviewFrame
: public wxPreviewFrame
1277 DECLARE_CLASS(wxPyPreviewFrame
);
1279 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1280 const wxString
& title
,
1281 const wxPoint
& pos
= wxDefaultPosition
,
1282 const wxSize
& size
= wxDefaultSize
,
1283 long style
= wxDEFAULT_FRAME_STYLE
,
1284 const wxString
& name
= wxPyFrameNameStr
)
1285 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1288 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1289 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1291 DEC_PYCALLBACK_VOID_(Initialize
);
1292 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1293 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1298 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1300 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1301 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1302 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1305 class wxPyPreviewControlBar
: public wxPreviewControlBar
1307 DECLARE_CLASS(wxPyPreviewControlBar
);
1309 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1312 const wxPoint
& pos
= wxDefaultPosition
,
1313 const wxSize
& size
= wxDefaultSize
,
1315 const wxString
& name
= wxPyPanelNameStr
)
1316 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1319 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1321 DEC_PYCALLBACK_VOID_(CreateButtons
);
1322 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1327 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1328 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1329 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1334 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxWindow
*arg1
= (wxWindow
*) 0 ;
1337 int arg2
= (int) (int)-1 ;
1338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1340 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1341 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1342 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1343 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1348 bool temp6
= False
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj1
= 0 ;
1351 PyObject
* obj2
= 0 ;
1352 PyObject
* obj3
= 0 ;
1353 PyObject
* obj4
= 0 ;
1354 PyObject
* obj5
= 0 ;
1356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1363 arg2
= (int const) SWIG_AsInt(obj1
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1379 arg5
= (long) SWIG_AsLong(obj4
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1384 arg6
= wxString_in_helper(obj5
);
1385 if (arg6
== NULL
) SWIG_fail
;
1390 if (!wxPyCheckForApp()) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1412 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1421 if (!wxPyCheckForApp()) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (wxPanel
*)new wxPanel();
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1435 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxPanel
*arg1
= (wxPanel
*) 0 ;
1438 wxWindow
*arg2
= (wxWindow
*) 0 ;
1439 int arg3
= (int) (int)-1 ;
1440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1444 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1445 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1450 bool temp7
= False
;
1451 PyObject
* obj0
= 0 ;
1452 PyObject
* obj1
= 0 ;
1453 PyObject
* obj2
= 0 ;
1454 PyObject
* obj3
= 0 ;
1455 PyObject
* obj4
= 0 ;
1456 PyObject
* obj5
= 0 ;
1457 PyObject
* obj6
= 0 ;
1459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1468 arg3
= (int const) SWIG_AsInt(obj2
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1484 arg6
= (long) SWIG_AsLong(obj5
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1489 arg7
= wxString_in_helper(obj6
);
1490 if (arg7
== NULL
) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1518 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxPanel
*arg1
= (wxPanel
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1523 (char *) "self", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 (arg1
)->InitDialog();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 Py_INCREF(Py_None
); resultobj
= Py_None
;
1543 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1546 wxVisualAttributes result
;
1547 PyObject
* obj0
= 0 ;
1549 (char *) "variant", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1554 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1558 if (!wxPyCheckForApp()) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1566 wxVisualAttributes
* resultptr
;
1567 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1576 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1579 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1581 return Py_BuildValue((char *)"");
1583 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxWindow
*arg1
= (wxWindow
*) 0 ;
1586 int arg2
= (int) (int)-1 ;
1587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1591 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1592 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1593 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1594 wxScrolledWindow
*result
;
1597 bool temp6
= False
;
1598 PyObject
* obj0
= 0 ;
1599 PyObject
* obj1
= 0 ;
1600 PyObject
* obj2
= 0 ;
1601 PyObject
* obj3
= 0 ;
1602 PyObject
* obj4
= 0 ;
1603 PyObject
* obj5
= 0 ;
1605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1612 arg2
= (int const) SWIG_AsInt(obj1
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1628 arg5
= (long) SWIG_AsLong(obj4
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1633 arg6
= wxString_in_helper(obj5
);
1634 if (arg6
== NULL
) SWIG_fail
;
1639 if (!wxPyCheckForApp()) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1661 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 wxScrolledWindow
*result
;
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1670 if (!wxPyCheckForApp()) SWIG_fail
;
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1684 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
*resultobj
;
1686 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1687 wxWindow
*arg2
= (wxWindow
*) 0 ;
1688 int arg3
= (int) (int)-1 ;
1689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1693 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1694 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1695 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1699 bool temp7
= False
;
1700 PyObject
* obj0
= 0 ;
1701 PyObject
* obj1
= 0 ;
1702 PyObject
* obj2
= 0 ;
1703 PyObject
* obj3
= 0 ;
1704 PyObject
* obj4
= 0 ;
1705 PyObject
* obj5
= 0 ;
1706 PyObject
* obj6
= 0 ;
1708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1717 arg3
= (int const) SWIG_AsInt(obj2
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1733 arg6
= (long) SWIG_AsLong(obj5
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1738 arg7
= wxString_in_helper(obj6
);
1739 if (arg7
== NULL
) SWIG_fail
;
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1767 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1774 int arg6
= (int) 0 ;
1775 int arg7
= (int) 0 ;
1776 bool arg8
= (bool) False
;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1779 PyObject
* obj2
= 0 ;
1780 PyObject
* obj3
= 0 ;
1781 PyObject
* obj4
= 0 ;
1782 PyObject
* obj5
= 0 ;
1783 PyObject
* obj6
= 0 ;
1784 PyObject
* obj7
= 0 ;
1786 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 arg2
= (int) SWIG_AsInt(obj1
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1794 arg3
= (int) SWIG_AsInt(obj2
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1796 arg4
= (int) SWIG_AsInt(obj3
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg5
= (int) SWIG_AsInt(obj4
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 arg6
= (int) SWIG_AsInt(obj5
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1805 arg7
= (int) SWIG_AsInt(obj6
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1809 arg8
= (bool) SWIG_AsBool(obj7
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 Py_INCREF(Py_None
); resultobj
= Py_None
;
1826 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1831 PyObject
* obj0
= 0 ;
1832 PyObject
* obj1
= 0 ;
1833 PyObject
* obj2
= 0 ;
1835 (char *) "self",(char *) "x",(char *) "y", NULL
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1841 arg2
= (int) SWIG_AsInt(obj1
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1843 arg3
= (int) SWIG_AsInt(obj2
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 (arg1
)->Scroll(arg2
,arg3
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1852 Py_INCREF(Py_None
); resultobj
= Py_None
;
1859 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
*resultobj
;
1861 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1865 PyObject
* obj1
= 0 ;
1867 (char *) "self",(char *) "orient", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 arg2
= (int) SWIG_AsInt(obj1
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= SWIG_FromInt((int)result
);
1889 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1895 PyObject
* obj1
= 0 ;
1896 PyObject
* obj2
= 0 ;
1898 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 arg2
= (int) SWIG_AsInt(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1906 arg3
= (int) SWIG_AsInt(obj2
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1929 PyObject
* obj2
= 0 ;
1931 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 arg2
= (int) SWIG_AsInt(obj1
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1939 arg3
= (int) SWIG_AsInt(obj2
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 (arg1
)->SetScrollRate(arg2
,arg3
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1958 int *arg2
= (int *) 0 ;
1959 int *arg3
= (int *) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1982 resultobj
= t_output_helper(resultobj
,o
);
1985 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1986 resultobj
= t_output_helper(resultobj
,o
);
1994 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1999 PyObject
* obj0
= 0 ;
2000 PyObject
* obj1
= 0 ;
2001 PyObject
* obj2
= 0 ;
2003 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2009 arg2
= (bool) SWIG_AsBool(obj1
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2011 arg3
= (bool) SWIG_AsBool(obj2
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->EnableScrolling(arg2
,arg3
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2027 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2030 int *arg2
= (int *) 0 ;
2031 int *arg3
= (int *) 0 ;
2034 PyObject
* obj0
= 0 ;
2036 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",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 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2054 resultobj
= t_output_helper(resultobj
,o
);
2057 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2058 resultobj
= t_output_helper(resultobj
,o
);
2066 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2072 PyObject
* obj1
= 0 ;
2073 PyObject
* obj2
= 0 ;
2075 (char *) "self",(char *) "xs",(char *) "ys", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2081 arg2
= (double) SWIG_AsDouble(obj1
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2083 arg3
= (double) SWIG_AsDouble(obj2
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 (arg1
)->SetScale(arg2
,arg3
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 Py_INCREF(Py_None
); resultobj
= Py_None
;
2099 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2103 PyObject
* obj0
= 0 ;
2105 (char *) "self", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 resultobj
= SWIG_FromDouble((double)result
);
2125 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= SWIG_FromDouble((double)result
);
2151 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2152 PyObject
*resultobj
;
2153 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2158 PyObject
* obj1
= 0 ;
2160 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 wxPoint
* resultptr
;
2176 resultptr
= new wxPoint((wxPoint
&) result
);
2177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2185 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2186 PyObject
*resultobj
;
2187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2190 int *arg4
= (int *) 0 ;
2191 int *arg5
= (int *) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2196 PyObject
* obj2
= 0 ;
2200 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 arg2
= (int) SWIG_AsInt(obj1
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2205 arg3
= (int) SWIG_AsInt(obj2
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2214 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2217 resultobj
= t_output_helper(resultobj
,o
);
2220 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2221 resultobj
= t_output_helper(resultobj
,o
);
2229 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2234 argc
= PyObject_Length(args
);
2235 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2236 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2251 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2254 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2270 _v
= SWIG_CheckInt(argv
[1]);
2272 _v
= SWIG_CheckInt(argv
[2]);
2274 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2280 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2285 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2286 PyObject
*resultobj
;
2287 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2294 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2309 wxPoint
* resultptr
;
2310 resultptr
= new wxPoint((wxPoint
&) result
);
2311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2319 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2320 PyObject
*resultobj
;
2321 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2324 int *arg4
= (int *) 0 ;
2325 int *arg5
= (int *) 0 ;
2328 PyObject
* obj0
= 0 ;
2329 PyObject
* obj1
= 0 ;
2330 PyObject
* obj2
= 0 ;
2334 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2337 arg2
= (int) SWIG_AsInt(obj1
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2339 arg3
= (int) SWIG_AsInt(obj2
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2348 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2351 resultobj
= t_output_helper(resultobj
,o
);
2354 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2355 resultobj
= t_output_helper(resultobj
,o
);
2363 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2368 argc
= PyObject_Length(args
);
2369 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2376 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2385 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2388 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2396 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2404 _v
= SWIG_CheckInt(argv
[1]);
2406 _v
= SWIG_CheckInt(argv
[2]);
2408 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2414 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2419 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->AdjustScrollbars();
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2447 wxScrollWinEvent
*arg2
= 0 ;
2449 PyObject
* obj0
= 0 ;
2450 PyObject
* obj1
= 0 ;
2452 (char *) "self",(char *) "event", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2462 PyErr_SetString(PyExc_TypeError
,"null reference");
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_FromInt((int)result
);
2479 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2482 wxWindow
*arg2
= (wxWindow
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2486 (char *) "self",(char *) "target", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 (arg1
)->SetTargetWindow(arg2
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2512 PyObject
* obj0
= 0 ;
2514 (char *) "self", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= wxPyMake_wxObject(result
, 0);
2536 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2544 (char *) "self",(char *) "rect", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2561 Py_INCREF(Py_None
); resultobj
= Py_None
;
2568 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2572 PyObject
* obj0
= 0 ;
2574 (char *) "self", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2589 resultptr
= new wxRect((wxRect
&) result
);
2590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2598 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2602 PyObject
* obj0
= 0 ;
2603 PyObject
* obj1
= 0 ;
2605 (char *) "self",(char *) "dc", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2615 PyErr_SetString(PyExc_TypeError
,"null reference");
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 (arg1
)->DoPrepareDC(*arg2
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2625 Py_INCREF(Py_None
); resultobj
= Py_None
;
2632 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2635 wxVisualAttributes result
;
2636 PyObject
* obj0
= 0 ;
2638 (char *) "variant", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2643 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 if (!wxPyCheckForApp()) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2655 wxVisualAttributes
* resultptr
;
2656 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2665 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2668 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2670 return Py_BuildValue((char *)"");
2672 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2673 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2678 static PyObject
*_wrap_FrameNameStr_get() {
2683 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2685 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2692 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2693 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2698 static PyObject
*_wrap_DialogNameStr_get() {
2703 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2705 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2712 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2713 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2718 static PyObject
*_wrap_StatusLineNameStr_get() {
2723 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2725 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2732 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2733 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2738 static PyObject
*_wrap_ToolBarNameStr_get() {
2743 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2745 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2752 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2755 bool arg2
= (bool) True
;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "maximize", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (bool) SWIG_AsBool(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 (arg1
)->Maximize(arg2
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 Py_INCREF(Py_None
); resultobj
= Py_None
;
2808 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2811 bool arg2
= (bool) True
;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2815 (char *) "self",(char *) "iconize", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 arg2
= (bool) SWIG_AsBool(obj1
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 (arg1
)->Iconize(arg2
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2832 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "self", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2867 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
*resultobj
;
2869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "self", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2895 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2897 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "self", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2916 resultptr
= new wxIcon((wxIcon
&) result
);
2917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2925 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "icon", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2942 PyErr_SetString(PyExc_TypeError
,"null reference");
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2962 wxIconBundle
*arg2
= 0 ;
2963 PyObject
* obj0
= 0 ;
2964 PyObject
* obj1
= 0 ;
2966 (char *) "self",(char *) "icons", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2976 PyErr_SetString(PyExc_TypeError
,"null reference");
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 Py_INCREF(Py_None
); resultobj
= Py_None
;
2993 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2997 long arg3
= (long) wxFULLSCREEN_ALL
;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3001 PyObject
* obj2
= 0 ;
3003 (char *) "self",(char *) "show",(char *) "style", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3009 arg2
= (bool) SWIG_AsBool(obj1
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 arg3
= (long) SWIG_AsLong(obj2
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3031 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3037 (char *) "self", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3059 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3062 wxString
*arg2
= 0 ;
3063 bool temp2
= False
;
3064 PyObject
* obj0
= 0 ;
3065 PyObject
* obj1
= 0 ;
3067 (char *) "self",(char *) "title", NULL
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3074 arg2
= wxString_in_helper(obj1
);
3075 if (arg2
== NULL
) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 (arg1
)->SetTitle((wxString
const &)*arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "self", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3132 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3135 wxRegion
*arg2
= 0 ;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3140 (char *) "self",(char *) "region", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3150 PyErr_SetString(PyExc_TypeError
,"null reference");
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3169 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "on", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 arg2
= (bool) SWIG_AsBool(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 (arg1
)->MacSetMetalAppearance(arg2
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3198 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3226 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3231 return Py_BuildValue((char *)"");
3233 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
*resultobj
;
3235 wxWindow
*arg1
= (wxWindow
*) 0 ;
3236 int arg2
= (int) (int)-1 ;
3237 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3238 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3243 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3244 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3247 bool temp3
= False
;
3250 bool temp7
= False
;
3251 PyObject
* obj0
= 0 ;
3252 PyObject
* obj1
= 0 ;
3253 PyObject
* obj2
= 0 ;
3254 PyObject
* obj3
= 0 ;
3255 PyObject
* obj4
= 0 ;
3256 PyObject
* obj5
= 0 ;
3257 PyObject
* obj6
= 0 ;
3259 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 arg2
= (int const) SWIG_AsInt(obj1
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3271 arg3
= wxString_in_helper(obj2
);
3272 if (arg3
== NULL
) SWIG_fail
;
3279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3289 arg6
= (long) SWIG_AsLong(obj5
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3294 arg7
= wxString_in_helper(obj6
);
3295 if (arg7
== NULL
) SWIG_fail
;
3300 if (!wxPyCheckForApp()) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3330 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3339 if (!wxPyCheckForApp()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 result
= (wxFrame
*)new wxFrame();
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3353 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxFrame
*arg1
= (wxFrame
*) 0 ;
3356 wxWindow
*arg2
= (wxWindow
*) 0 ;
3357 int arg3
= (int) (int)-1 ;
3358 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3364 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3365 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3368 bool temp4
= False
;
3371 bool temp8
= False
;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3375 PyObject
* obj3
= 0 ;
3376 PyObject
* obj4
= 0 ;
3377 PyObject
* obj5
= 0 ;
3378 PyObject
* obj6
= 0 ;
3379 PyObject
* obj7
= 0 ;
3381 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 arg3
= (int const) SWIG_AsInt(obj2
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3395 arg4
= wxString_in_helper(obj3
);
3396 if (arg4
== NULL
) SWIG_fail
;
3403 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3409 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3413 arg7
= (long) SWIG_AsLong(obj6
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3418 arg8
= wxString_in_helper(obj7
);
3419 if (arg8
== NULL
) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3455 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxFrame
*arg1
= (wxFrame
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3461 (char *) "self", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 wxPoint
* resultptr
;
3476 resultptr
= new wxPoint((wxPoint
&) result
);
3477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3485 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxFrame
*arg1
= (wxFrame
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 (arg1
)->SendSizeEvent();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 Py_INCREF(Py_None
); resultobj
= Py_None
;
3510 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxFrame
*arg1
= (wxFrame
*) 0 ;
3513 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3517 (char *) "self",(char *) "menubar", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetMenuBar(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxFrame
*arg1
= (wxFrame
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= wxPyMake_wxObject(result
, 0);
3567 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxFrame
*arg1
= (wxFrame
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "winid", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= (int) SWIG_AsInt(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3599 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxFrame
*arg1
= (wxFrame
*) 0 ;
3602 int arg2
= (int) 1 ;
3603 long arg3
= (long) wxST_SIZEGRIP
;
3604 int arg4
= (int) 0 ;
3605 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3606 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3607 wxStatusBar
*result
;
3608 bool temp5
= False
;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3611 PyObject
* obj2
= 0 ;
3612 PyObject
* obj3
= 0 ;
3613 PyObject
* obj4
= 0 ;
3615 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 arg2
= (int) SWIG_AsInt(obj1
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3626 arg3
= (long) SWIG_AsLong(obj2
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 arg4
= (int) SWIG_AsInt(obj3
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3635 arg5
= wxString_in_helper(obj4
);
3636 if (arg5
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= wxPyMake_wxObject(result
, 0);
3664 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxFrame
*arg1
= (wxFrame
*) 0 ;
3667 wxStatusBar
*result
;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 resultobj
= wxPyMake_wxObject(result
, 0);
3692 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxFrame
*arg1
= (wxFrame
*) 0 ;
3695 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3699 (char *) "self",(char *) "statBar", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetStatusBar(arg2
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxFrame
*arg1
= (wxFrame
*) 0 ;
3724 wxString
*arg2
= 0 ;
3725 int arg3
= (int) 0 ;
3726 bool temp2
= False
;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3729 PyObject
* obj2
= 0 ;
3731 (char *) "self",(char *) "text",(char *) "number", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3738 arg2
= wxString_in_helper(obj1
);
3739 if (arg2
== NULL
) SWIG_fail
;
3743 arg3
= (int) SWIG_AsInt(obj2
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxFrame
*arg1
= (wxFrame
*) 0 ;
3772 int *arg3
= (int *) 0 ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3776 (char *) "self",(char *) "widths", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 arg2
= PyList_Size(obj1
);
3784 arg3
= int_LIST_helper(obj1
);
3785 if (arg3
== NULL
) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 Py_INCREF(Py_None
); resultobj
= Py_None
;
3796 if (arg3
) delete [] arg3
;
3801 if (arg3
) delete [] arg3
;
3807 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxFrame
*arg1
= (wxFrame
*) 0 ;
3810 wxString
*arg2
= 0 ;
3811 int arg3
= (int) 0 ;
3812 bool temp2
= False
;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3815 PyObject
* obj2
= 0 ;
3817 (char *) "self",(char *) "text",(char *) "number", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 arg2
= wxString_in_helper(obj1
);
3825 if (arg2
== NULL
) SWIG_fail
;
3829 arg3
= (int) SWIG_AsInt(obj2
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxFrame
*arg1
= (wxFrame
*) 0 ;
3857 int arg2
= (int) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "number", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3868 arg2
= (int) SWIG_AsInt(obj1
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 (arg1
)->PopStatusText(arg2
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3885 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxFrame
*arg1
= (wxFrame
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "n", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 arg2
= (int) SWIG_AsInt(obj1
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetStatusBarPane(arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxFrame
*arg1
= (wxFrame
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_FromInt((int)result
);
3940 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxFrame
*arg1
= (wxFrame
*) 0 ;
3943 long arg2
= (long) -1 ;
3944 int arg3
= (int) -1 ;
3945 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3946 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3948 bool temp4
= False
;
3949 PyObject
* obj0
= 0 ;
3950 PyObject
* obj1
= 0 ;
3951 PyObject
* obj2
= 0 ;
3952 PyObject
* obj3
= 0 ;
3954 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3961 arg2
= (long) SWIG_AsLong(obj1
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 arg3
= (int) SWIG_AsInt(obj2
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3970 arg4
= wxString_in_helper(obj3
);
3971 if (arg4
== NULL
) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= wxPyMake_wxObject(result
, 0);
3999 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxFrame
*arg1
= (wxFrame
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= wxPyMake_wxObject(result
, 0);
4027 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxFrame
*arg1
= (wxFrame
*) 0 ;
4030 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "self",(char *) "toolbar", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 (arg1
)->SetToolBar(arg2
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 Py_INCREF(Py_None
); resultobj
= Py_None
;
4056 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxFrame
*arg1
= (wxFrame
*) 0 ;
4059 wxString
*arg2
= 0 ;
4061 bool temp2
= False
;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4064 PyObject
* obj2
= 0 ;
4066 (char *) "self",(char *) "text",(char *) "show", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= wxString_in_helper(obj1
);
4074 if (arg2
== NULL
) SWIG_fail
;
4077 arg3
= (bool) SWIG_AsBool(obj2
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4101 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxFrame
*arg1
= (wxFrame
*) 0 ;
4104 wxMenu
*arg2
= (wxMenu
*) NULL
;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "menu", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 (arg1
)->DoMenuUpdates(arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 Py_INCREF(Py_None
); resultobj
= Py_None
;
4132 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4135 wxVisualAttributes result
;
4136 PyObject
* obj0
= 0 ;
4138 (char *) "variant", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4143 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 wxVisualAttributes
* resultptr
;
4156 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4165 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4168 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4170 return Py_BuildValue((char *)"");
4172 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxWindow
*arg1
= (wxWindow
*) 0 ;
4175 int arg2
= (int) (int)-1 ;
4176 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4178 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4179 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4180 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4181 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4182 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4183 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4184 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4186 bool temp3
= False
;
4189 bool temp7
= False
;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4192 PyObject
* obj2
= 0 ;
4193 PyObject
* obj3
= 0 ;
4194 PyObject
* obj4
= 0 ;
4195 PyObject
* obj5
= 0 ;
4196 PyObject
* obj6
= 0 ;
4198 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4205 arg2
= (int const) SWIG_AsInt(obj1
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4210 arg3
= wxString_in_helper(obj2
);
4211 if (arg3
== NULL
) SWIG_fail
;
4218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4228 arg6
= (long) SWIG_AsLong(obj5
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4233 arg7
= wxString_in_helper(obj6
);
4234 if (arg7
== NULL
) SWIG_fail
;
4239 if (!wxPyCheckForApp()) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4269 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4278 if (!wxPyCheckForApp()) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (wxDialog
*)new wxDialog();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4292 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxDialog
*arg1
= (wxDialog
*) 0 ;
4295 wxWindow
*arg2
= (wxWindow
*) 0 ;
4296 int arg3
= (int) (int)-1 ;
4297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4299 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4300 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4301 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4302 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4303 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4304 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4305 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4307 bool temp4
= False
;
4310 bool temp8
= False
;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 PyObject
* obj2
= 0 ;
4314 PyObject
* obj3
= 0 ;
4315 PyObject
* obj4
= 0 ;
4316 PyObject
* obj5
= 0 ;
4317 PyObject
* obj6
= 0 ;
4318 PyObject
* obj7
= 0 ;
4320 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg3
= (int const) SWIG_AsInt(obj2
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4334 arg4
= wxString_in_helper(obj3
);
4335 if (arg4
== NULL
) SWIG_fail
;
4342 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4348 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4352 arg7
= (long) SWIG_AsLong(obj6
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 arg8
= wxString_in_helper(obj7
);
4358 if (arg8
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxDialog
*arg1
= (wxDialog
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4401 (char *) "self",(char *) "returnCode", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 arg2
= (int) SWIG_AsInt(obj1
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 (arg1
)->SetReturnCode(arg2
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 Py_INCREF(Py_None
); resultobj
= Py_None
;
4423 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxDialog
*arg1
= (wxDialog
*) 0 ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "self", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_FromInt((int)result
);
4449 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxDialog
*arg1
= (wxDialog
*) 0 ;
4452 wxString
*arg2
= 0 ;
4454 bool temp2
= False
;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "message", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 arg2
= wxString_in_helper(obj1
);
4466 if (arg2
== NULL
) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= wxPyMake_wxSizer(result
, 0);
4493 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxDialog
*arg1
= (wxDialog
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4501 (char *) "self",(char *) "flags", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 arg2
= (long) SWIG_AsLong(obj1
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= wxPyMake_wxSizer(result
, 0);
4525 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxDialog
*arg1
= (wxDialog
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4553 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxDialog
*arg1
= (wxDialog
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (int)(arg1
)->ShowModal();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= SWIG_FromInt((int)result
);
4579 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxDialog
*arg1
= (wxDialog
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4586 (char *) "self",(char *) "retCode", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4592 arg2
= (int) SWIG_AsInt(obj1
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->EndModal(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4611 wxVisualAttributes result
;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "variant", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4619 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 if (!wxPyCheckForApp()) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 wxVisualAttributes
* resultptr
;
4632 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4641 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4644 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4646 return Py_BuildValue((char *)"");
4648 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxWindow
*arg1
= (wxWindow
*) 0 ;
4651 int arg2
= (int) (int)-1 ;
4652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4658 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4659 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4661 wxMiniFrame
*result
;
4662 bool temp3
= False
;
4665 bool temp7
= False
;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4669 PyObject
* obj3
= 0 ;
4670 PyObject
* obj4
= 0 ;
4671 PyObject
* obj5
= 0 ;
4672 PyObject
* obj6
= 0 ;
4674 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg2
= (int const) SWIG_AsInt(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4686 arg3
= wxString_in_helper(obj2
);
4687 if (arg3
== NULL
) SWIG_fail
;
4694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4704 arg6
= (long) SWIG_AsLong(obj5
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4709 arg7
= wxString_in_helper(obj6
);
4710 if (arg7
== NULL
) SWIG_fail
;
4715 if (!wxPyCheckForApp()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4745 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxMiniFrame
*result
;
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxMiniFrame
*)new wxMiniFrame();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4768 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4771 wxWindow
*arg2
= (wxWindow
*) 0 ;
4772 int arg3
= (int) (int)-1 ;
4773 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4774 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4779 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4780 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4783 bool temp4
= False
;
4786 bool temp8
= False
;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4789 PyObject
* obj2
= 0 ;
4790 PyObject
* obj3
= 0 ;
4791 PyObject
* obj4
= 0 ;
4792 PyObject
* obj5
= 0 ;
4793 PyObject
* obj6
= 0 ;
4794 PyObject
* obj7
= 0 ;
4796 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4805 arg3
= (int const) SWIG_AsInt(obj2
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4810 arg4
= wxString_in_helper(obj3
);
4811 if (arg4
== NULL
) SWIG_fail
;
4818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4828 arg7
= (long) SWIG_AsLong(obj6
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 arg8
= wxString_in_helper(obj7
);
4834 if (arg8
== NULL
) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4870 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4873 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4875 return Py_BuildValue((char *)"");
4877 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxBitmap
*arg1
= 0 ;
4880 wxWindow
*arg2
= (wxWindow
*) 0 ;
4882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4886 long arg6
= (long) wxNO_BORDER
;
4887 wxSplashScreenWindow
*result
;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4892 PyObject
* obj2
= 0 ;
4893 PyObject
* obj3
= 0 ;
4894 PyObject
* obj4
= 0 ;
4895 PyObject
* obj5
= 0 ;
4897 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4905 PyErr_SetString(PyExc_TypeError
,"null reference");
4908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg3
= (int) SWIG_AsInt(obj2
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4925 arg6
= (long) SWIG_AsLong(obj5
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 if (!wxPyCheckForApp()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4943 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4946 wxBitmap
*arg2
= 0 ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4950 (char *) "self",(char *) "bitmap", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4960 PyErr_SetString(PyExc_TypeError
,"null reference");
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4983 (char *) "self", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4993 result
= (wxBitmap
*) &_result_ref
;
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
5000 wxBitmap
* resultptr
= new wxBitmap(*result
);
5001 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5009 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
5011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5012 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5014 return Py_BuildValue((char *)"");
5016 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
;
5018 wxBitmap
*arg1
= 0 ;
5021 wxWindow
*arg4
= (wxWindow
*) 0 ;
5022 int arg5
= (int) -1 ;
5023 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5024 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5025 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5026 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5027 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5028 wxSplashScreen
*result
;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 PyObject
* obj2
= 0 ;
5034 PyObject
* obj3
= 0 ;
5035 PyObject
* obj4
= 0 ;
5036 PyObject
* obj5
= 0 ;
5037 PyObject
* obj6
= 0 ;
5038 PyObject
* obj7
= 0 ;
5040 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5048 PyErr_SetString(PyExc_TypeError
,"null reference");
5051 arg2
= (long) SWIG_AsLong(obj1
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5053 arg3
= (int) SWIG_AsInt(obj2
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5055 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5058 arg5
= (int) SWIG_AsInt(obj4
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5064 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5070 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5074 arg8
= (long) SWIG_AsLong(obj7
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 if (!wxPyCheckForApp()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5092 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5098 (char *) "self", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_FromLong((long)result
);
5118 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5121 wxSplashScreenWindow
*result
;
5122 PyObject
* obj0
= 0 ;
5124 (char *) "self", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5144 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_FromInt((int)result
);
5170 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5173 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5175 return Py_BuildValue((char *)"");
5177 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxWindow
*arg1
= (wxWindow
*) 0 ;
5180 int arg2
= (int) -1 ;
5181 long arg3
= (long) wxST_SIZEGRIP
;
5182 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5184 wxStatusBar
*result
;
5185 bool temp4
= False
;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5188 PyObject
* obj2
= 0 ;
5189 PyObject
* obj3
= 0 ;
5191 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 arg2
= (int) SWIG_AsInt(obj1
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5202 arg3
= (long) SWIG_AsLong(obj2
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5207 arg4
= wxString_in_helper(obj3
);
5208 if (arg4
== NULL
) SWIG_fail
;
5213 if (!wxPyCheckForApp()) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5235 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxStatusBar
*result
;
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5244 if (!wxPyCheckForApp()) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (wxStatusBar
*)new wxStatusBar();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5258 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5261 wxWindow
*arg2
= (wxWindow
*) 0 ;
5262 int arg3
= (int) -1 ;
5263 long arg4
= (long) wxST_SIZEGRIP
;
5264 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5265 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5267 bool temp5
= False
;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5270 PyObject
* obj2
= 0 ;
5271 PyObject
* obj3
= 0 ;
5272 PyObject
* obj4
= 0 ;
5274 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 arg3
= (int) SWIG_AsInt(obj2
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 arg4
= (long) SWIG_AsLong(obj3
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5292 arg5
= wxString_in_helper(obj4
);
5293 if (arg5
== NULL
) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5321 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5324 int arg2
= (int) 1 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5328 (char *) "self",(char *) "number", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5335 arg2
= (int) SWIG_AsInt(obj1
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->SetFieldsCount(arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_FromInt((int)result
);
5378 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5381 wxString
*arg2
= 0 ;
5382 int arg3
= (int) 0 ;
5383 bool temp2
= False
;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5388 (char *) "self",(char *) "text",(char *) "number", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= wxString_in_helper(obj1
);
5396 if (arg2
== NULL
) SWIG_fail
;
5400 arg3
= (int) SWIG_AsInt(obj2
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5425 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5428 int arg2
= (int) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "number", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 arg2
= (int) SWIG_AsInt(obj1
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5463 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5466 wxString
*arg2
= 0 ;
5467 int arg3
= (int) 0 ;
5468 bool temp2
= False
;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 PyObject
* obj2
= 0 ;
5473 (char *) "self",(char *) "text",(char *) "number", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= wxString_in_helper(obj1
);
5481 if (arg2
== NULL
) SWIG_fail
;
5485 arg3
= (int) SWIG_AsInt(obj2
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5513 int arg2
= (int) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "number", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 arg2
= (int) SWIG_AsInt(obj1
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 (arg1
)->PopStatusText(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5545 int *arg3
= (int *) 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5549 (char *) "self",(char *) "widths", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5556 arg2
= PyList_Size(obj1
);
5557 arg3
= int_LIST_helper(obj1
);
5558 if (arg3
== NULL
) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 if (arg3
) delete [] arg3
;
5574 if (arg3
) delete [] arg3
;
5580 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5584 int *arg3
= (int *) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "styles", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 arg2
= PyList_Size(obj1
);
5596 arg3
= int_LIST_helper(obj1
);
5597 if (arg3
== NULL
) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 if (arg3
) delete [] arg3
;
5613 if (arg3
) delete [] arg3
;
5619 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "i", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 arg2
= (int) SWIG_AsInt(obj1
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5644 resultptr
= new wxRect((wxRect
&) result
);
5645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5653 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "height", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= (int) SWIG_AsInt(obj1
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetMinHeight(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_FromInt((int)result
);
5708 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_FromInt((int)result
);
5734 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5737 wxVisualAttributes result
;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "variant", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5745 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 if (!wxPyCheckForApp()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 wxVisualAttributes
* resultptr
;
5758 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5767 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5770 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5772 return Py_BuildValue((char *)"");
5774 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5775 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5780 static PyObject
*_wrap_SplitterNameStr_get() {
5785 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5787 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5794 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxWindow
*arg1
= (wxWindow
*) 0 ;
5797 int arg2
= (int) -1 ;
5798 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5799 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5800 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5801 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5802 long arg5
= (long) wxSP_3D
;
5803 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5804 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5805 wxSplitterWindow
*result
;
5808 bool temp6
= False
;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5811 PyObject
* obj2
= 0 ;
5812 PyObject
* obj3
= 0 ;
5813 PyObject
* obj4
= 0 ;
5814 PyObject
* obj5
= 0 ;
5816 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 arg2
= (int) SWIG_AsInt(obj1
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5835 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5839 arg5
= (long) SWIG_AsLong(obj4
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 arg6
= wxString_in_helper(obj5
);
5845 if (arg6
== NULL
) SWIG_fail
;
5850 if (!wxPyCheckForApp()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5872 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxSplitterWindow
*result
;
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5881 if (!wxPyCheckForApp()) SWIG_fail
;
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5895 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5898 wxWindow
*arg2
= (wxWindow
*) 0 ;
5899 int arg3
= (int) -1 ;
5900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5904 long arg6
= (long) wxSP_3D
;
5905 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5910 bool temp7
= False
;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5913 PyObject
* obj2
= 0 ;
5914 PyObject
* obj3
= 0 ;
5915 PyObject
* obj4
= 0 ;
5916 PyObject
* obj5
= 0 ;
5917 PyObject
* obj6
= 0 ;
5919 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 arg3
= (int) SWIG_AsInt(obj2
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5944 arg6
= (long) SWIG_AsLong(obj5
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5949 arg7
= wxString_in_helper(obj6
);
5950 if (arg7
== NULL
) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= wxPyMake_wxObject(result
, 0);
6006 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= wxPyMake_wxObject(result
, 0);
6034 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "mode", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (int) SWIG_AsInt(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 (arg1
)->SetSplitMode(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6063 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6067 PyObject
* obj0
= 0 ;
6069 (char *) "self", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= SWIG_FromInt((int)result
);
6089 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6092 wxWindow
*arg2
= (wxWindow
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6096 (char *) "self",(char *) "window", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 (arg1
)->Initialize(arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 Py_INCREF(Py_None
); resultobj
= Py_None
;
6118 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6121 wxWindow
*arg2
= (wxWindow
*) 0 ;
6122 wxWindow
*arg3
= (wxWindow
*) 0 ;
6123 int arg4
= (int) 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6127 PyObject
* obj2
= 0 ;
6128 PyObject
* obj3
= 0 ;
6130 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg4
= (int) SWIG_AsInt(obj3
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6160 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6163 wxWindow
*arg2
= (wxWindow
*) 0 ;
6164 wxWindow
*arg3
= (wxWindow
*) 0 ;
6165 int arg4
= (int) 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6170 PyObject
* obj3
= 0 ;
6172 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 arg4
= (int) SWIG_AsInt(obj3
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6202 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6205 wxWindow
*arg2
= (wxWindow
*) NULL
;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "toRemove", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (bool)(arg1
)->Unsplit(arg2
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6236 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6239 wxWindow
*arg2
= (wxWindow
*) 0 ;
6240 wxWindow
*arg3
= (wxWindow
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6244 PyObject
* obj2
= 0 ;
6246 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6272 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 (arg1
)->UpdateSize();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6325 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6332 (char *) "self",(char *) "width", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= (int) SWIG_AsInt(obj1
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetSashSize(arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj1
= 0 ;
6361 (char *) "self",(char *) "width", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 arg2
= (int) SWIG_AsInt(obj1
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetBorderSize(arg2
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 Py_INCREF(Py_None
); resultobj
= Py_None
;
6383 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "self", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= SWIG_FromInt((int)result
);
6409 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_FromInt((int)result
);
6435 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6439 bool arg3
= (bool) True
;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 PyObject
* obj2
= 0 ;
6444 (char *) "self",(char *) "position",(char *) "redraw", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 arg2
= (int) SWIG_AsInt(obj1
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 arg3
= (bool) SWIG_AsBool(obj2
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 (arg1
)->SetSashPosition(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 Py_INCREF(Py_None
); resultobj
= Py_None
;
6470 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_FromInt((int)result
);
6496 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6503 (char *) "self",(char *) "min", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 arg2
= (int) SWIG_AsInt(obj1
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->SetMinimumPaneSize(arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_FromInt((int)result
);
6551 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6556 int arg4
= (int) 5 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6560 PyObject
* obj2
= 0 ;
6561 PyObject
* obj3
= 0 ;
6563 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6569 arg2
= (int) SWIG_AsInt(obj1
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6571 arg3
= (int) SWIG_AsInt(obj2
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 arg4
= (int) SWIG_AsInt(obj3
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6593 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6598 (char *) "self", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 (arg1
)->SizeWindows();
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6625 (char *) "self",(char *) "needUpdating", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 arg2
= (bool) SWIG_AsBool(obj1
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetNeedUpdating(arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6678 wxVisualAttributes result
;
6679 PyObject
* obj0
= 0 ;
6681 (char *) "variant", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6686 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 if (!wxPyCheckForApp()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 wxVisualAttributes
* resultptr
;
6699 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6708 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6711 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6713 return Py_BuildValue((char *)"");
6715 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6718 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6719 wxSplitterEvent
*result
;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "type",(char *) "splitter", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6749 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "pos", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 arg2
= (int) SWIG_AsInt(obj1
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetSashPosition(arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_FromInt((int)result
);
6804 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= wxPyMake_wxObject(result
, 0);
6832 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_FromInt((int)result
);
6858 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_FromInt((int)result
);
6884 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6887 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6889 return Py_BuildValue((char *)"");
6891 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6892 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6897 static PyObject
*_wrap_SashNameStr_get() {
6902 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6904 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6911 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6912 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6917 static PyObject
*_wrap_SashLayoutNameStr_get() {
6922 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6924 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6931 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxWindow
*arg1
= (wxWindow
*) 0 ;
6934 int arg2
= (int) -1 ;
6935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6939 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6940 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6941 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6942 wxSashWindow
*result
;
6945 bool temp6
= False
;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 PyObject
* obj3
= 0 ;
6950 PyObject
* obj4
= 0 ;
6951 PyObject
* obj5
= 0 ;
6953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 arg2
= (int) SWIG_AsInt(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6976 arg5
= (long) SWIG_AsLong(obj4
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6981 arg6
= wxString_in_helper(obj5
);
6982 if (arg6
== NULL
) SWIG_fail
;
6987 if (!wxPyCheckForApp()) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7009 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxSashWindow
*result
;
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7018 if (!wxPyCheckForApp()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxSashWindow
*)new wxSashWindow();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7032 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7035 wxWindow
*arg2
= (wxWindow
*) 0 ;
7036 int arg3
= (int) -1 ;
7037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7041 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7042 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7043 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7047 bool temp7
= False
;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7050 PyObject
* obj2
= 0 ;
7051 PyObject
* obj3
= 0 ;
7052 PyObject
* obj4
= 0 ;
7053 PyObject
* obj5
= 0 ;
7054 PyObject
* obj6
= 0 ;
7056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7065 arg3
= (int) SWIG_AsInt(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7081 arg6
= (long) SWIG_AsLong(obj5
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7086 arg7
= wxString_in_helper(obj6
);
7087 if (arg7
== NULL
) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7115 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 PyObject
* obj2
= 0 ;
7124 (char *) "self",(char *) "edge",(char *) "sash", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7132 arg3
= (bool) SWIG_AsBool(obj2
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7156 (char *) "self",(char *) "edge", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7162 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7187 PyObject
* obj2
= 0 ;
7189 (char *) "self",(char *) "edge",(char *) "border", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7195 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7197 arg3
= (bool) SWIG_AsBool(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "edge", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7245 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "edge", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7259 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_FromInt((int)result
);
7275 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7279 PyObject
* obj0
= 0 ;
7280 PyObject
* obj1
= 0 ;
7282 (char *) "self",(char *) "width", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 arg2
= (int) SWIG_AsInt(obj1
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 (arg1
)->SetDefaultBorderSize(arg2
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "self", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_FromInt((int)result
);
7330 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "self",(char *) "width", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 arg2
= (int) SWIG_AsInt(obj1
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetExtraBorderSize(arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "self", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_FromInt((int)result
);
7385 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7392 (char *) "self",(char *) "min", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= (int) SWIG_AsInt(obj1
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->SetMinimumSizeX(arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj1
= 0 ;
7421 (char *) "self",(char *) "min", NULL
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 arg2
= (int) SWIG_AsInt(obj1
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetMinimumSizeY(arg2
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7449 (char *) "self", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= SWIG_FromInt((int)result
);
7469 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_FromInt((int)result
);
7495 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "max", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (int) SWIG_AsInt(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetMaximumSizeX(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "max", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 arg2
= (int) SWIG_AsInt(obj1
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 (arg1
)->SetMaximumSizeY(arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7553 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_FromInt((int)result
);
7579 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_FromInt((int)result
);
7605 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7610 int arg4
= (int) 2 ;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7614 PyObject
* obj2
= 0 ;
7615 PyObject
* obj3
= 0 ;
7617 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 arg2
= (int) SWIG_AsInt(obj1
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7625 arg3
= (int) SWIG_AsInt(obj2
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 arg4
= (int) SWIG_AsInt(obj3
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_FromInt((int)result
);
7645 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SizeWindows();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7673 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7675 return Py_BuildValue((char *)"");
7677 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 int arg1
= (int) 0 ;
7680 int arg2
= (int) wxSASH_NONE
;
7681 wxSashEvent
*result
;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7685 (char *) "id",(char *) "edge", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7690 arg1
= (int) SWIG_AsInt(obj0
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7711 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7718 (char *) "self",(char *) "edge", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7724 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 Py_INCREF(Py_None
); resultobj
= Py_None
;
7740 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7746 (char *) "self", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= SWIG_FromInt((int)result
);
7766 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7774 (char *) "self",(char *) "rect", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7819 resultptr
= new wxRect((wxRect
&) result
);
7820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7828 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7835 (char *) "self",(char *) "status", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 Py_INCREF(Py_None
); resultobj
= Py_None
;
7857 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7863 (char *) "self", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_FromInt((int)result
);
7883 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7886 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7888 return Py_BuildValue((char *)"");
7890 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 int arg1
= (int) 0 ;
7893 wxQueryLayoutInfoEvent
*result
;
7894 PyObject
* obj0
= 0 ;
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7901 arg1
= (int) SWIG_AsInt(obj0
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7918 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7925 (char *) "self",(char *) "length", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 arg2
= (int) SWIG_AsInt(obj1
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 (arg1
)->SetRequestedLength(arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7947 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
*resultobj
;
7949 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7953 (char *) "self", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_FromInt((int)result
);
7973 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7980 (char *) "self",(char *) "flags", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 arg2
= (int) SWIG_AsInt(obj1
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 (arg1
)->SetFlags(arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_FromInt((int)result
);
8028 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8036 (char *) "self",(char *) "size", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 (arg1
)->SetSize((wxSize
const &)*arg2
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8081 resultptr
= new wxSize((wxSize
&) result
);
8082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8090 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8097 (char *) "self",(char *) "orient", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 Py_INCREF(Py_None
); resultobj
= Py_None
;
8119 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_FromInt((int)result
);
8145 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8152 (char *) "self",(char *) "align", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 Py_INCREF(Py_None
); resultobj
= Py_None
;
8174 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_FromInt((int)result
);
8200 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8203 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8205 return Py_BuildValue((char *)"");
8207 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 int arg1
= (int) 0 ;
8210 wxCalculateLayoutEvent
*result
;
8211 PyObject
* obj0
= 0 ;
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8218 arg1
= (int) SWIG_AsInt(obj0
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8235 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "self",(char *) "flags", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 arg2
= (int) SWIG_AsInt(obj1
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->SetFlags(arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8264 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_FromInt((int)result
);
8290 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8298 (char *) "self",(char *) "rect", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 (arg1
)->SetRect((wxRect
const &)*arg2
);
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8315 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8326 PyObject
* obj0
= 0 ;
8328 (char *) "self", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8343 resultptr
= new wxRect((wxRect
&) result
);
8344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8352 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8355 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8357 return Py_BuildValue((char *)"");
8359 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxWindow
*arg1
= (wxWindow
*) 0 ;
8362 int arg2
= (int) -1 ;
8363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8367 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8368 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8369 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8370 wxSashLayoutWindow
*result
;
8373 bool temp6
= False
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8376 PyObject
* obj2
= 0 ;
8377 PyObject
* obj3
= 0 ;
8378 PyObject
* obj4
= 0 ;
8379 PyObject
* obj5
= 0 ;
8381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 arg2
= (int) SWIG_AsInt(obj1
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8404 arg5
= (long) SWIG_AsLong(obj4
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8409 arg6
= wxString_in_helper(obj5
);
8410 if (arg6
== NULL
) SWIG_fail
;
8415 if (!wxPyCheckForApp()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8437 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxSashLayoutWindow
*result
;
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8446 if (!wxPyCheckForApp()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8460 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8463 wxWindow
*arg2
= (wxWindow
*) 0 ;
8464 int arg3
= (int) -1 ;
8465 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8466 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8467 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8468 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8469 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8470 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8471 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8475 bool temp7
= False
;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8478 PyObject
* obj2
= 0 ;
8479 PyObject
* obj3
= 0 ;
8480 PyObject
* obj4
= 0 ;
8481 PyObject
* obj5
= 0 ;
8482 PyObject
* obj6
= 0 ;
8484 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 arg3
= (int) SWIG_AsInt(obj2
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8499 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8505 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8509 arg6
= (long) SWIG_AsLong(obj5
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8514 arg7
= wxString_in_helper(obj6
);
8515 if (arg7
== NULL
) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8543 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (int)(arg1
)->GetAlignment();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_FromInt((int)result
);
8569 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (int)(arg1
)->GetOrientation();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_FromInt((int)result
);
8595 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8602 (char *) "self",(char *) "alignment", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8632 (char *) "self",(char *) "size", NULL
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 (char *) "self",(char *) "orientation", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8688 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8690 return Py_BuildValue((char *)"");
8692 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxLayoutAlgorithm
*result
;
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8714 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8719 (char *) "self", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8742 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8743 wxRect
*arg3
= (wxRect
*) NULL
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "self",(char *) "frame",(char *) "rect", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8777 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8780 wxFrame
*arg2
= (wxFrame
*) 0 ;
8781 wxWindow
*arg3
= (wxWindow
*) NULL
;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8796 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8815 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8818 wxWindow
*arg2
= (wxWindow
*) 0 ;
8819 wxWindow
*arg3
= (wxWindow
*) NULL
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8825 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8853 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8856 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8858 return Py_BuildValue((char *)"");
8860 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxWindow
*arg1
= (wxWindow
*) 0 ;
8863 int arg2
= (int) wxBORDER_NONE
;
8864 wxPopupWindow
*result
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8868 (char *) "parent",(char *) "flags", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 arg2
= (int) SWIG_AsInt(obj1
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8892 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPopupWindow
*result
;
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxPopupWindow
*)new wxPopupWindow();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8914 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8917 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8919 return Py_BuildValue((char *)"");
8921 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxWindow
*arg1
= (wxWindow
*) 0 ;
8924 int arg2
= (int) wxBORDER_NONE
;
8925 wxPyPopupTransientWindow
*result
;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "parent",(char *) "style", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 arg2
= (int) SWIG_AsInt(obj1
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8953 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxPyPopupTransientWindow
*result
;
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8975 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8978 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8980 return Py_BuildValue((char *)"");
8982 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxWindow
*arg1
= (wxWindow
*) 0 ;
8985 wxString
*arg2
= 0 ;
8986 int arg3
= (int) 100 ;
8987 wxRect
*arg4
= (wxRect
*) NULL
;
8988 wxTipWindow
*result
;
8989 bool temp2
= False
;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8993 PyObject
* obj3
= 0 ;
8995 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 arg2
= wxString_in_helper(obj1
);
9003 if (arg2
== NULL
) SWIG_fail
;
9007 arg3
= (int) SWIG_AsInt(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 if (!wxPyCheckForApp()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9037 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "rectBound", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9069 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9097 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9099 return Py_BuildValue((char *)"");
9101 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxWindow
*arg1
= (wxWindow
*) 0 ;
9104 int arg2
= (int) wxID_ANY
;
9105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9109 long arg5
= (long) 0 ;
9110 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9111 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9112 wxPyVScrolledWindow
*result
;
9115 bool temp6
= False
;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9119 PyObject
* obj3
= 0 ;
9120 PyObject
* obj4
= 0 ;
9121 PyObject
* obj5
= 0 ;
9123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= (int) SWIG_AsInt(obj1
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9146 arg5
= (long) SWIG_AsLong(obj4
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9151 arg6
= wxString_in_helper(obj5
);
9152 if (arg6
== NULL
) SWIG_fail
;
9157 if (!wxPyCheckForApp()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9179 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxPyVScrolledWindow
*result
;
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9188 if (!wxPyCheckForApp()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9202 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9205 PyObject
*arg2
= (PyObject
*) 0 ;
9206 PyObject
*arg3
= (PyObject
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9209 PyObject
* obj2
= 0 ;
9211 (char *) "self",(char *) "self",(char *) "_class", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9236 wxWindow
*arg2
= (wxWindow
*) 0 ;
9237 int arg3
= (int) wxID_ANY
;
9238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9242 long arg6
= (long) 0 ;
9243 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9248 bool temp7
= False
;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9252 PyObject
* obj3
= 0 ;
9253 PyObject
* obj4
= 0 ;
9254 PyObject
* obj5
= 0 ;
9255 PyObject
* obj6
= 0 ;
9257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 arg3
= (int) SWIG_AsInt(obj2
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9278 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9282 arg6
= (long) SWIG_AsLong(obj5
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9287 arg7
= wxString_in_helper(obj6
);
9288 if (arg7
== NULL
) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9316 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9323 (char *) "self",(char *) "count", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9329 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 (arg1
)->SetLineCount(arg2
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9353 (char *) "self",(char *) "line", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "lines", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 arg2
= (int) SWIG_AsInt(obj1
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= (bool)(arg1
)->ScrollLines(arg2
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9409 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9417 (char *) "self",(char *) "pages", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 arg2
= (int) SWIG_AsInt(obj1
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 result
= (bool)(arg1
)->ScrollPages(arg2
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9441 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9448 (char *) "self",(char *) "line", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->RefreshLine(arg2
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 Py_INCREF(Py_None
); resultobj
= Py_None
;
9470 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 PyObject
* obj2
= 0 ;
9479 (char *) "self",(char *) "from",(char *) "to", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9487 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->RefreshLines(arg2
,arg3
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 Py_INCREF(Py_None
); resultobj
= Py_None
;
9503 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9513 (char *) "self",(char *) "x",(char *) "y", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 arg2
= (int) SWIG_AsInt(obj1
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9521 arg3
= (int) SWIG_AsInt(obj2
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_FromInt((int)result
);
9537 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9546 (char *) "self",(char *) "pt", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_FromInt((int)result
);
9570 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 (arg1
)->RefreshAll();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 Py_INCREF(Py_None
); resultobj
= Py_None
;
9595 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9621 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9647 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "self", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9673 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9679 PyObject
* obj1
= 0 ;
9681 (char *) "self",(char *) "line", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9705 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9708 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9710 return Py_BuildValue((char *)"");
9712 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9713 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9718 static PyObject
*_wrap_VListBoxNameStr_get() {
9723 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9725 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9732 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxWindow
*arg1
= (wxWindow
*) 0 ;
9735 int arg2
= (int) wxID_ANY
;
9736 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9737 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9738 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9739 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9740 long arg5
= (long) 0 ;
9741 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9742 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9743 wxPyVListBox
*result
;
9746 bool temp6
= False
;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9750 PyObject
* obj3
= 0 ;
9751 PyObject
* obj4
= 0 ;
9752 PyObject
* obj5
= 0 ;
9754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 arg2
= (int) SWIG_AsInt(obj1
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9777 arg5
= (long) SWIG_AsLong(obj4
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9782 arg6
= wxString_in_helper(obj5
);
9783 if (arg6
== NULL
) SWIG_fail
;
9788 if (!wxPyCheckForApp()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9810 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxPyVListBox
*result
;
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9819 if (!wxPyCheckForApp()) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (wxPyVListBox
*)new wxPyVListBox();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9833 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9836 PyObject
*arg2
= (PyObject
*) 0 ;
9837 PyObject
*arg3
= (PyObject
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9839 PyObject
* obj1
= 0 ;
9840 PyObject
* obj2
= 0 ;
9842 (char *) "self",(char *) "self",(char *) "_class", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9867 wxWindow
*arg2
= (wxWindow
*) 0 ;
9868 int arg3
= (int) wxID_ANY
;
9869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9873 long arg6
= (long) 0 ;
9874 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9879 bool temp7
= False
;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9882 PyObject
* obj2
= 0 ;
9883 PyObject
* obj3
= 0 ;
9884 PyObject
* obj4
= 0 ;
9885 PyObject
* obj5
= 0 ;
9886 PyObject
* obj6
= 0 ;
9888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 arg3
= (int) SWIG_AsInt(obj2
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9913 arg6
= (long) SWIG_AsLong(obj5
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9918 arg7
= wxString_in_helper(obj6
);
9919 if (arg7
== NULL
) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9953 (char *) "self", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9973 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10001 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_FromInt((int)result
);
10027 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "item", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10059 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "item", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10091 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10117 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
;
10143 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10146 unsigned long arg2
;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "cookie", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= result
;
10173 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10193 wxPoint
* resultptr
;
10194 resultptr
= new wxPoint((wxPoint
&) result
);
10195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10203 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10219 result
= (wxColour
*) &_result_ref
;
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10232 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self",(char *) "count", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10245 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->SetItemCount(arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 Py_INCREF(Py_None
); resultobj
= Py_None
;
10261 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "selection", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 arg2
= (int) SWIG_AsInt(obj1
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 (arg1
)->SetSelection(arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10319 bool arg3
= (bool) True
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 PyObject
* obj2
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "item",(char *) "select", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 arg3
= (bool) SWIG_AsBool(obj2
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "from",(char *) "to", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10371 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char *kwnames
[] = {
10396 (char *) "self",(char *) "item", NULL
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->Toggle(arg2
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)(arg1
)->SelectAll();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10446 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)(arg1
)->DeselectAll();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10477 wxPoint
*arg2
= 0 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self",(char *) "pt", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 Py_INCREF(Py_None
); resultobj
= Py_None
;
10506 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "x",(char *) "y", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 arg2
= (int) SWIG_AsInt(obj1
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10523 arg3
= (int) SWIG_AsInt(obj2
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 (arg1
)->SetMargins(arg2
,arg3
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10542 wxColour
*arg2
= 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self",(char *) "col", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10574 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10576 return Py_BuildValue((char *)"");
10578 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxWindow
*arg1
= (wxWindow
*) 0 ;
10581 int arg2
= (int) wxID_ANY
;
10582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10586 long arg5
= (long) 0 ;
10587 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10589 wxPyHtmlListBox
*result
;
10592 bool temp6
= False
;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 PyObject
* obj3
= 0 ;
10597 PyObject
* obj4
= 0 ;
10598 PyObject
* obj5
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 arg2
= (int) SWIG_AsInt(obj1
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10623 arg5
= (long) SWIG_AsLong(obj4
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10628 arg6
= wxString_in_helper(obj5
);
10629 if (arg6
== NULL
) SWIG_fail
;
10634 if (!wxPyCheckForApp()) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10656 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxPyHtmlListBox
*result
;
10659 char *kwnames
[] = {
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10665 if (!wxPyCheckForApp()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10679 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10682 PyObject
*arg2
= (PyObject
*) 0 ;
10683 PyObject
*arg3
= (PyObject
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "self",(char *) "_class", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 Py_INCREF(Py_None
); resultobj
= Py_None
;
10710 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10713 wxWindow
*arg2
= (wxWindow
*) 0 ;
10714 int arg3
= (int) wxID_ANY
;
10715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10719 long arg6
= (long) 0 ;
10720 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10725 bool temp7
= False
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 PyObject
* obj3
= 0 ;
10730 PyObject
* obj4
= 0 ;
10731 PyObject
* obj5
= 0 ;
10732 PyObject
* obj6
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 arg3
= (int) SWIG_AsInt(obj2
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10759 arg6
= (long) SWIG_AsLong(obj5
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10764 arg7
= wxString_in_helper(obj6
);
10765 if (arg7
== NULL
) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10793 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10796 PyObject
* obj0
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->RefreshAll();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "count", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10831 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetItemCount(arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10850 wxFileSystem
*result
;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10863 result
= (wxFileSystem
*) &_result_ref
;
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10876 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10879 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10881 return Py_BuildValue((char *)"");
10883 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxTaskBarIcon
*result
;
10886 char *kwnames
[] = {
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10892 if (!wxPyCheckForApp()) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10906 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 wxTaskBarIcon_Destroy(arg1
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10959 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10961 return Py_BuildValue((char *)"");
10963 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10966 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10967 wxTaskBarIconEvent
*result
;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "evtType",(char *) "tbIcon", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10975 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10993 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10996 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10998 return Py_BuildValue((char *)"");
11000 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11001 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11006 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11011 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11013 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11020 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11021 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11026 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11031 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11033 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11040 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11041 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11046 static PyObject
*_wrap_DirDialogNameStr_get() {
11051 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11053 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11060 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11061 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11066 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11071 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11073 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11080 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11081 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11086 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11091 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11093 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11100 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11101 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11106 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11111 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11113 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11120 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxColourData
*result
;
11123 char *kwnames
[] = {
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (wxColourData
*)new wxColourData();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11142 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxColourData
*arg1
= (wxColourData
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxColourData
*arg1
= (wxColourData
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)(arg1
)->GetChooseFull();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxColourData
*arg1
= (wxColourData
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (arg1
)->GetColour();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11215 wxColour
* resultptr
;
11216 resultptr
= new wxColour((wxColour
&) result
);
11217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11225 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxColourData
*arg1
= (wxColourData
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "i", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 arg2
= (int) SWIG_AsInt(obj1
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (arg1
)->GetCustomColour(arg2
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 wxColour
* resultptr
;
11250 resultptr
= new wxColour((wxColour
&) result
);
11251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11259 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxColourData
*arg1
= (wxColourData
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self",(char *) "flag", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11272 arg2
= (int) SWIG_AsInt(obj1
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 (arg1
)->SetChooseFull(arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxColourData
*arg1
= (wxColourData
*) 0 ;
11291 wxColour
*arg2
= 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "colour", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 (arg1
)->SetColour((wxColour
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxColourData
*arg1
= (wxColourData
*) 0 ;
11324 wxColour
*arg3
= 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 PyObject
* obj2
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self",(char *) "i",(char *) "colour", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 arg2
= (int) SWIG_AsInt(obj1
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11359 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11361 return Py_BuildValue((char *)"");
11363 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxWindow
*arg1
= (wxWindow
*) 0 ;
11366 wxColourData
*arg2
= (wxColourData
*) NULL
;
11367 wxColourDialog
*result
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "parent",(char *) "data", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 if (!wxPyCheckForApp()) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11396 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11399 wxColourData
*result
;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11412 result
= (wxColourData
*) &_result_ref
;
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11425 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11428 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11430 return Py_BuildValue((char *)"");
11432 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxWindow
*arg1
= (wxWindow
*) 0 ;
11435 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11436 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11439 long arg4
= (long) 0 ;
11440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11444 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11446 wxDirDialog
*result
;
11447 bool temp2
= False
;
11448 bool temp3
= False
;
11451 bool temp7
= False
;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 PyObject
* obj3
= 0 ;
11456 PyObject
* obj4
= 0 ;
11457 PyObject
* obj5
= 0 ;
11458 PyObject
* obj6
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11468 arg2
= wxString_in_helper(obj1
);
11469 if (arg2
== NULL
) SWIG_fail
;
11475 arg3
= wxString_in_helper(obj2
);
11476 if (arg3
== NULL
) SWIG_fail
;
11481 arg4
= (long) SWIG_AsLong(obj3
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11498 arg7
= wxString_in_helper(obj6
);
11499 if (arg7
== NULL
) SWIG_fail
;
11504 if (!wxPyCheckForApp()) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11542 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (arg1
)->GetPath();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11574 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (arg1
)->GetMessage();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11606 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11610 PyObject
* obj0
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 result
= (long)(arg1
)->GetStyle();
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_FromLong((long)result
);
11632 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11635 wxString
*arg2
= 0 ;
11636 bool temp2
= False
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "message", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 (arg1
)->SetMessage((wxString
const &)*arg2
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11676 wxString
*arg2
= 0 ;
11677 bool temp2
= False
;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "path", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11688 arg2
= wxString_in_helper(obj1
);
11689 if (arg2
== NULL
) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SetPath((wxString
const &)*arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxWindow
*arg1
= (wxWindow
*) 0 ;
11724 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11725 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11726 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11727 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11728 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11730 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11731 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11732 long arg6
= (long) 0 ;
11733 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11734 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11735 wxFileDialog
*result
;
11736 bool temp2
= False
;
11737 bool temp3
= False
;
11738 bool temp4
= False
;
11739 bool temp5
= False
;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 PyObject
* obj2
= 0 ;
11744 PyObject
* obj3
= 0 ;
11745 PyObject
* obj4
= 0 ;
11746 PyObject
* obj5
= 0 ;
11747 PyObject
* obj6
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= wxString_in_helper(obj1
);
11758 if (arg2
== NULL
) SWIG_fail
;
11764 arg3
= wxString_in_helper(obj2
);
11765 if (arg3
== NULL
) SWIG_fail
;
11771 arg4
= wxString_in_helper(obj3
);
11772 if (arg4
== NULL
) SWIG_fail
;
11778 arg5
= wxString_in_helper(obj4
);
11779 if (arg5
== NULL
) SWIG_fail
;
11784 arg6
= (long) SWIG_AsLong(obj5
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11790 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11794 if (!wxPyCheckForApp()) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11840 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11843 wxString
*arg2
= 0 ;
11844 bool temp2
= False
;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "message", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 arg2
= wxString_in_helper(obj1
);
11856 if (arg2
== NULL
) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetMessage((wxString
const &)*arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11884 wxString
*arg2
= 0 ;
11885 bool temp2
= False
;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self",(char *) "path", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= wxString_in_helper(obj1
);
11897 if (arg2
== NULL
) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 (arg1
)->SetPath((wxString
const &)*arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11922 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11925 wxString
*arg2
= 0 ;
11926 bool temp2
= False
;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self",(char *) "dir", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11937 arg2
= wxString_in_helper(obj1
);
11938 if (arg2
== NULL
) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 Py_INCREF(Py_None
); resultobj
= Py_None
;
11963 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11966 wxString
*arg2
= 0 ;
11967 bool temp2
= False
;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "name", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg2
= wxString_in_helper(obj1
);
11979 if (arg2
== NULL
) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->SetFilename((wxString
const &)*arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12004 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12007 wxString
*arg2
= 0 ;
12008 bool temp2
= False
;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "wildCard", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= wxString_in_helper(obj1
);
12020 if (arg2
== NULL
) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12045 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "style", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12058 arg2
= (long) SWIG_AsLong(obj1
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 (arg1
)->SetStyle(arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self",(char *) "filterIndex", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12087 arg2
= (int) SWIG_AsInt(obj1
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetFilterIndex(arg2
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12135 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12167 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12199 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12263 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_FromLong((long)result
);
12289 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= SWIG_FromInt((int)result
);
12315 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= result
;
12341 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= result
;
12367 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12370 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12372 return Py_BuildValue((char *)"");
12374 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxWindow
*arg1
= (wxWindow
*) 0 ;
12377 wxString
*arg2
= 0 ;
12378 wxString
*arg3
= 0 ;
12379 int arg4
= (int) 0 ;
12380 wxString
*arg5
= (wxString
*) NULL
;
12381 long arg6
= (long) wxCHOICEDLG_STYLE
;
12382 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12383 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12384 wxMultiChoiceDialog
*result
;
12385 bool temp2
= False
;
12386 bool temp3
= False
;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 PyObject
* obj3
= 0 ;
12392 PyObject
* obj4
= 0 ;
12393 PyObject
* obj5
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 arg2
= wxString_in_helper(obj1
);
12403 if (arg2
== NULL
) SWIG_fail
;
12407 arg3
= wxString_in_helper(obj2
);
12408 if (arg3
== NULL
) SWIG_fail
;
12413 arg4
= PyList_Size(obj3
);
12414 arg5
= wxString_LIST_helper(obj3
);
12415 if (arg5
== NULL
) SWIG_fail
;
12419 arg6
= (long) SWIG_AsLong(obj4
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12425 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12429 if (!wxPyCheckForApp()) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12446 if (arg5
) delete [] arg5
;
12459 if (arg5
) delete [] arg5
;
12465 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12468 wxArrayInt
*arg2
= 0 ;
12469 bool temp2
= False
;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "selections", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 if (! PySequence_Check(obj1
)) {
12481 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12484 arg2
= new wxArrayInt
;
12486 int i
, len
=PySequence_Length(obj1
);
12487 for (i
=0; i
<len
; i
++) {
12488 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12489 PyObject
* number
= PyNumber_Int(item
);
12490 arg2
->Add(PyInt_AS_LONG(number
));
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 if (temp2
) delete arg2
;
12509 if (temp2
) delete arg2
;
12515 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
;
12541 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12544 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12546 return Py_BuildValue((char *)"");
12548 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxWindow
*arg1
= (wxWindow
*) 0 ;
12551 wxString
*arg2
= 0 ;
12552 wxString
*arg3
= 0 ;
12554 wxString
*arg5
= (wxString
*) 0 ;
12555 long arg6
= (long) wxCHOICEDLG_STYLE
;
12556 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12557 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12558 wxSingleChoiceDialog
*result
;
12559 bool temp2
= False
;
12560 bool temp3
= False
;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 PyObject
* obj2
= 0 ;
12565 PyObject
* obj3
= 0 ;
12566 PyObject
* obj4
= 0 ;
12567 PyObject
* obj5
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 arg2
= wxString_in_helper(obj1
);
12577 if (arg2
== NULL
) SWIG_fail
;
12581 arg3
= wxString_in_helper(obj2
);
12582 if (arg3
== NULL
) SWIG_fail
;
12586 arg4
= PyList_Size(obj3
);
12587 arg5
= wxString_LIST_helper(obj3
);
12588 if (arg5
== NULL
) SWIG_fail
;
12591 arg6
= (long) SWIG_AsLong(obj4
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12597 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12601 if (!wxPyCheckForApp()) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12618 if (arg5
) delete [] arg5
;
12631 if (arg5
) delete [] arg5
;
12637 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (int)(arg1
)->GetSelection();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_FromInt((int)result
);
12663 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (arg1
)->GetStringSelection();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12695 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "sel", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= (int) SWIG_AsInt(obj1
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->SetSelection(arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12727 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12729 return Py_BuildValue((char *)"");
12731 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxWindow
*arg1
= (wxWindow
*) 0 ;
12734 wxString
*arg2
= 0 ;
12735 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12736 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12737 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12738 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12739 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12740 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12741 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12742 wxTextEntryDialog
*result
;
12743 bool temp2
= False
;
12744 bool temp3
= False
;
12745 bool temp4
= False
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj5
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12761 arg2
= wxString_in_helper(obj1
);
12762 if (arg2
== NULL
) SWIG_fail
;
12767 arg3
= wxString_in_helper(obj2
);
12768 if (arg3
== NULL
) SWIG_fail
;
12774 arg4
= wxString_in_helper(obj3
);
12775 if (arg4
== NULL
) SWIG_fail
;
12780 arg5
= (long) SWIG_AsLong(obj4
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12786 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12790 if (!wxPyCheckForApp()) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12828 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (arg1
)->GetValue();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12860 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12863 wxString
*arg2
= 0 ;
12864 bool temp2
= False
;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "value", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 arg2
= wxString_in_helper(obj1
);
12876 if (arg2
== NULL
) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->SetValue((wxString
const &)*arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12901 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12906 return Py_BuildValue((char *)"");
12908 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxFontData
*result
;
12911 char *kwnames
[] = {
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (wxFontData
*)new wxFontData();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12930 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxFontData
*arg1
= (wxFontData
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxFontData
*arg1
= (wxFontData
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "enable", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 arg2
= (bool) SWIG_AsBool(obj1
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 (arg1
)->EnableEffects(arg2
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxFontData
*arg1
= (wxFontData
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)(arg1
)->GetAllowSymbols();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxFontData
*arg1
= (wxFontData
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (arg1
)->GetColour();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 wxColour
* resultptr
;
13033 resultptr
= new wxColour((wxColour
&) result
);
13034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13042 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxFontData
*arg1
= (wxFontData
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (arg1
)->GetChosenFont();
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 wxFont
* resultptr
;
13063 resultptr
= new wxFont((wxFont
&) result
);
13064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13072 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxFontData
*arg1
= (wxFontData
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->GetEnableEffects();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13100 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxFontData
*arg1
= (wxFontData
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (arg1
)->GetInitialFont();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13120 wxFont
* resultptr
;
13121 resultptr
= new wxFont((wxFont
&) result
);
13122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13130 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxFontData
*arg1
= (wxFontData
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (bool)(arg1
)->GetShowHelp();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13158 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxFontData
*arg1
= (wxFontData
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "allowSymbols", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 arg2
= (bool) SWIG_AsBool(obj1
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 (arg1
)->SetAllowSymbols(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxFontData
*arg1
= (wxFontData
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "font", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13203 if (arg2
== NULL
) {
13204 PyErr_SetString(PyExc_TypeError
,"null reference");
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxFontData
*arg1
= (wxFontData
*) 0 ;
13224 wxColour
*arg2
= 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "colour", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->SetColour((wxColour
const &)*arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxFontData
*arg1
= (wxFontData
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "font", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13269 if (arg2
== NULL
) {
13270 PyErr_SetString(PyExc_TypeError
,"null reference");
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxFontData
*arg1
= (wxFontData
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 PyObject
* obj2
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "min",(char *) "max", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 arg2
= (int) SWIG_AsInt(obj1
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13304 arg3
= (int) SWIG_AsInt(obj2
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 (arg1
)->SetRange(arg2
,arg3
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxFontData
*arg1
= (wxFontData
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "showHelp", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 arg2
= (bool) SWIG_AsBool(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetShowHelp(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13352 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13354 return Py_BuildValue((char *)"");
13356 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxWindow
*arg1
= (wxWindow
*) 0 ;
13359 wxFontData
*arg2
= 0 ;
13360 wxFontDialog
*result
;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "parent",(char *) "data", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13373 if (arg2
== NULL
) {
13374 PyErr_SetString(PyExc_TypeError
,"null reference");
13378 if (!wxPyCheckForApp()) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13392 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13395 wxFontData
*result
;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13408 result
= (wxFontData
*) &_result_ref
;
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13421 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13424 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13426 return Py_BuildValue((char *)"");
13428 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxWindow
*arg1
= (wxWindow
*) 0 ;
13431 wxString
*arg2
= 0 ;
13432 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13433 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13434 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13435 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13436 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13437 wxMessageDialog
*result
;
13438 bool temp2
= False
;
13439 bool temp3
= False
;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 PyObject
* obj2
= 0 ;
13444 PyObject
* obj3
= 0 ;
13445 PyObject
* obj4
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 arg2
= wxString_in_helper(obj1
);
13455 if (arg2
== NULL
) SWIG_fail
;
13460 arg3
= wxString_in_helper(obj2
);
13461 if (arg3
== NULL
) SWIG_fail
;
13466 arg4
= (long) SWIG_AsLong(obj3
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13472 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13476 if (!wxPyCheckForApp()) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13506 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13509 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13511 return Py_BuildValue((char *)"");
13513 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxString
*arg1
= 0 ;
13516 wxString
*arg2
= 0 ;
13517 int arg3
= (int) 100 ;
13518 wxWindow
*arg4
= (wxWindow
*) NULL
;
13519 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13520 wxProgressDialog
*result
;
13521 bool temp1
= False
;
13522 bool temp2
= False
;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 PyObject
* obj3
= 0 ;
13527 PyObject
* obj4
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13534 arg1
= wxString_in_helper(obj0
);
13535 if (arg1
== NULL
) SWIG_fail
;
13539 arg2
= wxString_in_helper(obj1
);
13540 if (arg2
== NULL
) SWIG_fail
;
13544 arg3
= (int) SWIG_AsInt(obj2
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13552 arg5
= (int) SWIG_AsInt(obj4
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 if (!wxPyCheckForApp()) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13586 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13590 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13591 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13593 bool temp3
= False
;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 PyObject
* obj2
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 arg2
= (int) SWIG_AsInt(obj1
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 arg3
= wxString_in_helper(obj2
);
13609 if (arg3
== NULL
) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 Py_INCREF(Py_None
); resultobj
= Py_None
;
13662 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13665 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13667 return Py_BuildValue((char *)"");
13669 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13672 int arg2
= (int) 0 ;
13673 wxFindDialogEvent
*result
;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "commandType",(char *) "id", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13686 arg2
= (int) SWIG_AsInt(obj1
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13703 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (int)(arg1
)->GetFlags();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_FromInt((int)result
);
13729 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxString
const &_result_ref
= (arg1
)->GetFindString();
13745 result
= (wxString
*) &_result_ref
;
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13764 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13780 result
= (wxString
*) &_result_ref
;
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13790 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13799 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13802 wxFindReplaceDialog
*result
;
13803 PyObject
* obj0
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13825 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self",(char *) "flags", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13838 arg2
= (int) SWIG_AsInt(obj1
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 (arg1
)->SetFlags(arg2
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13857 wxString
*arg2
= 0 ;
13858 bool temp2
= False
;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "str", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 arg2
= wxString_in_helper(obj1
);
13870 if (arg2
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 (arg1
)->SetFindString((wxString
const &)*arg2
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 Py_INCREF(Py_None
); resultobj
= Py_None
;
13895 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13898 wxString
*arg2
= 0 ;
13899 bool temp2
= False
;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self",(char *) "str", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13910 arg2
= wxString_in_helper(obj1
);
13911 if (arg2
== NULL
) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 Py_INCREF(Py_None
); resultobj
= Py_None
;
13936 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13939 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13941 return Py_BuildValue((char *)"");
13943 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 int arg1
= (int) 0 ;
13946 wxFindReplaceData
*result
;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "flags", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13954 arg1
= (int) SWIG_AsInt(obj0
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13971 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 Py_INCREF(Py_None
); resultobj
= Py_None
;
13996 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 wxString
const &_result_ref
= (arg1
)->GetFindString();
14012 result
= (wxString
*) &_result_ref
;
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14031 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14047 result
= (wxString
*) &_result_ref
;
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14066 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (int)(arg1
)->GetFlags();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_FromInt((int)result
);
14092 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "flags", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14105 arg2
= (int) SWIG_AsInt(obj1
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->SetFlags(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14124 wxString
*arg2
= 0 ;
14125 bool temp2
= False
;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "str", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 arg2
= wxString_in_helper(obj1
);
14137 if (arg2
== NULL
) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 (arg1
)->SetFindString((wxString
const &)*arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14165 wxString
*arg2
= 0 ;
14166 bool temp2
= False
;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "str", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14177 arg2
= wxString_in_helper(obj1
);
14178 if (arg2
== NULL
) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14206 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14208 return Py_BuildValue((char *)"");
14210 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxWindow
*arg1
= (wxWindow
*) 0 ;
14213 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14214 wxString
*arg3
= 0 ;
14215 int arg4
= (int) 0 ;
14216 wxFindReplaceDialog
*result
;
14217 bool temp3
= False
;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 PyObject
* obj2
= 0 ;
14221 PyObject
* obj3
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 arg3
= wxString_in_helper(obj2
);
14233 if (arg3
== NULL
) SWIG_fail
;
14237 arg4
= (int) SWIG_AsInt(obj3
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 if (!wxPyCheckForApp()) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14263 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxFindReplaceDialog
*result
;
14266 char *kwnames
[] = {
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14272 if (!wxPyCheckForApp()) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14286 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14289 wxWindow
*arg2
= (wxWindow
*) 0 ;
14290 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14291 wxString
*arg4
= 0 ;
14292 int arg5
= (int) 0 ;
14294 bool temp4
= False
;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 PyObject
* obj2
= 0 ;
14298 PyObject
* obj3
= 0 ;
14299 PyObject
* obj4
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 arg4
= wxString_in_helper(obj3
);
14313 if (arg4
== NULL
) SWIG_fail
;
14317 arg5
= (int) SWIG_AsInt(obj4
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14347 wxFindReplaceData
*result
;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14370 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14373 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self",(char *) "data", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 (arg1
)->SetData(arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14399 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14402 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14404 return Py_BuildValue((char *)"");
14406 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxWindow
*arg1
= (wxWindow
*) 0 ;
14409 int arg2
= (int) (int)-1 ;
14410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14416 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14417 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14419 wxMDIParentFrame
*result
;
14420 bool temp3
= False
;
14423 bool temp7
= False
;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 PyObject
* obj2
= 0 ;
14427 PyObject
* obj3
= 0 ;
14428 PyObject
* obj4
= 0 ;
14429 PyObject
* obj5
= 0 ;
14430 PyObject
* obj6
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 arg2
= (int const) SWIG_AsInt(obj1
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14444 arg3
= wxString_in_helper(obj2
);
14445 if (arg3
== NULL
) SWIG_fail
;
14452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14462 arg6
= (long) SWIG_AsLong(obj5
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14467 arg7
= wxString_in_helper(obj6
);
14468 if (arg7
== NULL
) SWIG_fail
;
14473 if (!wxPyCheckForApp()) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14503 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxMDIParentFrame
*result
;
14506 char *kwnames
[] = {
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14512 if (!wxPyCheckForApp()) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14526 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14529 wxWindow
*arg2
= (wxWindow
*) 0 ;
14530 int arg3
= (int) (int)-1 ;
14531 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14532 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14533 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14534 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14535 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14536 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14537 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14538 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14539 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14541 bool temp4
= False
;
14544 bool temp8
= False
;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 PyObject
* obj2
= 0 ;
14548 PyObject
* obj3
= 0 ;
14549 PyObject
* obj4
= 0 ;
14550 PyObject
* obj5
= 0 ;
14551 PyObject
* obj6
= 0 ;
14552 PyObject
* obj7
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 arg3
= (int const) SWIG_AsInt(obj2
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14568 arg4
= wxString_in_helper(obj3
);
14569 if (arg4
== NULL
) SWIG_fail
;
14576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14582 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14586 arg7
= (long) SWIG_AsLong(obj6
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14591 arg8
= wxString_in_helper(obj7
);
14592 if (arg8
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14628 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 (arg1
)->ActivateNext();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 (arg1
)->ActivatePrevious();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 Py_INCREF(Py_None
); resultobj
= Py_None
;
14678 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 (arg1
)->ArrangeIcons();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14731 wxMDIChildFrame
*result
;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= wxPyMake_wxObject(result
, 0);
14756 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14759 wxMDIClientWindow
*result
;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= wxPyMake_wxObject(result
, 0);
14784 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 char *kwnames
[] = {
14790 (char *) "self", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (wxWindow
*)(arg1
)->GetToolBar();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= wxPyMake_wxObject(result
, 0);
14812 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 Py_INCREF(Py_None
); resultobj
= Py_None
;
14837 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14842 return Py_BuildValue((char *)"");
14844 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14847 int arg2
= (int) (int)-1 ;
14848 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14849 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14854 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14855 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14857 wxMDIChildFrame
*result
;
14858 bool temp3
= False
;
14861 bool temp7
= False
;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 PyObject
* obj2
= 0 ;
14865 PyObject
* obj3
= 0 ;
14866 PyObject
* obj4
= 0 ;
14867 PyObject
* obj5
= 0 ;
14868 PyObject
* obj6
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14877 arg2
= (int const) SWIG_AsInt(obj1
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14882 arg3
= wxString_in_helper(obj2
);
14883 if (arg3
== NULL
) SWIG_fail
;
14890 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14896 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14900 arg6
= (long) SWIG_AsLong(obj5
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14905 arg7
= wxString_in_helper(obj6
);
14906 if (arg7
== NULL
) SWIG_fail
;
14911 if (!wxPyCheckForApp()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14941 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxMDIChildFrame
*result
;
14944 char *kwnames
[] = {
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14950 if (!wxPyCheckForApp()) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14964 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14967 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14968 int arg3
= (int) (int)-1 ;
14969 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14970 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14975 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14976 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14979 bool temp4
= False
;
14982 bool temp8
= False
;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 PyObject
* obj2
= 0 ;
14986 PyObject
* obj3
= 0 ;
14987 PyObject
* obj4
= 0 ;
14988 PyObject
* obj5
= 0 ;
14989 PyObject
* obj6
= 0 ;
14990 PyObject
* obj7
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 arg3
= (int const) SWIG_AsInt(obj2
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15006 arg4
= wxString_in_helper(obj3
);
15007 if (arg4
== NULL
) SWIG_fail
;
15014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15024 arg7
= (long) SWIG_AsLong(obj6
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15029 arg8
= wxString_in_helper(obj7
);
15030 if (arg8
== NULL
) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15066 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 char *kwnames
[] = {
15071 (char *) "self", NULL
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->Activate();
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15091 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self",(char *) "maximize", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 arg2
= (bool) SWIG_AsBool(obj1
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->Maximize(arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 Py_INCREF(Py_None
); resultobj
= Py_None
;
15120 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15155 long arg2
= (long) 0 ;
15156 wxMDIClientWindow
*result
;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "parent",(char *) "style", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 arg2
= (long) SWIG_AsLong(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15171 if (!wxPyCheckForApp()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15185 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxMDIClientWindow
*result
;
15188 char *kwnames
[] = {
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15194 if (!wxPyCheckForApp()) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15208 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15211 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15212 long arg3
= (long) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 PyObject
* obj2
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "parent",(char *) "style", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 arg3
= (long) SWIG_AsLong(obj2
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15249 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15251 return Py_BuildValue((char *)"");
15253 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxWindow
*arg1
= (wxWindow
*) 0 ;
15256 int arg2
= (int) (int)-1 ;
15257 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15258 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15259 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15260 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15261 long arg5
= (long) 0 ;
15262 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15263 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15264 wxPyWindow
*result
;
15267 bool temp6
= False
;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 PyObject
* obj2
= 0 ;
15271 PyObject
* obj3
= 0 ;
15272 PyObject
* obj4
= 0 ;
15273 PyObject
* obj5
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 arg2
= (int const) SWIG_AsInt(obj1
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15294 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15298 arg5
= (long) SWIG_AsLong(obj4
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15303 arg6
= wxString_in_helper(obj5
);
15304 if (arg6
== NULL
) SWIG_fail
;
15309 if (!wxPyCheckForApp()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15331 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxPyWindow
*result
;
15334 char *kwnames
[] = {
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15340 if (!wxPyCheckForApp()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (wxPyWindow
*)new wxPyWindow();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15354 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15357 PyObject
*arg2
= (PyObject
*) 0 ;
15358 PyObject
*arg3
= (PyObject
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 PyObject
* obj2
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "self",(char *) "_class", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 Py_INCREF(Py_None
); resultobj
= Py_None
;
15385 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "size", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15417 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 PyObject
* obj2
= 0 ;
15427 PyObject
* obj3
= 0 ;
15428 PyObject
* obj4
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 arg2
= (int) SWIG_AsInt(obj1
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15438 arg3
= (int) SWIG_AsInt(obj2
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15440 arg4
= (int) SWIG_AsInt(obj3
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15442 arg5
= (int) SWIG_AsInt(obj4
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15465 int arg6
= (int) wxSIZE_AUTO
;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 PyObject
* obj2
= 0 ;
15469 PyObject
* obj3
= 0 ;
15470 PyObject
* obj4
= 0 ;
15471 PyObject
* obj5
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 arg2
= (int) SWIG_AsInt(obj1
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15481 arg3
= (int) SWIG_AsInt(obj2
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15483 arg4
= (int) SWIG_AsInt(obj3
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15485 arg5
= (int) SWIG_AsInt(obj4
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 arg6
= (int) SWIG_AsInt(obj5
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 Py_INCREF(Py_None
); resultobj
= Py_None
;
15505 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 PyObject
* obj2
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self",(char *) "width",(char *) "height", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15520 arg2
= (int) SWIG_AsInt(obj1
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15522 arg3
= (int) SWIG_AsInt(obj2
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 Py_INCREF(Py_None
); resultobj
= Py_None
;
15538 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "x",(char *) "y", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 arg2
= (int) SWIG_AsInt(obj1
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15555 arg3
= (int) SWIG_AsInt(obj2
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 Py_INCREF(Py_None
); resultobj
= Py_None
;
15571 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15574 int *arg2
= (int *) 0 ;
15575 int *arg3
= (int *) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15598 resultobj
= t_output_helper(resultobj
,o
);
15601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15602 resultobj
= t_output_helper(resultobj
,o
);
15610 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15613 int *arg2
= (int *) 0 ;
15614 int *arg3
= (int *) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15637 resultobj
= t_output_helper(resultobj
,o
);
15640 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15641 resultobj
= t_output_helper(resultobj
,o
);
15649 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15652 int *arg2
= (int *) 0 ;
15653 int *arg3
= (int *) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15676 resultobj
= t_output_helper(resultobj
,o
);
15679 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15680 resultobj
= t_output_helper(resultobj
,o
);
15688 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 wxSize
* resultptr
;
15709 resultptr
= new wxSize((wxSize
&) result
);
15710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15718 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 wxSize
* resultptr
;
15739 resultptr
= new wxSize((wxSize
&) result
);
15740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15748 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 (arg1
)->base_InitDialog();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 Py_INCREF(Py_None
); resultobj
= Py_None
;
15773 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (bool)(arg1
)->base_TransferDataToWindow();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)(arg1
)->base_Validate();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15857 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 wxSize
* resultptr
;
15934 resultptr
= new wxSize((wxSize
&) result
);
15935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15943 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15946 wxWindow
*arg2
= (wxWindow
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "child", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->base_AddChild(arg2
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15975 wxWindow
*arg2
= (wxWindow
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "child", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 (arg1
)->base_RemoveChild(arg2
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16029 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16032 wxColour
*arg2
= 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self",(char *) "c", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 Py_INCREF(Py_None
); resultobj
= Py_None
;
16061 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16064 wxVisualAttributes result
;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (arg1
)->base_GetDefaultAttributes();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 wxVisualAttributes
* resultptr
;
16082 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16091 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16094 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16096 return Py_BuildValue((char *)"");
16098 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxWindow
*arg1
= (wxWindow
*) 0 ;
16101 int arg2
= (int) (int)-1 ;
16102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16106 long arg5
= (long) 0 ;
16107 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16112 bool temp6
= False
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 PyObject
* obj2
= 0 ;
16116 PyObject
* obj3
= 0 ;
16117 PyObject
* obj4
= 0 ;
16118 PyObject
* obj5
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 arg2
= (int const) SWIG_AsInt(obj1
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16143 arg5
= (long) SWIG_AsLong(obj4
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16148 arg6
= wxString_in_helper(obj5
);
16149 if (arg6
== NULL
) SWIG_fail
;
16154 if (!wxPyCheckForApp()) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16176 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16179 char *kwnames
[] = {
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16185 if (!wxPyCheckForApp()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (wxPyPanel
*)new wxPyPanel();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16199 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16202 PyObject
*arg2
= (PyObject
*) 0 ;
16203 PyObject
*arg3
= (PyObject
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 PyObject
* obj2
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "self",(char *) "_class", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self",(char *) "size", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 Py_INCREF(Py_None
); resultobj
= Py_None
;
16262 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 PyObject
* obj2
= 0 ;
16272 PyObject
* obj3
= 0 ;
16273 PyObject
* obj4
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 arg2
= (int) SWIG_AsInt(obj1
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16283 arg3
= (int) SWIG_AsInt(obj2
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16285 arg4
= (int) SWIG_AsInt(obj3
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16287 arg5
= (int) SWIG_AsInt(obj4
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16310 int arg6
= (int) wxSIZE_AUTO
;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 PyObject
* obj2
= 0 ;
16314 PyObject
* obj3
= 0 ;
16315 PyObject
* obj4
= 0 ;
16316 PyObject
* obj5
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 arg2
= (int) SWIG_AsInt(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 arg3
= (int) SWIG_AsInt(obj2
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16328 arg4
= (int) SWIG_AsInt(obj3
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16330 arg5
= (int) SWIG_AsInt(obj4
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 arg6
= (int) SWIG_AsInt(obj5
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16350 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "width",(char *) "height", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= (int) SWIG_AsInt(obj1
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16367 arg3
= (int) SWIG_AsInt(obj2
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "x",(char *) "y", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 arg2
= (int) SWIG_AsInt(obj1
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16400 arg3
= (int) SWIG_AsInt(obj2
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16419 int *arg2
= (int *) 0 ;
16420 int *arg3
= (int *) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 Py_INCREF(Py_None
); resultobj
= Py_None
;
16442 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16443 resultobj
= t_output_helper(resultobj
,o
);
16446 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16447 resultobj
= t_output_helper(resultobj
,o
);
16455 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16458 int *arg2
= (int *) 0 ;
16459 int *arg3
= (int *) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16482 resultobj
= t_output_helper(resultobj
,o
);
16485 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16486 resultobj
= t_output_helper(resultobj
,o
);
16494 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16497 int *arg2
= (int *) 0 ;
16498 int *arg3
= (int *) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16521 resultobj
= t_output_helper(resultobj
,o
);
16524 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16525 resultobj
= t_output_helper(resultobj
,o
);
16533 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 wxSize
* resultptr
;
16554 resultptr
= new wxSize((wxSize
&) result
);
16555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16563 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 wxSize
* resultptr
;
16584 resultptr
= new wxSize((wxSize
&) result
);
16585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16593 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 (arg1
)->base_InitDialog();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)(arg1
)->base_TransferDataToWindow();
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16646 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16674 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (bool)(arg1
)->base_Validate();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16702 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16758 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16778 wxSize
* resultptr
;
16779 resultptr
= new wxSize((wxSize
&) result
);
16780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16788 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16791 wxWindow
*arg2
= (wxWindow
*) 0 ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self",(char *) "child", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 (arg1
)->base_AddChild(arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 Py_INCREF(Py_None
); resultobj
= Py_None
;
16817 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16820 wxWindow
*arg2
= (wxWindow
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "child", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->base_RemoveChild(arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16877 wxColour
*arg2
= 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "c", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 Py_INCREF(Py_None
); resultobj
= Py_None
;
16906 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16909 wxVisualAttributes result
;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (arg1
)->base_GetDefaultAttributes();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 wxVisualAttributes
* resultptr
;
16927 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16936 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16939 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16941 return Py_BuildValue((char *)"");
16943 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxWindow
*arg1
= (wxWindow
*) 0 ;
16946 int arg2
= (int) (int)-1 ;
16947 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16948 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16949 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16950 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16951 long arg5
= (long) 0 ;
16952 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16953 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16954 wxPyScrolledWindow
*result
;
16957 bool temp6
= False
;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 PyObject
* obj2
= 0 ;
16961 PyObject
* obj3
= 0 ;
16962 PyObject
* obj4
= 0 ;
16963 PyObject
* obj5
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 arg2
= (int const) SWIG_AsInt(obj1
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16988 arg5
= (long) SWIG_AsLong(obj4
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16993 arg6
= wxString_in_helper(obj5
);
16994 if (arg6
== NULL
) SWIG_fail
;
16999 if (!wxPyCheckForApp()) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17021 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxPyScrolledWindow
*result
;
17024 char *kwnames
[] = {
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17030 if (!wxPyCheckForApp()) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17044 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17047 PyObject
*arg2
= (PyObject
*) 0 ;
17048 PyObject
*arg3
= (PyObject
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 PyObject
* obj2
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self",(char *) "self",(char *) "_class", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "size", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 PyObject
* obj2
= 0 ;
17117 PyObject
* obj3
= 0 ;
17118 PyObject
* obj4
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 arg2
= (int) SWIG_AsInt(obj1
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17128 arg3
= (int) SWIG_AsInt(obj2
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 arg4
= (int) SWIG_AsInt(obj3
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17132 arg5
= (int) SWIG_AsInt(obj4
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 Py_INCREF(Py_None
); resultobj
= Py_None
;
17148 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17155 int arg6
= (int) wxSIZE_AUTO
;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 PyObject
* obj2
= 0 ;
17159 PyObject
* obj3
= 0 ;
17160 PyObject
* obj4
= 0 ;
17161 PyObject
* obj5
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 arg2
= (int) SWIG_AsInt(obj1
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17171 arg3
= (int) SWIG_AsInt(obj2
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17173 arg4
= (int) SWIG_AsInt(obj3
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17175 arg5
= (int) SWIG_AsInt(obj4
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 arg6
= (int) SWIG_AsInt(obj5
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 Py_INCREF(Py_None
); resultobj
= Py_None
;
17195 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self",(char *) "width",(char *) "height", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17210 arg2
= (int) SWIG_AsInt(obj1
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17212 arg3
= (int) SWIG_AsInt(obj2
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 PyObject
* obj2
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self",(char *) "x",(char *) "y", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 arg2
= (int) SWIG_AsInt(obj1
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17245 arg3
= (int) SWIG_AsInt(obj2
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 Py_INCREF(Py_None
); resultobj
= Py_None
;
17261 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17264 int *arg2
= (int *) 0 ;
17265 int *arg3
= (int *) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 Py_INCREF(Py_None
); resultobj
= Py_None
;
17287 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17288 resultobj
= t_output_helper(resultobj
,o
);
17291 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17292 resultobj
= t_output_helper(resultobj
,o
);
17300 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17303 int *arg2
= (int *) 0 ;
17304 int *arg3
= (int *) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17327 resultobj
= t_output_helper(resultobj
,o
);
17330 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17331 resultobj
= t_output_helper(resultobj
,o
);
17339 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17342 int *arg2
= (int *) 0 ;
17343 int *arg3
= (int *) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 Py_INCREF(Py_None
); resultobj
= Py_None
;
17365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17366 resultobj
= t_output_helper(resultobj
,o
);
17369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17370 resultobj
= t_output_helper(resultobj
,o
);
17378 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 wxSize
* resultptr
;
17399 resultptr
= new wxSize((wxSize
&) result
);
17400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17408 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 wxSize
* resultptr
;
17429 resultptr
= new wxSize((wxSize
&) result
);
17430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17438 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 (arg1
)->base_InitDialog();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 Py_INCREF(Py_None
); resultobj
= Py_None
;
17463 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
;
17465 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (bool)(arg1
)->base_TransferDataToWindow();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17491 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17519 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (bool)(arg1
)->base_Validate();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17547 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17575 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17603 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17623 wxSize
* resultptr
;
17624 resultptr
= new wxSize((wxSize
&) result
);
17625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17633 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17636 wxWindow
*arg2
= (wxWindow
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 PyObject
* obj1
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "child", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->base_AddChild(arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17665 wxWindow
*arg2
= (wxWindow
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "child", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->base_RemoveChild(arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 Py_INCREF(Py_None
); resultobj
= Py_None
;
17691 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17722 wxColour
*arg2
= 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 char *kwnames
[] = {
17727 (char *) "self",(char *) "c", NULL
17730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17754 wxVisualAttributes result
;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (arg1
)->base_GetDefaultAttributes();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 wxVisualAttributes
* resultptr
;
17772 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17781 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17784 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17786 return Py_BuildValue((char *)"");
17788 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17789 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17794 static PyObject
*_wrap_PrintoutTitleStr_get() {
17799 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17801 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17808 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17809 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17814 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17819 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17821 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17828 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17829 PyObject
*resultobj
;
17830 wxPrintData
*result
;
17832 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (wxPrintData
*)new wxPrintData();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17847 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
17848 PyObject
*resultobj
;
17849 wxPrintData
*arg1
= 0 ;
17850 wxPrintData
*result
;
17851 PyObject
* obj0
= 0 ;
17853 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17857 if (arg1
== NULL
) {
17858 PyErr_SetString(PyExc_TypeError
,"null reference");
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17875 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17880 argc
= PyObject_Length(args
);
17881 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17882 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17885 return _wrap_new_PrintData__SWIG_0(self
,args
);
17891 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
17899 return _wrap_new_PrintData__SWIG_1(self
,args
);
17903 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
17908 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 Py_INCREF(Py_None
); resultobj
= Py_None
;
17933 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (int)(arg1
)->GetNoCopies();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_FromInt((int)result
);
17959 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (bool)(arg1
)->GetCollate();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17987 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (int)(arg1
)->GetOrientation();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= SWIG_FromInt((int)result
);
18013 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 char *kwnames
[] = {
18019 (char *) "self", NULL
18022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (bool)(arg1
)->Ok();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18041 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18057 result
= (wxString
*) &_result_ref
;
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18076 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (bool)(arg1
)->GetColour();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18104 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (int)(arg1
)->GetDuplex();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_FromInt((int)result
);
18130 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (int)(arg1
)->GetPaperId();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_FromInt((int)result
);
18156 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18172 result
= (wxSize
*) &_result_ref
;
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18185 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (int)(arg1
)->GetQuality();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_FromInt((int)result
);
18211 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "v", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 arg2
= (int) SWIG_AsInt(obj1
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->SetNoCopies(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "flag", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 arg2
= (bool) SWIG_AsBool(obj1
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetCollate(arg2
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 Py_INCREF(Py_None
); resultobj
= Py_None
;
18269 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "orient", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 arg2
= (int) SWIG_AsInt(obj1
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->SetOrientation(arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18298 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18301 wxString
*arg2
= 0 ;
18302 bool temp2
= False
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "name", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18313 arg2
= wxString_in_helper(obj1
);
18314 if (arg2
== NULL
) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "colour", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (bool) SWIG_AsBool(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->SetColour(arg2
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 Py_INCREF(Py_None
); resultobj
= Py_None
;
18368 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "duplex", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 Py_INCREF(Py_None
); resultobj
= Py_None
;
18397 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "sizeId", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "sz", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 Py_INCREF(Py_None
); resultobj
= Py_None
;
18458 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "quality", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= (int) SWIG_AsInt(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetQuality(arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18503 result
= (wxString
*) &_result_ref
;
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18513 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18522 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18538 result
= (wxString
*) &_result_ref
;
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18548 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18557 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18573 result
= (wxString
*) &_result_ref
;
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18583 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18592 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 wxString
const &_result_ref
= (arg1
)->GetFilename();
18608 result
= (wxString
*) &_result_ref
;
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18618 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18627 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18643 result
= (wxString
*) &_result_ref
;
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18662 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (double)(arg1
)->GetPrinterScaleX();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_FromDouble((double)result
);
18688 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (double)(arg1
)->GetPrinterScaleY();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_FromDouble((double)result
);
18714 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (long)(arg1
)->GetPrinterTranslateX();
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_FromLong((long)result
);
18740 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (long)(arg1
)->GetPrinterTranslateY();
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_FromLong((long)result
);
18766 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (int)(arg1
)->GetPrintMode();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_FromInt((int)result
);
18792 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18795 wxString
*arg2
= 0 ;
18796 bool temp2
= False
;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "command", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 arg2
= wxString_in_helper(obj1
);
18808 if (arg2
== NULL
) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 Py_INCREF(Py_None
); resultobj
= Py_None
;
18833 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18836 wxString
*arg2
= 0 ;
18837 bool temp2
= False
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "options", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18877 wxString
*arg2
= 0 ;
18878 bool temp2
= False
;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self",(char *) "command", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 arg2
= wxString_in_helper(obj1
);
18890 if (arg2
== NULL
) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 Py_INCREF(Py_None
); resultobj
= Py_None
;
18915 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18918 wxString
*arg2
= 0 ;
18919 bool temp2
= False
;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "filename", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 arg2
= wxString_in_helper(obj1
);
18931 if (arg2
== NULL
) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetFilename((wxString
const &)*arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18956 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18959 wxString
*arg2
= 0 ;
18960 bool temp2
= False
;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "path", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= wxString_in_helper(obj1
);
18972 if (arg2
== NULL
) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18997 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "x", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19010 arg2
= (double) SWIG_AsDouble(obj1
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 (arg1
)->SetPrinterScaleX(arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 Py_INCREF(Py_None
); resultobj
= Py_None
;
19026 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self",(char *) "y", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 arg2
= (double) SWIG_AsDouble(obj1
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 (arg1
)->SetPrinterScaleY(arg2
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 Py_INCREF(Py_None
); resultobj
= Py_None
;
19055 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 PyObject
* obj2
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "x",(char *) "y", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 arg2
= (double) SWIG_AsDouble(obj1
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19072 arg3
= (double) SWIG_AsDouble(obj2
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "x", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19101 arg2
= (long) SWIG_AsLong(obj1
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->SetPrinterTranslateX(arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "y", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19130 arg2
= (long) SWIG_AsLong(obj1
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 (arg1
)->SetPrinterTranslateY(arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 Py_INCREF(Py_None
); resultobj
= Py_None
;
19146 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 PyObject
* obj2
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self",(char *) "x",(char *) "y", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19161 arg2
= (long) SWIG_AsLong(obj1
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19163 arg3
= (long) SWIG_AsLong(obj2
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "printMode", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19211 wxOutputStream
*result
;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19234 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19237 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19238 PyObject
* obj0
= 0 ;
19239 PyObject
* obj1
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "outputstream", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 (arg1
)->SetOutputStream(arg2
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 Py_INCREF(Py_None
); resultobj
= Py_None
;
19263 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19266 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19268 return Py_BuildValue((char *)"");
19270 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19271 PyObject
*resultobj
;
19272 wxPageSetupDialogData
*result
;
19274 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19289 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19290 PyObject
*resultobj
;
19291 wxPageSetupDialogData
*arg1
= 0 ;
19292 wxPageSetupDialogData
*result
;
19293 PyObject
* obj0
= 0 ;
19295 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19299 if (arg1
== NULL
) {
19300 PyErr_SetString(PyExc_TypeError
,"null reference");
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19317 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19322 argc
= PyObject_Length(args
);
19323 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19324 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19327 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19341 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19345 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19350 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 Py_INCREF(Py_None
); resultobj
= Py_None
;
19375 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self",(char *) "flag", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19388 arg2
= (bool) SWIG_AsBool(obj1
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->EnableHelp(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "flag", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 arg2
= (bool) SWIG_AsBool(obj1
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->EnableMargins(arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 Py_INCREF(Py_None
); resultobj
= Py_None
;
19433 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self",(char *) "flag", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19446 arg2
= (bool) SWIG_AsBool(obj1
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 (arg1
)->EnableOrientation(arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 Py_INCREF(Py_None
); resultobj
= Py_None
;
19462 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "flag", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 arg2
= (bool) SWIG_AsBool(obj1
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->EnablePaper(arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self",(char *) "flag", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 arg2
= (bool) SWIG_AsBool(obj1
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->EnablePrinter(arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (bool)(arg1
)->GetDefaultMinMargins();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19548 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19552 PyObject
* obj0
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (bool)(arg1
)->GetEnableMargins();
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19576 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (bool)(arg1
)->GetEnableOrientation();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19604 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (bool)(arg1
)->GetEnablePaper();
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19632 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (bool)(arg1
)->GetEnablePrinter();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19660 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (bool)(arg1
)->GetEnableHelp();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19688 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (bool)(arg1
)->GetDefaultInfo();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (arg1
)->GetMarginTopLeft();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 wxPoint
* resultptr
;
19737 resultptr
= new wxPoint((wxPoint
&) result
);
19738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19746 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
;
19748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (arg1
)->GetMarginBottomRight();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19766 wxPoint
* resultptr
;
19767 resultptr
= new wxPoint((wxPoint
&) result
);
19768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19776 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (arg1
)->GetMinMarginTopLeft();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 wxPoint
* resultptr
;
19797 resultptr
= new wxPoint((wxPoint
&) result
);
19798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19806 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (arg1
)->GetMinMarginBottomRight();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 wxPoint
* resultptr
;
19827 resultptr
= new wxPoint((wxPoint
&) result
);
19828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19836 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (int)(arg1
)->GetPaperId();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_FromInt((int)result
);
19862 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (arg1
)->GetPaperSize();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19882 wxSize
* resultptr
;
19883 resultptr
= new wxSize((wxSize
&) result
);
19884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19892 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19895 wxPrintData
*result
;
19896 PyObject
* obj0
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19908 result
= (wxPrintData
*) &_result_ref
;
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19921 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (bool)(arg1
)->Ok();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19949 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "flag", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 arg2
= (bool) SWIG_AsBool(obj1
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->SetDefaultInfo(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19978 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self",(char *) "flag", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19991 arg2
= (bool) SWIG_AsBool(obj1
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->SetDefaultMinMargins(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 Py_INCREF(Py_None
); resultobj
= Py_None
;
20007 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20010 wxPoint
*arg2
= 0 ;
20012 PyObject
* obj0
= 0 ;
20013 PyObject
* obj1
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self",(char *) "pt", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20042 wxPoint
*arg2
= 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "pt", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20074 wxPoint
*arg2
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "pt", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 Py_INCREF(Py_None
); resultobj
= Py_None
;
20103 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20106 wxPoint
*arg2
= 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "pt", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20135 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "id", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "size", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20199 wxPrintData
*arg2
= 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "printData", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20212 if (arg2
== NULL
) {
20213 PyErr_SetString(PyExc_TypeError
,"null reference");
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 Py_INCREF(Py_None
); resultobj
= Py_None
;
20230 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20233 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20235 return Py_BuildValue((char *)"");
20237 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
;
20239 wxWindow
*arg1
= (wxWindow
*) 0 ;
20240 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20241 wxPageSetupDialog
*result
;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "parent",(char *) "data", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 if (!wxPyCheckForApp()) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20270 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20273 wxPageSetupDialogData
*result
;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20286 result
= (wxPageSetupDialogData
*) &_result_ref
;
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20299 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20301 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 result
= (int)(arg1
)->ShowModal();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_FromInt((int)result
);
20325 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20328 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20330 return Py_BuildValue((char *)"");
20332 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20333 PyObject
*resultobj
;
20334 wxPrintDialogData
*result
;
20336 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20351 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20352 PyObject
*resultobj
;
20353 wxPrintData
*arg1
= 0 ;
20354 wxPrintDialogData
*result
;
20355 PyObject
* obj0
= 0 ;
20357 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20361 if (arg1
== NULL
) {
20362 PyErr_SetString(PyExc_TypeError
,"null reference");
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20379 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20384 argc
= PyObject_Length(args
);
20385 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20386 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20389 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20395 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20403 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20407 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20412 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_FromInt((int)result
);
20463 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_FromInt((int)result
);
20489 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_FromInt((int)result
);
20515 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 char *kwnames
[] = {
20521 (char *) "self", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_FromInt((int)result
);
20541 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 char *kwnames
[] = {
20547 (char *) "self", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_FromInt((int)result
);
20567 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20595 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20623 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20651 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20655 PyObject
* obj0
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20679 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20681 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20683 PyObject
* obj0
= 0 ;
20684 char *kwnames
[] = {
20685 (char *) "self", NULL
20688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20707 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self",(char *) "v", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 arg2
= (int) SWIG_AsInt(obj1
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 (arg1
)->SetFromPage(arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 Py_INCREF(Py_None
); resultobj
= Py_None
;
20736 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self",(char *) "v", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 arg2
= (int) SWIG_AsInt(obj1
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 (arg1
)->SetToPage(arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 Py_INCREF(Py_None
); resultobj
= Py_None
;
20765 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self",(char *) "v", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 arg2
= (int) SWIG_AsInt(obj1
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 (arg1
)->SetMinPage(arg2
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 Py_INCREF(Py_None
); resultobj
= Py_None
;
20794 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self",(char *) "v", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 arg2
= (int) SWIG_AsInt(obj1
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 (arg1
)->SetMaxPage(arg2
);
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20816 Py_INCREF(Py_None
); resultobj
= Py_None
;
20823 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self",(char *) "v", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 arg2
= (int) SWIG_AsInt(obj1
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 (arg1
)->SetNoCopies(arg2
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 Py_INCREF(Py_None
); resultobj
= Py_None
;
20852 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "flag", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20865 arg2
= (bool) SWIG_AsBool(obj1
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 (arg1
)->SetAllPages(arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "flag", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 arg2
= (bool) SWIG_AsBool(obj1
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 (arg1
)->SetSelection(arg2
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "flag", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 arg2
= (bool) SWIG_AsBool(obj1
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->SetCollate(arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 Py_INCREF(Py_None
); resultobj
= Py_None
;
20939 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "flag", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 arg2
= (bool) SWIG_AsBool(obj1
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->SetPrintToFile(arg2
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 char *kwnames
[] = {
20975 (char *) "self",(char *) "flag", NULL
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 arg2
= (bool) SWIG_AsBool(obj1
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 (arg1
)->SetSetupDialog(arg2
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 Py_INCREF(Py_None
); resultobj
= Py_None
;
20997 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 PyObject
* obj1
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self",(char *) "flag", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 arg2
= (bool) SWIG_AsBool(obj1
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->EnablePrintToFile(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 PyObject
* obj1
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self",(char *) "flag", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21039 arg2
= (bool) SWIG_AsBool(obj1
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 (arg1
)->EnableSelection(arg2
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 Py_INCREF(Py_None
); resultobj
= Py_None
;
21055 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self",(char *) "flag", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 arg2
= (bool) SWIG_AsBool(obj1
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 (arg1
)->EnablePageNumbers(arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "flag", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 arg2
= (bool) SWIG_AsBool(obj1
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 (arg1
)->EnableHelp(arg2
);
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 Py_INCREF(Py_None
); resultobj
= Py_None
;
21113 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21141 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21169 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21197 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21225 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21253 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21256 wxPrintData
*result
;
21257 PyObject
* obj0
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21269 result
= (wxPrintData
*) &_result_ref
;
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21282 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21285 wxPrintData
*arg2
= 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "printData", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21298 if (arg2
== NULL
) {
21299 PyErr_SetString(PyExc_TypeError
,"null reference");
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 Py_INCREF(Py_None
); resultobj
= Py_None
;
21316 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21319 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21321 return Py_BuildValue((char *)"");
21323 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxWindow
*arg1
= (wxWindow
*) 0 ;
21326 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21327 wxPrintDialog
*result
;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "parent",(char *) "data", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if (!wxPyCheckForApp()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21356 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21359 wxPrintDialogData
*result
;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21372 result
= (wxPrintDialogData
*) &_result_ref
;
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21385 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 char *kwnames
[] = {
21391 (char *) "self", NULL
21394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxDC
*)(arg1
)->GetPrintDC();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= wxPyMake_wxObject(result
, 1);
21413 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (int)(arg1
)->ShowModal();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_FromInt((int)result
);
21439 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21442 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21444 return Py_BuildValue((char *)"");
21446 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "data", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 if (!wxPyCheckForApp()) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (wxPrinter
*)new wxPrinter(arg1
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21475 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21503 wxWindow
*arg2
= (wxWindow
*) 0 ;
21504 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 PyObject
* obj2
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "parent",(char *) "printout", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21517 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 Py_INCREF(Py_None
); resultobj
= Py_None
;
21533 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21536 wxPrintDialogData
*result
;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21549 result
= (wxPrintDialogData
*) &_result_ref
;
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21562 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21565 wxWindow
*arg2
= (wxWindow
*) 0 ;
21566 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21567 int arg4
= (int) True
;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 PyObject
* obj3
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21582 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg4
= (int) SWIG_AsInt(obj3
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21604 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21607 wxWindow
*arg2
= (wxWindow
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "parent", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= wxPyMake_wxObject(result
, 0);
21636 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21639 wxWindow
*arg2
= (wxWindow
*) 0 ;
21640 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21641 wxString
*arg4
= 0 ;
21642 bool temp4
= False
;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21646 PyObject
* obj3
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21659 arg4
= wxString_in_helper(obj3
);
21660 if (arg4
== NULL
) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21685 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21688 wxWindow
*arg2
= (wxWindow
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "parent", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (bool)(arg1
)->Setup(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21717 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)(arg1
)->GetAbort();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21748 char *kwnames
[] = {
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (int)wxPrinter::GetLastError();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= SWIG_FromInt((int)result
);
21767 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21770 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21772 return Py_BuildValue((char *)"");
21774 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21777 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21778 wxPyPrintout
*result
;
21779 bool temp1
= False
;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "title", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21788 arg1
= wxString_in_helper(obj0
);
21789 if (arg1
== NULL
) SWIG_fail
;
21794 if (!wxPyCheckForApp()) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= wxPyMake_wxObject(result
, 1);
21818 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21821 PyObject
*arg2
= (PyObject
*) 0 ;
21822 PyObject
*arg3
= (PyObject
*) 0 ;
21823 PyObject
* obj0
= 0 ;
21824 PyObject
* obj1
= 0 ;
21825 PyObject
* obj2
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "self",(char *) "_class", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21881 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= (wxDC
*)(arg1
)->GetDC();
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 resultobj
= wxPyMake_wxObject(result
, 0);
21909 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21912 wxDC
*arg2
= (wxDC
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "dc", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetDC(arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 PyObject
* obj2
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self",(char *) "w",(char *) "h", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 arg2
= (int) SWIG_AsInt(obj1
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21955 arg3
= (int) SWIG_AsInt(obj2
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 Py_INCREF(Py_None
); resultobj
= Py_None
;
21971 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21974 int *arg2
= (int *) 0 ;
21975 int *arg3
= (int *) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self", NULL
21985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21998 resultobj
= t_output_helper(resultobj
,o
);
22001 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22002 resultobj
= t_output_helper(resultobj
,o
);
22010 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "w",(char *) "h", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 arg2
= (int) SWIG_AsInt(obj1
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22027 arg3
= (int) SWIG_AsInt(obj2
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 Py_INCREF(Py_None
); resultobj
= Py_None
;
22043 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22046 int *arg2
= (int *) 0 ;
22047 int *arg3
= (int *) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 Py_INCREF(Py_None
); resultobj
= Py_None
;
22069 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22070 resultobj
= t_output_helper(resultobj
,o
);
22073 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22074 resultobj
= t_output_helper(resultobj
,o
);
22082 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 PyObject
* obj2
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "x",(char *) "y", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 arg2
= (int) SWIG_AsInt(obj1
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22099 arg3
= (int) SWIG_AsInt(obj2
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->SetPPIScreen(arg2
,arg3
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 Py_INCREF(Py_None
); resultobj
= Py_None
;
22115 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22118 int *arg2
= (int *) 0 ;
22119 int *arg3
= (int *) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->GetPPIScreen(arg2
,arg3
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 Py_INCREF(Py_None
); resultobj
= Py_None
;
22141 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22142 resultobj
= t_output_helper(resultobj
,o
);
22145 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22146 resultobj
= t_output_helper(resultobj
,o
);
22154 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 PyObject
* obj2
= 0 ;
22162 char *kwnames
[] = {
22163 (char *) "self",(char *) "x",(char *) "y", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 arg2
= (int) SWIG_AsInt(obj1
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22171 arg3
= (int) SWIG_AsInt(obj2
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 Py_INCREF(Py_None
); resultobj
= Py_None
;
22187 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22190 int *arg2
= (int *) 0 ;
22191 int *arg3
= (int *) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 Py_INCREF(Py_None
); resultobj
= Py_None
;
22213 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22214 resultobj
= t_output_helper(resultobj
,o
);
22217 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22218 resultobj
= t_output_helper(resultobj
,o
);
22226 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->IsPreview();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "p", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22267 arg2
= (bool) SWIG_AsBool(obj1
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->SetIsPreview(arg2
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 Py_INCREF(Py_None
); resultobj
= Py_None
;
22283 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg2
= (int) SWIG_AsInt(obj1
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22301 arg3
= (int) SWIG_AsInt(obj2
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 (arg1
)->base_OnEndDocument();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22344 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->base_OnBeginPrinting();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 Py_INCREF(Py_None
); resultobj
= Py_None
;
22369 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->base_OnEndPrinting();
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->base_OnPreparePrinting();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "page", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 arg2
= (int) SWIG_AsInt(obj1
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (bool)(arg1
)->base_HasPage(arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22451 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22454 int *arg2
= (int *) 0 ;
22455 int *arg3
= (int *) 0 ;
22456 int *arg4
= (int *) 0 ;
22457 int *arg5
= (int *) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22484 resultobj
= t_output_helper(resultobj
,o
);
22487 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22488 resultobj
= t_output_helper(resultobj
,o
);
22491 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22492 resultobj
= t_output_helper(resultobj
,o
);
22495 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22496 resultobj
= t_output_helper(resultobj
,o
);
22504 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22507 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22509 return Py_BuildValue((char *)"");
22511 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22514 wxWindow
*arg2
= (wxWindow
*) 0 ;
22515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22519 long arg5
= (long) 0 ;
22520 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22521 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22522 wxPreviewCanvas
*result
;
22525 bool temp6
= False
;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 PyObject
* obj2
= 0 ;
22529 PyObject
* obj3
= 0 ;
22530 PyObject
* obj4
= 0 ;
22531 PyObject
* obj5
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22554 arg5
= (long) SWIG_AsLong(obj4
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22559 arg6
= wxString_in_helper(obj5
);
22560 if (arg6
== NULL
) SWIG_fail
;
22565 if (!wxPyCheckForApp()) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22587 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22590 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22592 return Py_BuildValue((char *)"");
22594 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22597 wxFrame
*arg2
= (wxFrame
*) 0 ;
22598 wxString
*arg3
= 0 ;
22599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22603 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22604 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22606 wxPreviewFrame
*result
;
22607 bool temp3
= False
;
22610 bool temp7
= False
;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 PyObject
* obj2
= 0 ;
22614 PyObject
* obj3
= 0 ;
22615 PyObject
* obj4
= 0 ;
22616 PyObject
* obj5
= 0 ;
22617 PyObject
* obj6
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 arg3
= wxString_in_helper(obj2
);
22629 if (arg3
== NULL
) SWIG_fail
;
22635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22645 arg6
= (long) SWIG_AsLong(obj5
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22650 arg7
= wxString_in_helper(obj6
);
22651 if (arg7
== NULL
) SWIG_fail
;
22656 if (!wxPyCheckForApp()) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22686 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->Initialize();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 (arg1
)->CreateControlBar();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22736 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 (arg1
)->CreateCanvas();
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 Py_INCREF(Py_None
); resultobj
= Py_None
;
22761 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22764 wxPreviewControlBar
*result
;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22787 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22790 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22792 return Py_BuildValue((char *)"");
22794 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22798 wxWindow
*arg3
= (wxWindow
*) 0 ;
22799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22803 long arg6
= (long) wxTAB_TRAVERSAL
;
22804 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22806 wxPreviewControlBar
*result
;
22809 bool temp7
= False
;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 PyObject
* obj2
= 0 ;
22813 PyObject
* obj3
= 0 ;
22814 PyObject
* obj4
= 0 ;
22815 PyObject
* obj5
= 0 ;
22816 PyObject
* obj6
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 arg2
= (long) SWIG_AsLong(obj1
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22826 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22841 arg6
= (long) SWIG_AsLong(obj5
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22846 arg7
= wxString_in_helper(obj6
);
22847 if (arg7
== NULL
) SWIG_fail
;
22852 if (!wxPyCheckForApp()) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22874 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (int)(arg1
)->GetZoomControl();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_FromInt((int)result
);
22900 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "zoom", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 arg2
= (int) SWIG_AsInt(obj1
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 (arg1
)->SetZoomControl(arg2
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22932 wxPrintPreview
*result
;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22955 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 Py_INCREF(Py_None
); resultobj
= Py_None
;
22980 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 char *kwnames
[] = {
22985 (char *) "self", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->OnPrevious();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 Py_INCREF(Py_None
); resultobj
= Py_None
;
23005 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23033 PyObject
* obj0
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 Py_INCREF(Py_None
); resultobj
= Py_None
;
23080 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23083 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23085 return Py_BuildValue((char *)"");
23087 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23088 PyObject
*resultobj
;
23089 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23090 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23091 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23092 wxPrintPreview
*result
;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 PyObject
* obj2
= 0 ;
23097 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23107 if (!wxPyCheckForApp()) SWIG_fail
;
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23121 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23122 PyObject
*resultobj
;
23123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23124 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23125 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23126 wxPrintPreview
*result
;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 PyObject
* obj2
= 0 ;
23131 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23136 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 if (!wxPyCheckForApp()) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23153 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23158 argc
= PyObject_Length(args
);
23159 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23162 if ((argc
>= 2) && (argc
<= 3)) {
23166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23185 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23189 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23197 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23226 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23234 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23240 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23245 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "pageNum", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 arg2
= (int) SWIG_AsInt(obj1
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23277 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (int)(arg1
)->GetCurrentPage();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_FromInt((int)result
);
23303 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23306 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self",(char *) "printout", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->SetPrintout(arg2
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23335 wxPyPrintout
*result
;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= wxPyMake_wxObject(result
, 0);
23360 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23363 wxPyPrintout
*result
;
23364 PyObject
* obj0
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= wxPyMake_wxObject(result
, 0);
23388 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23391 wxFrame
*arg2
= (wxFrame
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "frame", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 (arg1
)->SetFrame(arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 Py_INCREF(Py_None
); resultobj
= Py_None
;
23417 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23420 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "canvas", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 (arg1
)->SetCanvas(arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 Py_INCREF(Py_None
); resultobj
= Py_None
;
23446 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23450 PyObject
* obj0
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "self", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (wxFrame
*)(arg1
)->GetFrame();
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= wxPyMake_wxObject(result
, 0);
23474 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23477 wxPreviewCanvas
*result
;
23478 PyObject
* obj0
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23500 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23503 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 PyObject
* obj2
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23521 if (arg3
== NULL
) {
23522 PyErr_SetString(PyExc_TypeError
,"null reference");
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23541 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23544 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 PyObject
* obj2
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23562 if (arg3
== NULL
) {
23563 PyErr_SetString(PyExc_TypeError
,"null reference");
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "pageNum", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23596 arg2
= (int) SWIG_AsInt(obj1
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (bool)(arg1
)->RenderPage(arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23617 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "canvas", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 (arg1
)->AdjustScrollbars(arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 Py_INCREF(Py_None
); resultobj
= Py_None
;
23643 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23646 wxPrintDialogData
*result
;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23659 result
= (wxPrintDialogData
*) &_result_ref
;
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23672 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "percent", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 arg2
= (int) SWIG_AsInt(obj1
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 (arg1
)->SetZoom(arg2
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 Py_INCREF(Py_None
); resultobj
= Py_None
;
23701 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (int)(arg1
)->GetZoom();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_FromInt((int)result
);
23727 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (int)(arg1
)->GetMaxPage();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_FromInt((int)result
);
23753 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (int)(arg1
)->GetMinPage();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_FromInt((int)result
);
23779 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)(arg1
)->Ok();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "ok", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 arg2
= (bool) SWIG_AsBool(obj1
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 (arg1
)->SetOk(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 Py_INCREF(Py_None
); resultobj
= Py_None
;
23836 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "interactive", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg2
= (bool) SWIG_AsBool(obj1
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)(arg1
)->Print(arg2
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23868 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->DetermineScaling();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23896 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23898 return Py_BuildValue((char *)"");
23900 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23901 PyObject
*resultobj
;
23902 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23903 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23904 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23905 wxPyPrintPreview
*result
;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 PyObject
* obj2
= 0 ;
23910 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23916 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 if (!wxPyCheckForApp()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23934 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23935 PyObject
*resultobj
;
23936 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23937 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23938 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23939 wxPyPrintPreview
*result
;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 PyObject
* obj2
= 0 ;
23944 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23949 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 if (!wxPyCheckForApp()) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23966 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23971 argc
= PyObject_Length(args
);
23972 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23973 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23975 if ((argc
>= 2) && (argc
<= 3)) {
23979 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23989 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23998 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24002 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24010 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24019 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24029 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24039 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24047 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24053 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24058 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24061 PyObject
*arg2
= (PyObject
*) 0 ;
24062 PyObject
*arg3
= (PyObject
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 PyObject
* obj2
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "self",(char *) "_class", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 Py_INCREF(Py_None
); resultobj
= Py_None
;
24089 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "pageNum", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 arg2
= (int) SWIG_AsInt(obj1
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24121 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24124 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 PyObject
* obj2
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24142 if (arg3
== NULL
) {
24143 PyErr_SetString(PyExc_TypeError
,"null reference");
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24162 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24165 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 PyObject
* obj2
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24183 if (arg3
== NULL
) {
24184 PyErr_SetString(PyExc_TypeError
,"null reference");
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24203 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24204 PyObject
*resultobj
;
24205 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self",(char *) "pageNum", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24217 arg2
= (int) SWIG_AsInt(obj1
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24235 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "percent", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 arg2
= (int) SWIG_AsInt(obj1
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 (arg1
)->base_SetZoom(arg2
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 Py_INCREF(Py_None
); resultobj
= Py_None
;
24264 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "interactive", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 arg2
= (bool) SWIG_AsBool(obj1
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)(arg1
)->base_Print(arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24296 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->base_DetermineScaling();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24324 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24326 return Py_BuildValue((char *)"");
24328 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24331 wxFrame
*arg2
= (wxFrame
*) 0 ;
24332 wxString
*arg3
= 0 ;
24333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24337 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24338 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24340 wxPyPreviewFrame
*result
;
24341 bool temp3
= False
;
24344 bool temp7
= False
;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 PyObject
* obj2
= 0 ;
24348 PyObject
* obj3
= 0 ;
24349 PyObject
* obj4
= 0 ;
24350 PyObject
* obj5
= 0 ;
24351 PyObject
* obj6
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 arg3
= wxString_in_helper(obj2
);
24363 if (arg3
== NULL
) SWIG_fail
;
24369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24379 arg6
= (long) SWIG_AsLong(obj5
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24384 arg7
= wxString_in_helper(obj6
);
24385 if (arg7
== NULL
) SWIG_fail
;
24390 if (!wxPyCheckForApp()) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24420 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24423 PyObject
*arg2
= (PyObject
*) 0 ;
24424 PyObject
*arg3
= (PyObject
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "self",(char *) "_class", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 Py_INCREF(Py_None
); resultobj
= Py_None
;
24451 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24454 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "canvas", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->SetPreviewCanvas(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24483 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "bar", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 (arg1
)->SetControlBar(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 Py_INCREF(Py_None
); resultobj
= Py_None
;
24509 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 (arg1
)->base_Initialize();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 Py_INCREF(Py_None
); resultobj
= Py_None
;
24534 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 (arg1
)->base_CreateCanvas();
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 Py_INCREF(Py_None
); resultobj
= Py_None
;
24559 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->base_CreateControlBar();
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 Py_INCREF(Py_None
); resultobj
= Py_None
;
24584 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24587 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24589 return Py_BuildValue((char *)"");
24591 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24595 wxWindow
*arg3
= (wxWindow
*) 0 ;
24596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24600 long arg6
= (long) 0 ;
24601 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24603 wxPyPreviewControlBar
*result
;
24606 bool temp7
= False
;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 PyObject
* obj2
= 0 ;
24610 PyObject
* obj3
= 0 ;
24611 PyObject
* obj4
= 0 ;
24612 PyObject
* obj5
= 0 ;
24613 PyObject
* obj6
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 arg2
= (long) SWIG_AsLong(obj1
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24623 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24638 arg6
= (long) SWIG_AsLong(obj5
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24643 arg7
= wxString_in_helper(obj6
);
24644 if (arg7
== NULL
) SWIG_fail
;
24649 if (!wxPyCheckForApp()) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24671 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24674 PyObject
*arg2
= (PyObject
*) 0 ;
24675 PyObject
*arg3
= (PyObject
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "self",(char *) "_class", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24705 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "preview", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->SetPrintPreview(arg2
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 Py_INCREF(Py_None
); resultobj
= Py_None
;
24731 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->base_CreateButtons();
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 Py_INCREF(Py_None
); resultobj
= Py_None
;
24756 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "zoom", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 arg2
= (int) SWIG_AsInt(obj1
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->base_SetZoomControl(arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24788 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24790 return Py_BuildValue((char *)"");
24792 static PyMethodDef SwigMethods
[] = {
24793 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24799 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24814 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24815 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24824 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24840 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24864 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24876 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24880 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24884 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24889 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24906 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24934 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24941 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24964 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24972 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24984 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24990 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24999 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25005 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25008 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25011 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25015 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25033 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25059 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25067 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25071 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25073 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25082 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25085 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25092 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25110 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25114 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25119 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25123 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25139 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25142 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25144 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25148 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25157 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25166 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25172 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25184 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25191 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25195 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25221 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25247 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25273 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25274 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25319 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25320 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25351 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25355 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25356 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25389 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25394 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25405 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25428 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25430 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25436 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25446 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25447 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25470 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25471 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25480 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25488 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25500 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25501 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25503 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25504 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25506 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25507 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25509 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25510 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25512 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25513 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25515 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25516 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25518 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25519 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25521 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25522 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25524 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25525 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25527 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25528 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25530 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25533 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25534 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25536 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25537 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25539 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25540 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25542 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25543 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25545 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25548 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25549 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25551 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25552 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25554 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25555 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25557 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25558 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25560 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25561 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25563 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25564 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25566 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25567 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25569 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25570 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25572 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25575 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25576 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25578 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25579 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25581 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25582 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25584 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25585 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25587 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25588 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25590 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25591 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25593 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25594 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25596 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25597 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25599 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25600 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25602 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25603 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25605 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25606 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25608 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25611 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25614 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25615 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25617 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25618 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25620 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25621 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25623 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25624 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25626 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25627 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25629 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25632 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25635 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25638 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25639 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25641 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25642 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25644 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25645 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25647 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25648 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25650 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25653 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25656 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25659 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25662 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25665 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25668 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25671 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25672 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25674 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25677 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25680 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25683 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25686 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25687 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25689 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25692 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25693 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25695 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25696 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25698 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25699 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25701 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25702 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25704 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25707 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25708 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25710 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25711 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25713 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25716 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25717 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25719 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25722 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25725 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25728 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25729 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25731 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25734 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25735 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25737 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25740 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25743 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25746 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25749 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25752 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25753 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25755 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25758 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25761 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25764 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25767 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25770 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25773 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25776 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25779 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25780 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25782 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25783 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25785 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25786 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25788 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25789 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25791 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25792 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25794 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25795 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25797 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25798 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25800 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25801 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25803 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25804 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25806 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25809 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25812 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25815 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25818 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25821 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25824 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25827 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25830 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25833 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25836 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) ((wxSizer
*) x
));
25839 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25842 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25845 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25848 static void *_p_wxEventTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) ((wxEvent
*) x
));
25851 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) ((wxFontData
*) x
));
25854 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25857 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25860 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25863 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25866 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25869 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25872 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25875 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25878 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25879 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25881 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25882 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25884 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25885 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25887 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25888 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25890 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25891 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25893 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25896 static void *_p_wxControlTo_p_wxObject(void *x
) {
25897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25899 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25900 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25902 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25905 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25906 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25908 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25911 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25914 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25917 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) ((wxColourData
*) x
));
25920 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25923 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25926 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25929 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25932 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25935 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25938 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25941 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25944 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25947 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25950 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25953 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25956 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25959 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25962 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25965 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25968 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25971 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25974 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25977 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25980 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25983 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25986 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25989 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25992 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25995 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25998 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26001 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26004 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26007 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26010 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26013 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26016 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26019 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26022 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26025 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26028 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26031 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26034 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26037 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26040 static void *_p_wxImageTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) ((wxImage
*) x
));
26043 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26046 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26049 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26052 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26055 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26058 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26061 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26064 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26067 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26070 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26073 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26076 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26079 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26082 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26085 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26088 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26091 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26094 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26097 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26100 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26103 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26106 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26109 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26112 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26115 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26118 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26121 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26124 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26127 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26130 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26133 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26136 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26139 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26142 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26145 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26146 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26148 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26151 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26152 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26154 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26155 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26157 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26158 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26160 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26161 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26163 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26164 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26166 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26169 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26170 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26172 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26175 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26178 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26179 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26181 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26182 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26184 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26187 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26190 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26191 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26193 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26194 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26196 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26199 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26200 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26202 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26203 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26205 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26206 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26208 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26209 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26211 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26212 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26214 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26215 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26217 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26218 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26220 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26221 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26223 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26224 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26226 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26227 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26229 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26230 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26232 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26233 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26235 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26236 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26238 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26239 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26241 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26242 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26244 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26245 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26247 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26248 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26250 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26251 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26253 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26254 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26256 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26257 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26259 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26260 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26262 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26263 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26265 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26266 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26268 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26269 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26271 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26272 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26274 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26275 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26277 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26278 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26280 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26281 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26283 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26284 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26286 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26287 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26289 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26290 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26292 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26293 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26295 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26296 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26298 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26299 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26301 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26302 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26304 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26307 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26310 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26311 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26313 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26314 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26316 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26317 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26319 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26320 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26322 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26323 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26325 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26326 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26328 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26329 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26331 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26332 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26334 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26335 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26337 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26338 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26340 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26341 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26343 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26344 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26346 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26347 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26349 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26350 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26352 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26353 return (void *)((wxWindow
*) ((wxControl
*) x
));
26355 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26356 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26358 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26359 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26361 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26362 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26364 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26365 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26367 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26368 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26370 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26371 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26373 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26374 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26376 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26377 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26379 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26380 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26382 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26383 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26385 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26386 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26388 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26391 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26394 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26395 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26397 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26398 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26400 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26403 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26404 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26406 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26407 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26409 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26410 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26412 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26413 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26415 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26416 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26418 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26419 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26421 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26422 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26424 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26425 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26427 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26428 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26430 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26431 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26433 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26434 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26436 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26437 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26439 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26440 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26442 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26443 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26445 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26446 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26448 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26449 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26451 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26452 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26454 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26455 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26457 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26458 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26460 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26461 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26463 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26464 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26466 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26467 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26469 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26470 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26472 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26473 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26475 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26476 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26478 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26479 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26481 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26482 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26484 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26485 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26487 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26488 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26490 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26491 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26493 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26494 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26496 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26497 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26499 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26500 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26502 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26503 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26505 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26506 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26508 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26509 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26511 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26512 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26560 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}};
26561 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}};
26562 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}};
26563 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}};
26564 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}};
26565 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}};
26566 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}};
26567 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}};
26568 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}};
26569 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}};
26570 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}};
26571 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}};
26572 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}};
26573 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}};
26574 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}};
26575 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}};
26576 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}};
26577 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}};
26578 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}};
26579 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}};
26580 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}};
26581 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}};
26582 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}};
26583 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}};
26584 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}};
26585 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}};
26586 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}};
26587 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}};
26588 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}};
26589 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}};
26590 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}};
26591 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}};
26592 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}};
26593 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}};
26594 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}};
26595 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}};
26596 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}};
26597 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}};
26598 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}};
26599 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}};
26601 static swig_type_info
*swig_types_initial
[] = {
26602 _swigt__p_wxQueryLayoutInfoEvent
,
26603 _swigt__p_wxPreviewFrame
,
26604 _swigt__p_wxPyPreviewFrame
,
26605 _swigt__p_wxPyPanel
,
26607 _swigt__p_wxFontData
,
26609 _swigt__p_wxPrintData
,
26610 _swigt__p_wxTaskBarIcon
,
26611 _swigt__p_wxIconBundle
,
26612 _swigt__p_wxLayoutAlgorithm
,
26613 _swigt__p_wxFindDialogEvent
,
26614 _swigt__p_wxPreviewCanvas
,
26616 _swigt__p_wxSplitterEvent
,
26617 _swigt__p_wxRegion
,
26618 _swigt__p_wxFindReplaceData
,
26623 _swigt__p_wxVisualAttributes
,
26624 _swigt__p_wxMDIChildFrame
,
26625 _swigt__p_wxColourData
,
26626 _swigt__p_wxNotifyEvent
,
26627 _swigt__p_wxPyWindow
,
26628 _swigt__p_wxSplashScreen
,
26629 _swigt__p_wxFindReplaceDialog
,
26630 _swigt__p_wxProgressDialog
,
26631 _swigt__p_wxMessageDialog
,
26632 _swigt__p_wxTextEntryDialog
,
26633 _swigt__p_wxSingleChoiceDialog
,
26634 _swigt__p_wxMultiChoiceDialog
,
26635 _swigt__p_wxFileDialog
,
26636 _swigt__p_wxPrinter
,
26637 _swigt__p_wxArrayInt
,
26638 _swigt__p_wxEvtHandler
,
26639 _swigt__p_wxCalculateLayoutEvent
,
26640 _swigt__p_wxPyHtmlListBox
,
26641 _swigt__p_wxPyVListBox
,
26644 _swigt__p_wxMiniFrame
,
26646 _swigt__p_wxPyPrintout
,
26647 _swigt__p_wxTaskBarIconEvent
,
26648 _swigt__p_wxScrollWinEvent
,
26649 _swigt__p_wxStatusBar
,
26650 _swigt__p_wxMDIParentFrame
,
26652 _swigt__p_wxObject
,
26653 _swigt__p_wxOutputStream
,
26654 _swigt__p_wxPyScrolledWindow
,
26655 _swigt__p_wxMDIClientWindow
,
26656 _swigt__p_wxTipWindow
,
26657 _swigt__p_wxPyPopupTransientWindow
,
26658 _swigt__p_wxSashLayoutWindow
,
26659 _swigt__p_wxSplitterWindow
,
26660 _swigt__p_wxSplashScreenWindow
,
26661 _swigt__p_wxPyVScrolledWindow
,
26662 _swigt__p_wxPopupWindow
,
26663 _swigt__p_wxSashWindow
,
26664 _swigt__p_wxTopLevelWindow
,
26665 _swigt__p_wxWindow
,
26666 _swigt__p_wxScrolledWindow
,
26667 _swigt__p_wxMenuBar
,
26668 _swigt__p_wxPrintPreview
,
26669 _swigt__p_wxSashEvent
,
26670 _swigt__p_wxString
,
26671 _swigt__p_wxPyPrintPreview
,
26672 _swigt__p_wxFontDialog
,
26673 _swigt__p_wxDirDialog
,
26674 _swigt__p_wxColourDialog
,
26675 _swigt__p_wxDialog
,
26677 _swigt__p_wxPageSetupDialog
,
26678 _swigt__p_wxPrintDialog
,
26679 _swigt__p_wxFileSystem
,
26680 _swigt__p_wxBitmap
,
26681 _swigt__p_wxCommandEvent
,
26682 _swigt__p_wxPreviewControlBar
,
26683 _swigt__p_wxPyPreviewControlBar
,
26684 _swigt__p_wxColour
,
26685 _swigt__p_wxToolBar
,
26686 _swigt__p_wxPageSetupDialogData
,
26687 _swigt__p_wxPrintDialogData
,
26692 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26694 static swig_const_info swig_const_table
[] = {
26704 SWIGEXPORT(void) SWIG_init(void) {
26705 static PyObject
*SWIG_globals
= 0;
26706 static int typeinit
= 0;
26709 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26710 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26711 d
= PyModule_GetDict(m
);
26714 for (i
= 0; swig_types_initial
[i
]; i
++) {
26715 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26719 SWIG_InstallConstants(d
,swig_const_table
);
26721 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26722 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26723 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26724 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26725 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26726 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26727 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26728 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26729 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26730 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26731 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26732 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26733 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26734 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26735 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26736 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26737 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26738 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26739 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26740 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26741 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26742 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26743 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26744 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26745 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26746 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26747 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26748 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26749 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26750 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26751 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26752 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26753 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26754 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26755 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26756 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26757 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26758 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26759 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26760 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26761 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26762 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26763 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_FromInt((int)wxSB_NORMAL
));
26764 PyDict_SetItemString(d
,"SB_FLAT", SWIG_FromInt((int)wxSB_FLAT
));
26765 PyDict_SetItemString(d
,"SB_RAISED", SWIG_FromInt((int)wxSB_RAISED
));
26766 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26767 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26768 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26769 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26770 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26771 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26772 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26773 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26774 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26775 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26776 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26777 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26778 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26779 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26780 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26781 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26782 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26783 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26784 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26785 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26786 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26787 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26788 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26789 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26790 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26791 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26792 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26793 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26794 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26795 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26796 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26797 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26798 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26799 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26800 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26801 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26802 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26803 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26804 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26805 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26806 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26807 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26808 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26809 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26810 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26811 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26812 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26813 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26814 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26815 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26816 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26818 // Map renamed classes back to their common name for OOR
26819 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26820 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26821 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26823 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26824 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26825 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26826 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26827 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26828 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26829 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26830 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26831 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26832 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26833 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26834 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26835 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26836 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26837 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26838 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26839 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26840 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26841 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26842 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26843 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26844 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26845 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26846 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26847 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26848 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26849 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26850 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26851 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26852 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26853 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26854 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26855 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26856 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26857 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26858 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26859 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26860 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26861 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26862 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26863 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26864 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26865 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26866 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26867 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26868 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26869 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26870 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26871 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26872 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26873 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26874 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26875 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26876 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26877 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26878 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26879 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26880 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26881 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26882 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26884 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");