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_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "i", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 arg2
= (int) SWIG_AsInt(obj1
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5605 resultptr
= new wxRect((wxRect
&) result
);
5606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5614 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "height", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 arg2
= (int) SWIG_AsInt(obj1
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 (arg1
)->SetMinHeight(arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 Py_INCREF(Py_None
); resultobj
= Py_None
;
5643 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5649 (char *) "self", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_FromInt((int)result
);
5669 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5675 (char *) "self", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_FromInt((int)result
);
5695 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5698 wxVisualAttributes result
;
5699 PyObject
* obj0
= 0 ;
5701 (char *) "variant", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5706 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 wxVisualAttributes
* resultptr
;
5719 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5728 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5731 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5733 return Py_BuildValue((char *)"");
5735 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5736 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5741 static PyObject
*_wrap_SplitterNameStr_get() {
5746 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5748 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5755 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxWindow
*arg1
= (wxWindow
*) 0 ;
5758 int arg2
= (int) -1 ;
5759 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5760 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5761 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5762 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5763 long arg5
= (long) wxSP_3D
;
5764 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5765 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5766 wxSplitterWindow
*result
;
5769 bool temp6
= False
;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 PyObject
* obj2
= 0 ;
5773 PyObject
* obj3
= 0 ;
5774 PyObject
* obj4
= 0 ;
5775 PyObject
* obj5
= 0 ;
5777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 arg2
= (int) SWIG_AsInt(obj1
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5800 arg5
= (long) SWIG_AsLong(obj4
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5805 arg6
= wxString_in_helper(obj5
);
5806 if (arg6
== NULL
) SWIG_fail
;
5811 if (!wxPyCheckForApp()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5833 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxSplitterWindow
*result
;
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5842 if (!wxPyCheckForApp()) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5856 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5859 wxWindow
*arg2
= (wxWindow
*) 0 ;
5860 int arg3
= (int) -1 ;
5861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5865 long arg6
= (long) wxSP_3D
;
5866 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5871 bool temp7
= False
;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5874 PyObject
* obj2
= 0 ;
5875 PyObject
* obj3
= 0 ;
5876 PyObject
* obj4
= 0 ;
5877 PyObject
* obj5
= 0 ;
5878 PyObject
* obj6
= 0 ;
5880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 arg3
= (int) SWIG_AsInt(obj2
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5905 arg6
= (long) SWIG_AsLong(obj5
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5910 arg7
= wxString_in_helper(obj6
);
5911 if (arg7
== NULL
) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5939 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= wxPyMake_wxObject(result
, 0);
5967 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5973 (char *) "self", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= wxPyMake_wxObject(result
, 0);
5995 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 (char *) "self",(char *) "mode", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 arg2
= (int) SWIG_AsInt(obj1
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 (arg1
)->SetSplitMode(arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 Py_INCREF(Py_None
); resultobj
= Py_None
;
6024 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_FromInt((int)result
);
6050 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6053 wxWindow
*arg2
= (wxWindow
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "window", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->Initialize(arg2
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 Py_INCREF(Py_None
); resultobj
= Py_None
;
6079 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6082 wxWindow
*arg2
= (wxWindow
*) 0 ;
6083 wxWindow
*arg3
= (wxWindow
*) 0 ;
6084 int arg4
= (int) 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6089 PyObject
* obj3
= 0 ;
6091 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 arg4
= (int) SWIG_AsInt(obj3
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6121 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6124 wxWindow
*arg2
= (wxWindow
*) 0 ;
6125 wxWindow
*arg3
= (wxWindow
*) 0 ;
6126 int arg4
= (int) 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6131 PyObject
* obj3
= 0 ;
6133 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg4
= (int) SWIG_AsInt(obj3
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6163 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6166 wxWindow
*arg2
= (wxWindow
*) NULL
;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6171 (char *) "self",(char *) "toRemove", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6176 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
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (bool)(arg1
)->Unsplit(arg2
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6197 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6200 wxWindow
*arg2
= (wxWindow
*) 0 ;
6201 wxWindow
*arg3
= (wxWindow
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6207 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6233 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->UpdateSize();
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6258 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6286 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 (char *) "self",(char *) "width", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6299 arg2
= (int) SWIG_AsInt(obj1
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->SetSashSize(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6322 (char *) "self",(char *) "width", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6328 arg2
= (int) SWIG_AsInt(obj1
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 (arg1
)->SetBorderSize(arg2
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 Py_INCREF(Py_None
); resultobj
= Py_None
;
6344 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_FromInt((int)result
);
6370 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_FromInt((int)result
);
6396 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6400 bool arg3
= (bool) True
;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6405 (char *) "self",(char *) "position",(char *) "redraw", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 arg2
= (int) SWIG_AsInt(obj1
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 arg3
= (bool) SWIG_AsBool(obj2
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SetSashPosition(arg2
,arg3
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6437 (char *) "self", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_FromInt((int)result
);
6457 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "self",(char *) "min", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= (int) SWIG_AsInt(obj1
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 (arg1
)->SetMinimumPaneSize(arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_FromInt((int)result
);
6512 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6517 int arg4
= (int) 5 ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6522 PyObject
* obj3
= 0 ;
6524 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 arg2
= (int) SWIG_AsInt(obj1
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6532 arg3
= (int) SWIG_AsInt(obj2
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 arg4
= (int) SWIG_AsInt(obj3
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6554 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 (arg1
)->SizeWindows();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 Py_INCREF(Py_None
); resultobj
= Py_None
;
6579 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6586 (char *) "self",(char *) "needUpdating", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 arg2
= (bool) SWIG_AsBool(obj1
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 (arg1
)->SetNeedUpdating(arg2
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6608 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6636 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6639 wxVisualAttributes result
;
6640 PyObject
* obj0
= 0 ;
6642 (char *) "variant", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6647 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6659 wxVisualAttributes
* resultptr
;
6660 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6669 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6672 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6674 return Py_BuildValue((char *)"");
6676 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6679 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6680 wxSplitterEvent
*result
;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "type",(char *) "splitter", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6710 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6717 (char *) "self",(char *) "pos", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg2
= (int) SWIG_AsInt(obj1
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 (arg1
)->SetSashPosition(arg2
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 Py_INCREF(Py_None
); resultobj
= Py_None
;
6739 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6743 PyObject
* obj0
= 0 ;
6745 (char *) "self", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_FromInt((int)result
);
6765 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6771 (char *) "self", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= wxPyMake_wxObject(result
, 0);
6793 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
;
6795 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6797 PyObject
* obj0
= 0 ;
6799 (char *) "self", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_FromInt((int)result
);
6819 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6825 (char *) "self", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_FromInt((int)result
);
6845 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6850 return Py_BuildValue((char *)"");
6852 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6853 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6858 static PyObject
*_wrap_SashNameStr_get() {
6863 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6865 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6872 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6873 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6878 static PyObject
*_wrap_SashLayoutNameStr_get() {
6883 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6885 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6892 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxWindow
*arg1
= (wxWindow
*) 0 ;
6895 int arg2
= (int) -1 ;
6896 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6897 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6898 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6899 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6900 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6901 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6902 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6903 wxSashWindow
*result
;
6906 bool temp6
= False
;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6909 PyObject
* obj2
= 0 ;
6910 PyObject
* obj3
= 0 ;
6911 PyObject
* obj4
= 0 ;
6912 PyObject
* obj5
= 0 ;
6914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 arg2
= (int) SWIG_AsInt(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6937 arg5
= (long) SWIG_AsLong(obj4
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6942 arg6
= wxString_in_helper(obj5
);
6943 if (arg6
== NULL
) SWIG_fail
;
6948 if (!wxPyCheckForApp()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6970 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxSashWindow
*result
;
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6979 if (!wxPyCheckForApp()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (wxSashWindow
*)new wxSashWindow();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6993 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6996 wxWindow
*arg2
= (wxWindow
*) 0 ;
6997 int arg3
= (int) -1 ;
6998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7002 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7003 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7008 bool temp7
= False
;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7012 PyObject
* obj3
= 0 ;
7013 PyObject
* obj4
= 0 ;
7014 PyObject
* obj5
= 0 ;
7015 PyObject
* obj6
= 0 ;
7017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 arg3
= (int) SWIG_AsInt(obj2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7042 arg6
= (long) SWIG_AsLong(obj5
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7047 arg7
= wxString_in_helper(obj6
);
7048 if (arg7
== NULL
) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7076 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7083 PyObject
* obj2
= 0 ;
7085 (char *) "self",(char *) "edge",(char *) "sash", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7093 arg3
= (bool) SWIG_AsBool(obj2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7117 (char *) "self",(char *) "edge", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7123 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7141 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7148 PyObject
* obj2
= 0 ;
7150 (char *) "self",(char *) "edge",(char *) "border", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7158 arg3
= (bool) SWIG_AsBool(obj2
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "edge", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7214 (char *) "self",(char *) "edge", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_FromInt((int)result
);
7236 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7243 (char *) "self",(char *) "width", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7249 arg2
= (int) SWIG_AsInt(obj1
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetDefaultBorderSize(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7271 (char *) "self", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_FromInt((int)result
);
7291 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7298 (char *) "self",(char *) "width", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (int) SWIG_AsInt(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetExtraBorderSize(arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_FromInt((int)result
);
7346 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "min", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 arg2
= (int) SWIG_AsInt(obj1
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->SetMinimumSizeX(arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "min", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7388 arg2
= (int) SWIG_AsInt(obj1
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 (arg1
)->SetMinimumSizeY(arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_FromInt((int)result
);
7430 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_FromInt((int)result
);
7456 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7463 (char *) "self",(char *) "max", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 arg2
= (int) SWIG_AsInt(obj1
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetMaximumSizeX(arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7490 PyObject
* obj1
= 0 ;
7492 (char *) "self",(char *) "max", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 arg2
= (int) SWIG_AsInt(obj1
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 (arg1
)->SetMaximumSizeY(arg2
);
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_FromInt((int)result
);
7540 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_FromInt((int)result
);
7566 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7571 int arg4
= (int) 2 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7576 PyObject
* obj3
= 0 ;
7578 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7584 arg2
= (int) SWIG_AsInt(obj1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7586 arg3
= (int) SWIG_AsInt(obj2
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 arg4
= (int) SWIG_AsInt(obj3
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_FromInt((int)result
);
7606 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SizeWindows();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7634 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7636 return Py_BuildValue((char *)"");
7638 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 int arg1
= (int) 0 ;
7641 int arg2
= (int) wxSASH_NONE
;
7642 wxSashEvent
*result
;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7646 (char *) "id",(char *) "edge", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 arg1
= (int) SWIG_AsInt(obj0
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7672 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 (char *) "self",(char *) "edge", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 Py_INCREF(Py_None
); resultobj
= Py_None
;
7701 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7707 (char *) "self", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_FromInt((int)result
);
7727 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7735 (char *) "self",(char *) "rect", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 Py_INCREF(Py_None
); resultobj
= Py_None
;
7759 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "self", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7780 resultptr
= new wxRect((wxRect
&) result
);
7781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7789 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7794 PyObject
* obj1
= 0 ;
7796 (char *) "self",(char *) "status", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7802 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "self", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_FromInt((int)result
);
7844 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7847 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7849 return Py_BuildValue((char *)"");
7851 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 int arg1
= (int) 0 ;
7854 wxQueryLayoutInfoEvent
*result
;
7855 PyObject
* obj0
= 0 ;
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7862 arg1
= (int) SWIG_AsInt(obj0
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7879 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "length", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 arg2
= (int) SWIG_AsInt(obj1
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->SetRequestedLength(arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_FromInt((int)result
);
7934 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "flags", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 arg2
= (int) SWIG_AsInt(obj1
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 (arg1
)->SetFlags(arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_FromInt((int)result
);
7989 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7997 (char *) "self",(char *) "size", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 (arg1
)->SetSize((wxSize
const &)*arg2
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8042 resultptr
= new wxSize((wxSize
&) result
);
8043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8051 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8056 PyObject
* obj1
= 0 ;
8058 (char *) "self",(char *) "orient", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_FromInt((int)result
);
8106 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8113 (char *) "self",(char *) "align", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= SWIG_FromInt((int)result
);
8161 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8164 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8166 return Py_BuildValue((char *)"");
8168 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 int arg1
= (int) 0 ;
8171 wxCalculateLayoutEvent
*result
;
8172 PyObject
* obj0
= 0 ;
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8179 arg1
= (int) SWIG_AsInt(obj0
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8196 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "flags", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= (int) SWIG_AsInt(obj1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetFlags(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_FromInt((int)result
);
8251 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "rect", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetRect((wxRect
const &)*arg2
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 (char *) "self", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8304 resultptr
= new wxRect((wxRect
&) result
);
8305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8313 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8316 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8318 return Py_BuildValue((char *)"");
8320 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxWindow
*arg1
= (wxWindow
*) 0 ;
8323 int arg2
= (int) -1 ;
8324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8326 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8327 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8328 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8329 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8330 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8331 wxSashLayoutWindow
*result
;
8334 bool temp6
= False
;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8337 PyObject
* obj2
= 0 ;
8338 PyObject
* obj3
= 0 ;
8339 PyObject
* obj4
= 0 ;
8340 PyObject
* obj5
= 0 ;
8342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 arg2
= (int) SWIG_AsInt(obj1
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8365 arg5
= (long) SWIG_AsLong(obj4
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8370 arg6
= wxString_in_helper(obj5
);
8371 if (arg6
== NULL
) SWIG_fail
;
8376 if (!wxPyCheckForApp()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8398 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxSashLayoutWindow
*result
;
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8407 if (!wxPyCheckForApp()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8421 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8424 wxWindow
*arg2
= (wxWindow
*) 0 ;
8425 int arg3
= (int) -1 ;
8426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8430 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8431 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8436 bool temp7
= False
;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8440 PyObject
* obj3
= 0 ;
8441 PyObject
* obj4
= 0 ;
8442 PyObject
* obj5
= 0 ;
8443 PyObject
* obj6
= 0 ;
8445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8454 arg3
= (int) SWIG_AsInt(obj2
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8470 arg6
= (long) SWIG_AsLong(obj5
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8475 arg7
= wxString_in_helper(obj6
);
8476 if (arg7
== NULL
) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8504 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "self", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (int)(arg1
)->GetAlignment();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_FromInt((int)result
);
8530 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (int)(arg1
)->GetOrientation();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_FromInt((int)result
);
8556 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8563 (char *) "self",(char *) "alignment", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 Py_INCREF(Py_None
); resultobj
= Py_None
;
8585 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8593 (char *) "self",(char *) "size", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 (char *) "self",(char *) "orientation", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8649 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8651 return Py_BuildValue((char *)"");
8653 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxLayoutAlgorithm
*result
;
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8675 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "self", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8703 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8704 wxRect
*arg3
= (wxRect
*) NULL
;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8708 PyObject
* obj2
= 0 ;
8710 (char *) "self",(char *) "frame",(char *) "rect", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8719 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8738 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8740 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8741 wxFrame
*arg2
= (wxFrame
*) 0 ;
8742 wxWindow
*arg3
= (wxWindow
*) NULL
;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 PyObject
* obj2
= 0 ;
8748 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8776 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8779 wxWindow
*arg2
= (wxWindow
*) 0 ;
8780 wxWindow
*arg3
= (wxWindow
*) NULL
;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8786 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8817 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8819 return Py_BuildValue((char *)"");
8821 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxWindow
*arg1
= (wxWindow
*) 0 ;
8824 int arg2
= (int) wxBORDER_NONE
;
8825 wxPopupWindow
*result
;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8829 (char *) "parent",(char *) "flags", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (int) SWIG_AsInt(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8853 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxPopupWindow
*result
;
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (wxPopupWindow
*)new wxPopupWindow();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8875 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8878 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8880 return Py_BuildValue((char *)"");
8882 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxWindow
*arg1
= (wxWindow
*) 0 ;
8885 int arg2
= (int) wxBORDER_NONE
;
8886 wxPyPopupTransientWindow
*result
;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8890 (char *) "parent",(char *) "style", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 arg2
= (int) SWIG_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8914 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxPyPopupTransientWindow
*result
;
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8936 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8939 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8941 return Py_BuildValue((char *)"");
8943 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxWindow
*arg1
= (wxWindow
*) 0 ;
8946 wxString
*arg2
= 0 ;
8947 int arg3
= (int) 100 ;
8948 wxRect
*arg4
= (wxRect
*) NULL
;
8949 wxTipWindow
*result
;
8950 bool temp2
= False
;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 PyObject
* obj2
= 0 ;
8954 PyObject
* obj3
= 0 ;
8956 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 arg2
= wxString_in_helper(obj1
);
8964 if (arg2
== NULL
) SWIG_fail
;
8968 arg3
= (int) SWIG_AsInt(obj2
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 if (!wxPyCheckForApp()) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8998 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9006 (char *) "self",(char *) "rectBound", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9014 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 Py_INCREF(Py_None
); resultobj
= Py_None
;
9030 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9058 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9060 return Py_BuildValue((char *)"");
9062 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxWindow
*arg1
= (wxWindow
*) 0 ;
9065 int arg2
= (int) wxID_ANY
;
9066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9070 long arg5
= (long) 0 ;
9071 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9072 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9073 wxPyVScrolledWindow
*result
;
9076 bool temp6
= False
;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9080 PyObject
* obj3
= 0 ;
9081 PyObject
* obj4
= 0 ;
9082 PyObject
* obj5
= 0 ;
9084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 arg2
= (int) SWIG_AsInt(obj1
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9107 arg5
= (long) SWIG_AsLong(obj4
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9112 arg6
= wxString_in_helper(obj5
);
9113 if (arg6
== NULL
) SWIG_fail
;
9118 if (!wxPyCheckForApp()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9140 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxPyVScrolledWindow
*result
;
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9149 if (!wxPyCheckForApp()) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9163 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9166 PyObject
*arg2
= (PyObject
*) 0 ;
9167 PyObject
*arg3
= (PyObject
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9172 (char *) "self",(char *) "self",(char *) "_class", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9197 wxWindow
*arg2
= (wxWindow
*) 0 ;
9198 int arg3
= (int) wxID_ANY
;
9199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9203 long arg6
= (long) 0 ;
9204 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9209 bool temp7
= False
;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9212 PyObject
* obj2
= 0 ;
9213 PyObject
* obj3
= 0 ;
9214 PyObject
* obj4
= 0 ;
9215 PyObject
* obj5
= 0 ;
9216 PyObject
* obj6
= 0 ;
9218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 arg3
= (int) SWIG_AsInt(obj2
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9243 arg6
= (long) SWIG_AsLong(obj5
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9248 arg7
= wxString_in_helper(obj6
);
9249 if (arg7
== NULL
) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9277 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9284 (char *) "self",(char *) "count", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetLineCount(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self",(char *) "line", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9338 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9346 (char *) "self",(char *) "lines", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 arg2
= (int) SWIG_AsInt(obj1
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (bool)(arg1
)->ScrollLines(arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9370 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9378 (char *) "self",(char *) "pages", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 arg2
= (int) SWIG_AsInt(obj1
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (bool)(arg1
)->ScrollPages(arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9402 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9409 (char *) "self",(char *) "line", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->RefreshLine(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 Py_INCREF(Py_None
); resultobj
= Py_None
;
9431 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9440 (char *) "self",(char *) "from",(char *) "to", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9448 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->RefreshLines(arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 Py_INCREF(Py_None
); resultobj
= Py_None
;
9464 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 PyObject
* obj2
= 0 ;
9474 (char *) "self",(char *) "x",(char *) "y", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 arg2
= (int) SWIG_AsInt(obj1
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9482 arg3
= (int) SWIG_AsInt(obj2
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_FromInt((int)result
);
9498 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9507 (char *) "self",(char *) "pt", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_FromInt((int)result
);
9531 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9536 (char *) "self", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->RefreshAll();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9582 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9608 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9634 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "line", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9648 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9666 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9669 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9671 return Py_BuildValue((char *)"");
9673 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9674 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9679 static PyObject
*_wrap_VListBoxNameStr_get() {
9684 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9686 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9693 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxWindow
*arg1
= (wxWindow
*) 0 ;
9696 int arg2
= (int) wxID_ANY
;
9697 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9698 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9699 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9700 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9701 long arg5
= (long) 0 ;
9702 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9703 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9704 wxPyVListBox
*result
;
9707 bool temp6
= False
;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 PyObject
* obj2
= 0 ;
9711 PyObject
* obj3
= 0 ;
9712 PyObject
* obj4
= 0 ;
9713 PyObject
* obj5
= 0 ;
9715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 arg2
= (int) SWIG_AsInt(obj1
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9738 arg5
= (long) SWIG_AsLong(obj4
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9743 arg6
= wxString_in_helper(obj5
);
9744 if (arg6
== NULL
) SWIG_fail
;
9749 if (!wxPyCheckForApp()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9771 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxPyVListBox
*result
;
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9780 if (!wxPyCheckForApp()) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (wxPyVListBox
*)new wxPyVListBox();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9794 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9797 PyObject
*arg2
= (PyObject
*) 0 ;
9798 PyObject
*arg3
= (PyObject
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9801 PyObject
* obj2
= 0 ;
9803 (char *) "self",(char *) "self",(char *) "_class", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9828 wxWindow
*arg2
= (wxWindow
*) 0 ;
9829 int arg3
= (int) wxID_ANY
;
9830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9834 long arg6
= (long) 0 ;
9835 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9836 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9840 bool temp7
= False
;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 PyObject
* obj3
= 0 ;
9845 PyObject
* obj4
= 0 ;
9846 PyObject
* obj5
= 0 ;
9847 PyObject
* obj6
= 0 ;
9849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 arg3
= (int) SWIG_AsInt(obj2
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9874 arg6
= (long) SWIG_AsLong(obj5
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 arg7
= wxString_in_helper(obj6
);
9880 if (arg7
== NULL
) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9908 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9934 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9962 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9968 (char *) "self", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_FromInt((int)result
);
9988 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9996 (char *) "self",(char *) "item", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "item", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10052 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10078 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= result
;
10104 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10107 unsigned long arg2
;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self",(char *) "cookie", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= result
;
10134 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10154 wxPoint
* resultptr
;
10155 resultptr
= new wxPoint((wxPoint
&) result
);
10156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10164 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10168 PyObject
* obj0
= 0 ;
10169 char *kwnames
[] = {
10170 (char *) "self", NULL
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10180 result
= (wxColour
*) &_result_ref
;
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10193 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 PyObject
* obj1
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "count", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetItemCount(arg2
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 Py_INCREF(Py_None
); resultobj
= Py_None
;
10222 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 Py_INCREF(Py_None
); resultobj
= Py_None
;
10247 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "selection", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 arg2
= (int) SWIG_AsInt(obj1
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->SetSelection(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10280 bool arg3
= (bool) True
;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 PyObject
* obj2
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self",(char *) "item",(char *) "select", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 arg3
= (bool) SWIG_AsBool(obj2
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "from",(char *) "to", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10332 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "item", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->Toggle(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->SelectAll();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (bool)(arg1
)->DeselectAll();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10435 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10438 wxPoint
*arg2
= 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "pt", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "x",(char *) "y", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 arg2
= (int) SWIG_AsInt(obj1
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10484 arg3
= (int) SWIG_AsInt(obj2
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetMargins(arg2
,arg3
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10503 wxColour
*arg2
= 0 ;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "col", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 Py_INCREF(Py_None
); resultobj
= Py_None
;
10532 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10535 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10537 return Py_BuildValue((char *)"");
10539 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxWindow
*arg1
= (wxWindow
*) 0 ;
10542 int arg2
= (int) wxID_ANY
;
10543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10547 long arg5
= (long) 0 ;
10548 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10549 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10550 wxPyHtmlListBox
*result
;
10553 bool temp6
= False
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 PyObject
* obj5
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10568 arg2
= (int) SWIG_AsInt(obj1
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10584 arg5
= (long) SWIG_AsLong(obj4
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10589 arg6
= wxString_in_helper(obj5
);
10590 if (arg6
== NULL
) SWIG_fail
;
10595 if (!wxPyCheckForApp()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10617 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxPyHtmlListBox
*result
;
10620 char *kwnames
[] = {
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10626 if (!wxPyCheckForApp()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10640 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10643 PyObject
*arg2
= (PyObject
*) 0 ;
10644 PyObject
*arg3
= (PyObject
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 PyObject
* obj2
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "self",(char *) "_class", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10674 wxWindow
*arg2
= (wxWindow
*) 0 ;
10675 int arg3
= (int) wxID_ANY
;
10676 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10677 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10678 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10679 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10680 long arg6
= (long) 0 ;
10681 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10682 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10686 bool temp7
= False
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 PyObject
* obj2
= 0 ;
10690 PyObject
* obj3
= 0 ;
10691 PyObject
* obj4
= 0 ;
10692 PyObject
* obj5
= 0 ;
10693 PyObject
* obj6
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 arg3
= (int) SWIG_AsInt(obj2
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10710 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10716 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10720 arg6
= (long) SWIG_AsLong(obj5
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10725 arg7
= wxString_in_helper(obj6
);
10726 if (arg7
== NULL
) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10754 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10757 PyObject
* obj0
= 0 ;
10758 char *kwnames
[] = {
10759 (char *) "self", NULL
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->RefreshAll();
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "count", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetItemCount(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10811 wxFileSystem
*result
;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10824 result
= (wxFileSystem
*) &_result_ref
;
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10837 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10840 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10842 return Py_BuildValue((char *)"");
10844 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxTaskBarIcon
*result
;
10847 char *kwnames
[] = {
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10853 if (!wxPyCheckForApp()) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10867 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 wxTaskBarIcon_Destroy(arg1
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 Py_INCREF(Py_None
); resultobj
= Py_None
;
10917 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10920 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10922 return Py_BuildValue((char *)"");
10924 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10927 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10928 wxTaskBarIconEvent
*result
;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "evtType",(char *) "tbIcon", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10954 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10957 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10959 return Py_BuildValue((char *)"");
10961 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10962 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10967 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10972 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10974 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10981 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10982 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10987 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10992 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10994 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11001 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11002 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11007 static PyObject
*_wrap_DirDialogNameStr_get() {
11012 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11014 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11021 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11022 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11027 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11032 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11034 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11041 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11042 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11047 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11052 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11054 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11061 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11062 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11067 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11072 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11074 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11081 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxColourData
*result
;
11084 char *kwnames
[] = {
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (wxColourData
*)new wxColourData();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11103 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxColourData
*arg1
= (wxColourData
*) 0 ;
11106 PyObject
* obj0
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 Py_INCREF(Py_None
); resultobj
= Py_None
;
11128 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxColourData
*arg1
= (wxColourData
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)(arg1
)->GetChooseFull();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxColourData
*arg1
= (wxColourData
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (arg1
)->GetColour();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 wxColour
* resultptr
;
11177 resultptr
= new wxColour((wxColour
&) result
);
11178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11186 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxColourData
*arg1
= (wxColourData
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self",(char *) "i", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 arg2
= (int) SWIG_AsInt(obj1
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (arg1
)->GetCustomColour(arg2
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 wxColour
* resultptr
;
11211 resultptr
= new wxColour((wxColour
&) result
);
11212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11220 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxColourData
*arg1
= (wxColourData
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "flag", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 arg2
= (int) SWIG_AsInt(obj1
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 (arg1
)->SetChooseFull(arg2
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxColourData
*arg1
= (wxColourData
*) 0 ;
11252 wxColour
*arg2
= 0 ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self",(char *) "colour", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->SetColour((wxColour
const &)*arg2
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 Py_INCREF(Py_None
); resultobj
= Py_None
;
11281 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxColourData
*arg1
= (wxColourData
*) 0 ;
11285 wxColour
*arg3
= 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 PyObject
* obj2
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "i",(char *) "colour", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 arg2
= (int) SWIG_AsInt(obj1
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11317 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11320 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11322 return Py_BuildValue((char *)"");
11324 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxWindow
*arg1
= (wxWindow
*) 0 ;
11327 wxColourData
*arg2
= (wxColourData
*) NULL
;
11328 wxColourDialog
*result
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "parent",(char *) "data", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11343 if (!wxPyCheckForApp()) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11357 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11360 wxColourData
*result
;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11373 result
= (wxColourData
*) &_result_ref
;
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11386 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11389 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11391 return Py_BuildValue((char *)"");
11393 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxWindow
*arg1
= (wxWindow
*) 0 ;
11396 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11397 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11400 long arg4
= (long) 0 ;
11401 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11402 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11403 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11404 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11405 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11406 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11407 wxDirDialog
*result
;
11408 bool temp2
= False
;
11409 bool temp3
= False
;
11412 bool temp7
= False
;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 PyObject
* obj3
= 0 ;
11417 PyObject
* obj4
= 0 ;
11418 PyObject
* obj5
= 0 ;
11419 PyObject
* obj6
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11429 arg2
= wxString_in_helper(obj1
);
11430 if (arg2
== NULL
) SWIG_fail
;
11436 arg3
= wxString_in_helper(obj2
);
11437 if (arg3
== NULL
) SWIG_fail
;
11442 arg4
= (long) SWIG_AsLong(obj3
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11448 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11454 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11459 arg7
= wxString_in_helper(obj6
);
11460 if (arg7
== NULL
) SWIG_fail
;
11465 if (!wxPyCheckForApp()) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11503 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (arg1
)->GetPath();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11535 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11539 PyObject
* obj0
= 0 ;
11540 char *kwnames
[] = {
11541 (char *) "self", NULL
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (arg1
)->GetMessage();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11567 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (long)(arg1
)->GetStyle();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_FromLong((long)result
);
11593 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11596 wxString
*arg2
= 0 ;
11597 bool temp2
= False
;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "message", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 arg2
= wxString_in_helper(obj1
);
11609 if (arg2
== NULL
) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->SetMessage((wxString
const &)*arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 Py_INCREF(Py_None
); resultobj
= Py_None
;
11634 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11637 wxString
*arg2
= 0 ;
11638 bool temp2
= False
;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self",(char *) "path", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 arg2
= wxString_in_helper(obj1
);
11650 if (arg2
== NULL
) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->SetPath((wxString
const &)*arg2
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxWindow
*arg1
= (wxWindow
*) 0 ;
11685 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11686 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11687 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11688 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11689 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11690 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11691 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11692 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11693 long arg6
= (long) 0 ;
11694 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11695 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11696 wxFileDialog
*result
;
11697 bool temp2
= False
;
11698 bool temp3
= False
;
11699 bool temp4
= False
;
11700 bool temp5
= False
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 PyObject
* obj4
= 0 ;
11707 PyObject
* obj5
= 0 ;
11708 PyObject
* obj6
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 arg2
= wxString_in_helper(obj1
);
11719 if (arg2
== NULL
) SWIG_fail
;
11725 arg3
= wxString_in_helper(obj2
);
11726 if (arg3
== NULL
) SWIG_fail
;
11732 arg4
= wxString_in_helper(obj3
);
11733 if (arg4
== NULL
) SWIG_fail
;
11739 arg5
= wxString_in_helper(obj4
);
11740 if (arg5
== NULL
) SWIG_fail
;
11745 arg6
= (long) SWIG_AsLong(obj5
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11751 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11755 if (!wxPyCheckForApp()) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11801 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11804 wxString
*arg2
= 0 ;
11805 bool temp2
= False
;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "message", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= wxString_in_helper(obj1
);
11817 if (arg2
== NULL
) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetMessage((wxString
const &)*arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11845 wxString
*arg2
= 0 ;
11846 bool temp2
= False
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "path", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->SetPath((wxString
const &)*arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11886 wxString
*arg2
= 0 ;
11887 bool temp2
= False
;
11888 PyObject
* obj0
= 0 ;
11889 PyObject
* obj1
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self",(char *) "dir", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11898 arg2
= wxString_in_helper(obj1
);
11899 if (arg2
== NULL
) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 Py_INCREF(Py_None
); resultobj
= Py_None
;
11924 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11927 wxString
*arg2
= 0 ;
11928 bool temp2
= False
;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "name", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->SetFilename((wxString
const &)*arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 Py_INCREF(Py_None
); resultobj
= Py_None
;
11965 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11968 wxString
*arg2
= 0 ;
11969 bool temp2
= False
;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "wildCard", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 arg2
= wxString_in_helper(obj1
);
11981 if (arg2
== NULL
) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12006 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "style", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= (long) SWIG_AsLong(obj1
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetStyle(arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "filterIndex", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 arg2
= (int) SWIG_AsInt(obj1
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->SetFilterIndex(arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12064 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12096 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12128 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12160 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12192 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12224 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_FromLong((long)result
);
12250 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12254 PyObject
* obj0
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_FromInt((int)result
);
12276 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= result
;
12302 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12306 PyObject
* obj0
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= result
;
12328 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12331 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12333 return Py_BuildValue((char *)"");
12335 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxWindow
*arg1
= (wxWindow
*) 0 ;
12338 wxString
*arg2
= 0 ;
12339 wxString
*arg3
= 0 ;
12340 int arg4
= (int) 0 ;
12341 wxString
*arg5
= (wxString
*) NULL
;
12342 long arg6
= (long) wxCHOICEDLG_STYLE
;
12343 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12344 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12345 wxMultiChoiceDialog
*result
;
12346 bool temp2
= False
;
12347 bool temp3
= False
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 PyObject
* obj3
= 0 ;
12353 PyObject
* obj4
= 0 ;
12354 PyObject
* obj5
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 arg2
= wxString_in_helper(obj1
);
12364 if (arg2
== NULL
) SWIG_fail
;
12368 arg3
= wxString_in_helper(obj2
);
12369 if (arg3
== NULL
) SWIG_fail
;
12374 arg4
= PyList_Size(obj3
);
12375 arg5
= wxString_LIST_helper(obj3
);
12376 if (arg5
== NULL
) SWIG_fail
;
12380 arg6
= (long) SWIG_AsLong(obj4
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12386 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12390 if (!wxPyCheckForApp()) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12407 if (arg5
) delete [] arg5
;
12420 if (arg5
) delete [] arg5
;
12426 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12429 wxArrayInt
*arg2
= 0 ;
12430 bool temp2
= False
;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self",(char *) "selections", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 if (! PySequence_Check(obj1
)) {
12442 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12445 arg2
= new wxArrayInt
;
12447 int i
, len
=PySequence_Length(obj1
);
12448 for (i
=0; i
<len
; i
++) {
12449 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12450 PyObject
* number
= PyNumber_Int(item
);
12451 arg2
->Add(PyInt_AS_LONG(number
));
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 if (temp2
) delete arg2
;
12470 if (temp2
) delete arg2
;
12476 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= result
;
12502 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12505 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12507 return Py_BuildValue((char *)"");
12509 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxWindow
*arg1
= (wxWindow
*) 0 ;
12512 wxString
*arg2
= 0 ;
12513 wxString
*arg3
= 0 ;
12515 wxString
*arg5
= (wxString
*) 0 ;
12516 long arg6
= (long) wxCHOICEDLG_STYLE
;
12517 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12518 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12519 wxSingleChoiceDialog
*result
;
12520 bool temp2
= False
;
12521 bool temp3
= False
;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 PyObject
* obj2
= 0 ;
12526 PyObject
* obj3
= 0 ;
12527 PyObject
* obj4
= 0 ;
12528 PyObject
* obj5
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 arg2
= wxString_in_helper(obj1
);
12538 if (arg2
== NULL
) SWIG_fail
;
12542 arg3
= wxString_in_helper(obj2
);
12543 if (arg3
== NULL
) SWIG_fail
;
12547 arg4
= PyList_Size(obj3
);
12548 arg5
= wxString_LIST_helper(obj3
);
12549 if (arg5
== NULL
) SWIG_fail
;
12552 arg6
= (long) SWIG_AsLong(obj4
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12558 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12562 if (!wxPyCheckForApp()) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12579 if (arg5
) delete [] arg5
;
12592 if (arg5
) delete [] arg5
;
12598 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (int)(arg1
)->GetSelection();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_FromInt((int)result
);
12624 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (arg1
)->GetStringSelection();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12656 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self",(char *) "sel", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 arg2
= (int) SWIG_AsInt(obj1
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetSelection(arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12690 return Py_BuildValue((char *)"");
12692 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxWindow
*arg1
= (wxWindow
*) 0 ;
12695 wxString
*arg2
= 0 ;
12696 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12700 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12701 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12702 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12703 wxTextEntryDialog
*result
;
12704 bool temp2
= False
;
12705 bool temp3
= False
;
12706 bool temp4
= False
;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 PyObject
* obj2
= 0 ;
12711 PyObject
* obj3
= 0 ;
12712 PyObject
* obj4
= 0 ;
12713 PyObject
* obj5
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12722 arg2
= wxString_in_helper(obj1
);
12723 if (arg2
== NULL
) SWIG_fail
;
12728 arg3
= wxString_in_helper(obj2
);
12729 if (arg3
== NULL
) SWIG_fail
;
12735 arg4
= wxString_in_helper(obj3
);
12736 if (arg4
== NULL
) SWIG_fail
;
12741 arg5
= (long) SWIG_AsLong(obj4
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12747 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12751 if (!wxPyCheckForApp()) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12789 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (arg1
)->GetValue();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12821 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12824 wxString
*arg2
= 0 ;
12825 bool temp2
= False
;
12826 PyObject
* obj0
= 0 ;
12827 PyObject
* obj1
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "value", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 arg2
= wxString_in_helper(obj1
);
12837 if (arg2
== NULL
) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->SetValue((wxString
const &)*arg2
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 Py_INCREF(Py_None
); resultobj
= Py_None
;
12862 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12865 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12867 return Py_BuildValue((char *)"");
12869 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxFontData
*result
;
12872 char *kwnames
[] = {
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxFontData
*)new wxFontData();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12891 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxFontData
*arg1
= (wxFontData
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxFontData
*arg1
= (wxFontData
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self",(char *) "enable", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 arg2
= (bool) SWIG_AsBool(obj1
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->EnableEffects(arg2
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxFontData
*arg1
= (wxFontData
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "self", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (bool)(arg1
)->GetAllowSymbols();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12973 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxFontData
*arg1
= (wxFontData
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (arg1
)->GetColour();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 wxColour
* resultptr
;
12994 resultptr
= new wxColour((wxColour
&) result
);
12995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13003 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxFontData
*arg1
= (wxFontData
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (arg1
)->GetChosenFont();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 wxFont
* resultptr
;
13024 resultptr
= new wxFont((wxFont
&) result
);
13025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13033 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxFontData
*arg1
= (wxFontData
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (bool)(arg1
)->GetEnableEffects();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13061 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxFontData
*arg1
= (wxFontData
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (arg1
)->GetInitialFont();
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 wxFont
* resultptr
;
13082 resultptr
= new wxFont((wxFont
&) result
);
13083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13091 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxFontData
*arg1
= (wxFontData
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (bool)(arg1
)->GetShowHelp();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13119 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxFontData
*arg1
= (wxFontData
*) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "allowSymbols", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 arg2
= (bool) SWIG_AsBool(obj1
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetAllowSymbols(arg2
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxFontData
*arg1
= (wxFontData
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "font", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13164 if (arg2
== NULL
) {
13165 PyErr_SetString(PyExc_TypeError
,"null reference");
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 Py_INCREF(Py_None
); resultobj
= Py_None
;
13182 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxFontData
*arg1
= (wxFontData
*) 0 ;
13185 wxColour
*arg2
= 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "colour", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SetColour((wxColour
const &)*arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxFontData
*arg1
= (wxFontData
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "font", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13230 if (arg2
== NULL
) {
13231 PyErr_SetString(PyExc_TypeError
,"null reference");
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 Py_INCREF(Py_None
); resultobj
= Py_None
;
13248 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxFontData
*arg1
= (wxFontData
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "min",(char *) "max", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13263 arg2
= (int) SWIG_AsInt(obj1
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13265 arg3
= (int) SWIG_AsInt(obj2
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 (arg1
)->SetRange(arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxFontData
*arg1
= (wxFontData
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "showHelp", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 arg2
= (bool) SWIG_AsBool(obj1
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SetShowHelp(arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13313 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13315 return Py_BuildValue((char *)"");
13317 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxWindow
*arg1
= (wxWindow
*) 0 ;
13320 wxFontData
*arg2
= 0 ;
13321 wxFontDialog
*result
;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "parent",(char *) "data", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13334 if (arg2
== NULL
) {
13335 PyErr_SetString(PyExc_TypeError
,"null reference");
13339 if (!wxPyCheckForApp()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13353 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13356 wxFontData
*result
;
13357 PyObject
* obj0
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13369 result
= (wxFontData
*) &_result_ref
;
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13382 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13385 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13387 return Py_BuildValue((char *)"");
13389 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxWindow
*arg1
= (wxWindow
*) 0 ;
13392 wxString
*arg2
= 0 ;
13393 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13394 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13395 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13398 wxMessageDialog
*result
;
13399 bool temp2
= False
;
13400 bool temp3
= False
;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 PyObject
* obj2
= 0 ;
13405 PyObject
* obj3
= 0 ;
13406 PyObject
* obj4
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 arg2
= wxString_in_helper(obj1
);
13416 if (arg2
== NULL
) SWIG_fail
;
13421 arg3
= wxString_in_helper(obj2
);
13422 if (arg3
== NULL
) SWIG_fail
;
13427 arg4
= (long) SWIG_AsLong(obj3
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13437 if (!wxPyCheckForApp()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13467 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13470 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13472 return Py_BuildValue((char *)"");
13474 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxString
*arg1
= 0 ;
13477 wxString
*arg2
= 0 ;
13478 int arg3
= (int) 100 ;
13479 wxWindow
*arg4
= (wxWindow
*) NULL
;
13480 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13481 wxProgressDialog
*result
;
13482 bool temp1
= False
;
13483 bool temp2
= False
;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 PyObject
* obj3
= 0 ;
13488 PyObject
* obj4
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13495 arg1
= wxString_in_helper(obj0
);
13496 if (arg1
== NULL
) SWIG_fail
;
13500 arg2
= wxString_in_helper(obj1
);
13501 if (arg2
== NULL
) SWIG_fail
;
13505 arg3
= (int) SWIG_AsInt(obj2
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13513 arg5
= (int) SWIG_AsInt(obj4
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 if (!wxPyCheckForApp()) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13547 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
;
13549 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13554 bool temp3
= False
;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 PyObject
* obj2
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13565 arg2
= (int) SWIG_AsInt(obj1
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 arg3
= wxString_in_helper(obj2
);
13570 if (arg3
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 Py_INCREF(Py_None
); resultobj
= Py_None
;
13623 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13626 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13628 return Py_BuildValue((char *)"");
13630 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13633 int arg2
= (int) 0 ;
13634 wxFindDialogEvent
*result
;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "commandType",(char *) "id", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 arg2
= (int) SWIG_AsInt(obj1
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13664 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (int)(arg1
)->GetFlags();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_FromInt((int)result
);
13690 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13694 PyObject
* obj0
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 wxString
const &_result_ref
= (arg1
)->GetFindString();
13706 result
= (wxString
*) &_result_ref
;
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13725 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13741 result
= (wxString
*) &_result_ref
;
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13760 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13763 wxFindReplaceDialog
*result
;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13786 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "flags", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 arg2
= (int) SWIG_AsInt(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->SetFlags(arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13815 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13818 wxString
*arg2
= 0 ;
13819 bool temp2
= False
;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self",(char *) "str", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 arg2
= wxString_in_helper(obj1
);
13831 if (arg2
== NULL
) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SetFindString((wxString
const &)*arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13856 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13859 wxString
*arg2
= 0 ;
13860 bool temp2
= False
;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self",(char *) "str", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 arg2
= wxString_in_helper(obj1
);
13872 if (arg2
== NULL
) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13900 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13902 return Py_BuildValue((char *)"");
13904 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 int arg1
= (int) 0 ;
13907 wxFindReplaceData
*result
;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "flags", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13915 arg1
= (int) SWIG_AsInt(obj0
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13932 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 Py_INCREF(Py_None
); resultobj
= Py_None
;
13957 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 wxString
const &_result_ref
= (arg1
)->GetFindString();
13973 result
= (wxString
*) &_result_ref
;
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13992 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13996 PyObject
* obj0
= 0 ;
13997 char *kwnames
[] = {
13998 (char *) "self", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14008 result
= (wxString
*) &_result_ref
;
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14027 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (int)(arg1
)->GetFlags();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_FromInt((int)result
);
14053 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "flags", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 arg2
= (int) SWIG_AsInt(obj1
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 (arg1
)->SetFlags(arg2
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14085 wxString
*arg2
= 0 ;
14086 bool temp2
= False
;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self",(char *) "str", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 arg2
= wxString_in_helper(obj1
);
14098 if (arg2
== NULL
) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->SetFindString((wxString
const &)*arg2
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14126 wxString
*arg2
= 0 ;
14127 bool temp2
= False
;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "str", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= wxString_in_helper(obj1
);
14139 if (arg2
== NULL
) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14164 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14167 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14169 return Py_BuildValue((char *)"");
14171 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxWindow
*arg1
= (wxWindow
*) 0 ;
14174 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14175 wxString
*arg3
= 0 ;
14176 int arg4
= (int) 0 ;
14177 wxFindReplaceDialog
*result
;
14178 bool temp3
= False
;
14179 PyObject
* obj0
= 0 ;
14180 PyObject
* obj1
= 0 ;
14181 PyObject
* obj2
= 0 ;
14182 PyObject
* obj3
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 arg3
= wxString_in_helper(obj2
);
14194 if (arg3
== NULL
) SWIG_fail
;
14198 arg4
= (int) SWIG_AsInt(obj3
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 if (!wxPyCheckForApp()) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14224 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFindReplaceDialog
*result
;
14227 char *kwnames
[] = {
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14233 if (!wxPyCheckForApp()) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14247 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14250 wxWindow
*arg2
= (wxWindow
*) 0 ;
14251 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14252 wxString
*arg4
= 0 ;
14253 int arg5
= (int) 0 ;
14255 bool temp4
= False
;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 PyObject
* obj3
= 0 ;
14260 PyObject
* obj4
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 arg4
= wxString_in_helper(obj3
);
14274 if (arg4
== NULL
) SWIG_fail
;
14278 arg5
= (int) SWIG_AsInt(obj4
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14308 wxFindReplaceData
*result
;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14331 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14334 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "data", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->SetData(arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14363 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14365 return Py_BuildValue((char *)"");
14367 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxWindow
*arg1
= (wxWindow
*) 0 ;
14370 int arg2
= (int) (int)-1 ;
14371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14377 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14378 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14380 wxMDIParentFrame
*result
;
14381 bool temp3
= False
;
14384 bool temp7
= False
;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 PyObject
* obj2
= 0 ;
14388 PyObject
* obj3
= 0 ;
14389 PyObject
* obj4
= 0 ;
14390 PyObject
* obj5
= 0 ;
14391 PyObject
* obj6
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 arg2
= (int const) SWIG_AsInt(obj1
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14405 arg3
= wxString_in_helper(obj2
);
14406 if (arg3
== NULL
) SWIG_fail
;
14413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14423 arg6
= (long) SWIG_AsLong(obj5
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14428 arg7
= wxString_in_helper(obj6
);
14429 if (arg7
== NULL
) SWIG_fail
;
14434 if (!wxPyCheckForApp()) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14464 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxMDIParentFrame
*result
;
14467 char *kwnames
[] = {
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14473 if (!wxPyCheckForApp()) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14487 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14490 wxWindow
*arg2
= (wxWindow
*) 0 ;
14491 int arg3
= (int) (int)-1 ;
14492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14494 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14495 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14496 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14497 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14498 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14499 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14500 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14502 bool temp4
= False
;
14505 bool temp8
= False
;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 PyObject
* obj2
= 0 ;
14509 PyObject
* obj3
= 0 ;
14510 PyObject
* obj4
= 0 ;
14511 PyObject
* obj5
= 0 ;
14512 PyObject
* obj6
= 0 ;
14513 PyObject
* obj7
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg3
= (int const) SWIG_AsInt(obj2
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14529 arg4
= wxString_in_helper(obj3
);
14530 if (arg4
== NULL
) SWIG_fail
;
14537 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14543 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14547 arg7
= (long) SWIG_AsLong(obj6
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14552 arg8
= wxString_in_helper(obj7
);
14553 if (arg8
== NULL
) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->ActivateNext();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 (arg1
)->ActivatePrevious();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 Py_INCREF(Py_None
); resultobj
= Py_None
;
14639 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->ArrangeIcons();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14664 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 Py_INCREF(Py_None
); resultobj
= Py_None
;
14689 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14692 wxMDIChildFrame
*result
;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= wxPyMake_wxObject(result
, 0);
14717 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14720 wxMDIClientWindow
*result
;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= wxPyMake_wxObject(result
, 0);
14745 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (wxWindow
*)(arg1
)->GetToolBar();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= wxPyMake_wxObject(result
, 0);
14773 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 Py_INCREF(Py_None
); resultobj
= Py_None
;
14798 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14803 return Py_BuildValue((char *)"");
14805 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14808 int arg2
= (int) (int)-1 ;
14809 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14810 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14811 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14812 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14813 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14814 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14815 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14816 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14817 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14818 wxMDIChildFrame
*result
;
14819 bool temp3
= False
;
14822 bool temp7
= False
;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 PyObject
* obj5
= 0 ;
14829 PyObject
* obj6
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14838 arg2
= (int const) SWIG_AsInt(obj1
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14843 arg3
= wxString_in_helper(obj2
);
14844 if (arg3
== NULL
) SWIG_fail
;
14851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14861 arg6
= (long) SWIG_AsLong(obj5
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14866 arg7
= wxString_in_helper(obj6
);
14867 if (arg7
== NULL
) SWIG_fail
;
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14902 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxMDIChildFrame
*result
;
14905 char *kwnames
[] = {
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14911 if (!wxPyCheckForApp()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
14925 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14928 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14929 int arg3
= (int) (int)-1 ;
14930 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14931 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14932 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14933 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14934 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14935 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14936 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14937 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14938 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14940 bool temp4
= False
;
14943 bool temp8
= False
;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 PyObject
* obj2
= 0 ;
14947 PyObject
* obj3
= 0 ;
14948 PyObject
* obj4
= 0 ;
14949 PyObject
* obj5
= 0 ;
14950 PyObject
* obj6
= 0 ;
14951 PyObject
* obj7
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 arg3
= (int const) SWIG_AsInt(obj2
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14967 arg4
= wxString_in_helper(obj3
);
14968 if (arg4
== NULL
) SWIG_fail
;
14975 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14981 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14985 arg7
= (long) SWIG_AsLong(obj6
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14990 arg8
= wxString_in_helper(obj7
);
14991 if (arg8
== NULL
) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 (arg1
)->Activate();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "maximize", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 arg2
= (bool) SWIG_AsBool(obj1
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 (arg1
)->Maximize(arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 Py_INCREF(Py_None
); resultobj
= Py_None
;
15081 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 Py_INCREF(Py_None
); resultobj
= Py_None
;
15106 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15111 return Py_BuildValue((char *)"");
15113 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15116 long arg2
= (long) 0 ;
15117 wxMDIClientWindow
*result
;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "parent",(char *) "style", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 arg2
= (long) SWIG_AsLong(obj1
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 if (!wxPyCheckForApp()) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15146 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMDIClientWindow
*result
;
15149 char *kwnames
[] = {
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15155 if (!wxPyCheckForApp()) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15169 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15172 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15173 long arg3
= (long) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 PyObject
* obj2
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "parent",(char *) "style", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 arg3
= (long) SWIG_AsLong(obj2
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxWindow
*arg1
= (wxWindow
*) 0 ;
15217 int arg2
= (int) (int)-1 ;
15218 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15219 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15220 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15221 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15222 long arg5
= (long) 0 ;
15223 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15224 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15225 wxPyWindow
*result
;
15228 bool temp6
= False
;
15229 PyObject
* obj0
= 0 ;
15230 PyObject
* obj1
= 0 ;
15231 PyObject
* obj2
= 0 ;
15232 PyObject
* obj3
= 0 ;
15233 PyObject
* obj4
= 0 ;
15234 PyObject
* obj5
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 arg2
= (int const) SWIG_AsInt(obj1
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15259 arg5
= (long) SWIG_AsLong(obj4
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15264 arg6
= wxString_in_helper(obj5
);
15265 if (arg6
== NULL
) SWIG_fail
;
15270 if (!wxPyCheckForApp()) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15292 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxPyWindow
*result
;
15295 char *kwnames
[] = {
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15301 if (!wxPyCheckForApp()) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (wxPyWindow
*)new wxPyWindow();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15315 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15318 PyObject
*arg2
= (PyObject
*) 0 ;
15319 PyObject
*arg3
= (PyObject
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 PyObject
* obj1
= 0 ;
15322 PyObject
* obj2
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self",(char *) "self",(char *) "_class", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 Py_INCREF(Py_None
); resultobj
= Py_None
;
15346 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self",(char *) "size", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15362 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 Py_INCREF(Py_None
); resultobj
= Py_None
;
15378 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 PyObject
* obj2
= 0 ;
15388 PyObject
* obj3
= 0 ;
15389 PyObject
* obj4
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 arg2
= (int) SWIG_AsInt(obj1
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15399 arg3
= (int) SWIG_AsInt(obj2
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15401 arg4
= (int) SWIG_AsInt(obj3
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15403 arg5
= (int) SWIG_AsInt(obj4
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 Py_INCREF(Py_None
); resultobj
= Py_None
;
15419 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15426 int arg6
= (int) wxSIZE_AUTO
;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 PyObject
* obj3
= 0 ;
15431 PyObject
* obj4
= 0 ;
15432 PyObject
* obj5
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15440 arg2
= (int) SWIG_AsInt(obj1
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15442 arg3
= (int) SWIG_AsInt(obj2
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15444 arg4
= (int) SWIG_AsInt(obj3
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15446 arg5
= (int) SWIG_AsInt(obj4
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 arg6
= (int) SWIG_AsInt(obj5
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "width",(char *) "height", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 arg2
= (int) SWIG_AsInt(obj1
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15483 arg3
= (int) SWIG_AsInt(obj2
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 Py_INCREF(Py_None
); resultobj
= Py_None
;
15499 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "x",(char *) "y", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 arg2
= (int) SWIG_AsInt(obj1
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15516 arg3
= (int) SWIG_AsInt(obj2
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15535 int *arg2
= (int *) 0 ;
15536 int *arg3
= (int *) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 Py_INCREF(Py_None
); resultobj
= Py_None
;
15558 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15559 resultobj
= t_output_helper(resultobj
,o
);
15562 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15563 resultobj
= t_output_helper(resultobj
,o
);
15571 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(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_DoGetPosition",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_DoGetPosition(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_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 wxSize
* resultptr
;
15670 resultptr
= new wxSize((wxSize
&) result
);
15671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15679 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 wxSize
* resultptr
;
15700 resultptr
= new wxSize((wxSize
&) result
);
15701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15709 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 (arg1
)->base_InitDialog();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 Py_INCREF(Py_None
); resultobj
= Py_None
;
15734 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (bool)(arg1
)->base_TransferDataToWindow();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15762 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15790 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)(arg1
)->base_Validate();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 wxSize
* resultptr
;
15895 resultptr
= new wxSize((wxSize
&) result
);
15896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15904 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15907 wxWindow
*arg2
= (wxWindow
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "child", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->base_AddChild(arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 Py_INCREF(Py_None
); resultobj
= Py_None
;
15933 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15936 wxWindow
*arg2
= (wxWindow
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "child", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->base_RemoveChild(arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15990 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15993 wxColour
*arg2
= 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "c", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16025 wxVisualAttributes result
;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (arg1
)->base_GetDefaultAttributes();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 wxVisualAttributes
* resultptr
;
16043 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16052 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16057 return Py_BuildValue((char *)"");
16059 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxWindow
*arg1
= (wxWindow
*) 0 ;
16062 int arg2
= (int) (int)-1 ;
16063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16067 long arg5
= (long) 0 ;
16068 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16069 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16073 bool temp6
= False
;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 PyObject
* obj2
= 0 ;
16077 PyObject
* obj3
= 0 ;
16078 PyObject
* obj4
= 0 ;
16079 PyObject
* obj5
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 arg2
= (int const) SWIG_AsInt(obj1
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16100 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16104 arg5
= (long) SWIG_AsLong(obj4
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16109 arg6
= wxString_in_helper(obj5
);
16110 if (arg6
== NULL
) SWIG_fail
;
16115 if (!wxPyCheckForApp()) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16137 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16140 char *kwnames
[] = {
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16146 if (!wxPyCheckForApp()) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxPyPanel
*)new wxPyPanel();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16160 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16163 PyObject
*arg2
= (PyObject
*) 0 ;
16164 PyObject
*arg3
= (PyObject
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 PyObject
* obj2
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self",(char *) "self",(char *) "_class", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "size", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 PyObject
* obj2
= 0 ;
16233 PyObject
* obj3
= 0 ;
16234 PyObject
* obj4
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 arg2
= (int) SWIG_AsInt(obj1
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16244 arg3
= (int) SWIG_AsInt(obj2
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16246 arg4
= (int) SWIG_AsInt(obj3
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16248 arg5
= (int) SWIG_AsInt(obj4
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 Py_INCREF(Py_None
); resultobj
= Py_None
;
16264 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16271 int arg6
= (int) wxSIZE_AUTO
;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 PyObject
* obj3
= 0 ;
16276 PyObject
* obj4
= 0 ;
16277 PyObject
* obj5
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 arg2
= (int) SWIG_AsInt(obj1
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16287 arg3
= (int) SWIG_AsInt(obj2
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16289 arg4
= (int) SWIG_AsInt(obj3
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16291 arg5
= (int) SWIG_AsInt(obj4
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 arg6
= (int) SWIG_AsInt(obj5
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16311 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "width",(char *) "height", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (int) SWIG_AsInt(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16328 arg3
= (int) SWIG_AsInt(obj2
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 PyObject
* obj2
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self",(char *) "x",(char *) "y", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16359 arg2
= (int) SWIG_AsInt(obj1
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16361 arg3
= (int) SWIG_AsInt(obj2
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 Py_INCREF(Py_None
); resultobj
= Py_None
;
16377 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16380 int *arg2
= (int *) 0 ;
16381 int *arg3
= (int *) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 char *kwnames
[] = {
16386 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16403 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16404 resultobj
= t_output_helper(resultobj
,o
);
16407 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16408 resultobj
= t_output_helper(resultobj
,o
);
16416 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(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_DoGetPosition",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_DoGetPosition(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_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 wxSize
* resultptr
;
16515 resultptr
= new wxSize((wxSize
&) result
);
16516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16524 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 wxSize
* resultptr
;
16545 resultptr
= new wxSize((wxSize
&) result
);
16546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16554 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 (arg1
)->base_InitDialog();
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 Py_INCREF(Py_None
); resultobj
= Py_None
;
16579 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (bool)(arg1
)->base_TransferDataToWindow();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16607 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16635 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (bool)(arg1
)->base_Validate();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16663 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
;
16665 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16667 PyObject
* obj0
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16691 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 wxSize
* resultptr
;
16740 resultptr
= new wxSize((wxSize
&) result
);
16741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16749 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16752 wxWindow
*arg2
= (wxWindow
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self",(char *) "child", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->base_AddChild(arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16781 wxWindow
*arg2
= (wxWindow
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "child", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 (arg1
)->base_RemoveChild(arg2
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 Py_INCREF(Py_None
); resultobj
= Py_None
;
16807 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16835 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16838 wxColour
*arg2
= 0 ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self",(char *) "c", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16870 wxVisualAttributes result
;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (arg1
)->base_GetDefaultAttributes();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 wxVisualAttributes
* resultptr
;
16888 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16897 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16900 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16902 return Py_BuildValue((char *)"");
16904 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxWindow
*arg1
= (wxWindow
*) 0 ;
16907 int arg2
= (int) (int)-1 ;
16908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16912 long arg5
= (long) 0 ;
16913 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16914 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16915 wxPyScrolledWindow
*result
;
16918 bool temp6
= False
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 PyObject
* obj2
= 0 ;
16922 PyObject
* obj3
= 0 ;
16923 PyObject
* obj4
= 0 ;
16924 PyObject
* obj5
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16933 arg2
= (int const) SWIG_AsInt(obj1
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16945 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16949 arg5
= (long) SWIG_AsLong(obj4
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16954 arg6
= wxString_in_helper(obj5
);
16955 if (arg6
== NULL
) SWIG_fail
;
16960 if (!wxPyCheckForApp()) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16982 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxPyScrolledWindow
*result
;
16985 char *kwnames
[] = {
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16991 if (!wxPyCheckForApp()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17005 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17008 PyObject
*arg2
= (PyObject
*) 0 ;
17009 PyObject
*arg3
= (PyObject
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 PyObject
* obj1
= 0 ;
17012 PyObject
* obj2
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "self",(char *) "self",(char *) "_class", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "size", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17068 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 PyObject
* obj3
= 0 ;
17079 PyObject
* obj4
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17087 arg2
= (int) SWIG_AsInt(obj1
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17089 arg3
= (int) SWIG_AsInt(obj2
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17091 arg4
= (int) SWIG_AsInt(obj3
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17093 arg5
= (int) SWIG_AsInt(obj4
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17109 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17116 int arg6
= (int) wxSIZE_AUTO
;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 PyObject
* obj2
= 0 ;
17120 PyObject
* obj3
= 0 ;
17121 PyObject
* obj4
= 0 ;
17122 PyObject
* obj5
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 arg2
= (int) SWIG_AsInt(obj1
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17132 arg3
= (int) SWIG_AsInt(obj2
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17134 arg4
= (int) SWIG_AsInt(obj3
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17136 arg5
= (int) SWIG_AsInt(obj4
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 arg6
= (int) SWIG_AsInt(obj5
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 PyObject
* obj2
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self",(char *) "width",(char *) "height", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17171 arg2
= (int) SWIG_AsInt(obj1
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17173 arg3
= (int) SWIG_AsInt(obj2
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 Py_INCREF(Py_None
); resultobj
= Py_None
;
17189 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self",(char *) "x",(char *) "y", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 arg2
= (int) SWIG_AsInt(obj1
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17206 arg3
= (int) SWIG_AsInt(obj2
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 Py_INCREF(Py_None
); resultobj
= Py_None
;
17222 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17225 int *arg2
= (int *) 0 ;
17226 int *arg3
= (int *) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17249 resultobj
= t_output_helper(resultobj
,o
);
17252 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17253 resultobj
= t_output_helper(resultobj
,o
);
17261 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(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_DoGetClientSize",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_DoGetClientSize(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_DoGetPosition(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_DoGetPosition",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_DoGetPosition(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_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 wxSize
* resultptr
;
17360 resultptr
= new wxSize((wxSize
&) result
);
17361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17369 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17373 PyObject
* obj0
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 wxSize
* resultptr
;
17390 resultptr
= new wxSize((wxSize
&) result
);
17391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17399 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17402 PyObject
* obj0
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 (arg1
)->base_InitDialog();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 Py_INCREF(Py_None
); resultobj
= Py_None
;
17424 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= (bool)(arg1
)->base_TransferDataToWindow();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17452 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17480 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (bool)(arg1
)->base_Validate();
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17508 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17536 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17564 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 wxSize
* resultptr
;
17585 resultptr
= new wxSize((wxSize
&) result
);
17586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17594 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17597 wxWindow
*arg2
= (wxWindow
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "child", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 (arg1
)->base_AddChild(arg2
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17626 wxWindow
*arg2
= (wxWindow
*) 0 ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self",(char *) "child", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->base_RemoveChild(arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17680 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17683 wxColour
*arg2
= 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "c", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 Py_INCREF(Py_None
); resultobj
= Py_None
;
17712 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17715 wxVisualAttributes result
;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (arg1
)->base_GetDefaultAttributes();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 wxVisualAttributes
* resultptr
;
17733 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17742 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17745 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17747 return Py_BuildValue((char *)"");
17749 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17750 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17755 static PyObject
*_wrap_PrintoutTitleStr_get() {
17760 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17762 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17769 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17770 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17775 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17780 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17782 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17789 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17790 PyObject
*resultobj
;
17791 wxPrintData
*result
;
17793 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (wxPrintData
*)new wxPrintData();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17808 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
17809 PyObject
*resultobj
;
17810 wxPrintData
*arg1
= 0 ;
17811 wxPrintData
*result
;
17812 PyObject
* obj0
= 0 ;
17814 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17818 if (arg1
== NULL
) {
17819 PyErr_SetString(PyExc_TypeError
,"null reference");
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17836 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17841 argc
= PyObject_Length(args
);
17842 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17843 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17846 return _wrap_new_PrintData__SWIG_0(self
,args
);
17852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
17860 return _wrap_new_PrintData__SWIG_1(self
,args
);
17864 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
17869 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 Py_INCREF(Py_None
); resultobj
= Py_None
;
17894 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (int)(arg1
)->GetNoCopies();
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= SWIG_FromInt((int)result
);
17920 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (bool)(arg1
)->GetCollate();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17948 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (int)(arg1
)->GetOrientation();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_FromInt((int)result
);
17974 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (bool)(arg1
)->Ok();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18002 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18018 result
= (wxString
*) &_result_ref
;
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18037 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (bool)(arg1
)->GetColour();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18065 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (int)(arg1
)->GetDuplex();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_FromInt((int)result
);
18091 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (int)(arg1
)->GetPaperId();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_FromInt((int)result
);
18117 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18133 result
= (wxSize
*) &_result_ref
;
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18146 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (int)(arg1
)->GetQuality();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_FromInt((int)result
);
18172 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18174 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "v", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18185 arg2
= (int) SWIG_AsInt(obj1
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->SetNoCopies(arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 Py_INCREF(Py_None
); resultobj
= Py_None
;
18201 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "flag", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 arg2
= (bool) SWIG_AsBool(obj1
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetCollate(arg2
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 Py_INCREF(Py_None
); resultobj
= Py_None
;
18230 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "orient", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 arg2
= (int) SWIG_AsInt(obj1
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->SetOrientation(arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 Py_INCREF(Py_None
); resultobj
= Py_None
;
18259 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18262 wxString
*arg2
= 0 ;
18263 bool temp2
= False
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "name", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 arg2
= wxString_in_helper(obj1
);
18275 if (arg2
== NULL
) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 Py_INCREF(Py_None
); resultobj
= Py_None
;
18300 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "colour", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18313 arg2
= (bool) SWIG_AsBool(obj1
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetColour(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "duplex", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "sizeId", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "sz", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self",(char *) "quality", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 arg2
= (int) SWIG_AsInt(obj1
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->SetQuality(arg2
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 Py_INCREF(Py_None
); resultobj
= Py_None
;
18448 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18464 result
= (wxString
*) &_result_ref
;
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18483 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18499 result
= (wxString
*) &_result_ref
;
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18509 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18518 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18534 result
= (wxString
*) &_result_ref
;
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18544 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18553 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 wxString
const &_result_ref
= (arg1
)->GetFilename();
18569 result
= (wxString
*) &_result_ref
;
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18588 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18604 result
= (wxString
*) &_result_ref
;
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18623 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (double)(arg1
)->GetPrinterScaleX();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_FromDouble((double)result
);
18649 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (double)(arg1
)->GetPrinterScaleY();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_FromDouble((double)result
);
18675 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (long)(arg1
)->GetPrinterTranslateX();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_FromLong((long)result
);
18701 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (long)(arg1
)->GetPrinterTranslateY();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_FromLong((long)result
);
18727 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (int)(arg1
)->GetPrintMode();
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= SWIG_FromInt((int)result
);
18753 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18756 wxString
*arg2
= 0 ;
18757 bool temp2
= False
;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "command", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 arg2
= wxString_in_helper(obj1
);
18769 if (arg2
== NULL
) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18794 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18797 wxString
*arg2
= 0 ;
18798 bool temp2
= False
;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "options", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 arg2
= wxString_in_helper(obj1
);
18810 if (arg2
== NULL
) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 Py_INCREF(Py_None
); resultobj
= Py_None
;
18835 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18838 wxString
*arg2
= 0 ;
18839 bool temp2
= False
;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "command", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18850 arg2
= wxString_in_helper(obj1
);
18851 if (arg2
== NULL
) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18879 wxString
*arg2
= 0 ;
18880 bool temp2
= False
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self",(char *) "filename", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 arg2
= wxString_in_helper(obj1
);
18892 if (arg2
== NULL
) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->SetFilename((wxString
const &)*arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18917 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18920 wxString
*arg2
= 0 ;
18921 bool temp2
= False
;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "path", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 arg2
= wxString_in_helper(obj1
);
18933 if (arg2
== NULL
) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "x", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= (double) SWIG_AsDouble(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->SetPrinterScaleX(arg2
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "y", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (double) SWIG_AsDouble(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->SetPrinterScaleY(arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 PyObject
* obj2
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "x",(char *) "y", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 arg2
= (double) SWIG_AsDouble(obj1
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19033 arg3
= (double) SWIG_AsDouble(obj2
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 Py_INCREF(Py_None
); resultobj
= Py_None
;
19049 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "x", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19062 arg2
= (long) SWIG_AsLong(obj1
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->SetPrinterTranslateX(arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "y", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 arg2
= (long) SWIG_AsLong(obj1
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->SetPrinterTranslateY(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 PyObject
* obj2
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "x",(char *) "y", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19122 arg2
= (long) SWIG_AsLong(obj1
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19124 arg3
= (long) SWIG_AsLong(obj2
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 Py_INCREF(Py_None
); resultobj
= Py_None
;
19140 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "printMode", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19172 wxOutputStream
*result
;
19173 PyObject
* obj0
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19195 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19198 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "outputstream", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetOutputStream(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19227 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19229 return Py_BuildValue((char *)"");
19231 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19232 PyObject
*resultobj
;
19233 wxPageSetupDialogData
*result
;
19235 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19250 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19251 PyObject
*resultobj
;
19252 wxPageSetupDialogData
*arg1
= 0 ;
19253 wxPageSetupDialogData
*result
;
19254 PyObject
* obj0
= 0 ;
19256 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19260 if (arg1
== NULL
) {
19261 PyErr_SetString(PyExc_TypeError
,"null reference");
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19278 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19283 argc
= PyObject_Length(args
);
19284 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19285 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19288 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19294 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19302 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19306 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19311 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 Py_INCREF(Py_None
); resultobj
= Py_None
;
19336 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "flag", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 arg2
= (bool) SWIG_AsBool(obj1
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 (arg1
)->EnableHelp(arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 Py_INCREF(Py_None
); resultobj
= Py_None
;
19365 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "flag", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19378 arg2
= (bool) SWIG_AsBool(obj1
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->EnableMargins(arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "flag", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 arg2
= (bool) SWIG_AsBool(obj1
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->EnableOrientation(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "flag", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 arg2
= (bool) SWIG_AsBool(obj1
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->EnablePaper(arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 Py_INCREF(Py_None
); resultobj
= Py_None
;
19452 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "flag", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= (bool) SWIG_AsBool(obj1
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 (arg1
)->EnablePrinter(arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 Py_INCREF(Py_None
); resultobj
= Py_None
;
19481 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (bool)(arg1
)->GetDefaultMinMargins();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (bool)(arg1
)->GetEnableMargins();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19537 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (bool)(arg1
)->GetEnableOrientation();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19565 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (bool)(arg1
)->GetEnablePaper();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19593 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (bool)(arg1
)->GetEnablePrinter();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19621 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
;
19623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (bool)(arg1
)->GetEnableHelp();
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19649 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (bool)(arg1
)->GetDefaultInfo();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19677 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (arg1
)->GetMarginTopLeft();
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19697 wxPoint
* resultptr
;
19698 resultptr
= new wxPoint((wxPoint
&) result
);
19699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19707 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (arg1
)->GetMarginBottomRight();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 wxPoint
* resultptr
;
19728 resultptr
= new wxPoint((wxPoint
&) result
);
19729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19737 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (arg1
)->GetMinMarginTopLeft();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 wxPoint
* resultptr
;
19758 resultptr
= new wxPoint((wxPoint
&) result
);
19759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19767 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (arg1
)->GetMinMarginBottomRight();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 wxPoint
* resultptr
;
19788 resultptr
= new wxPoint((wxPoint
&) result
);
19789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19797 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (int)(arg1
)->GetPaperId();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_FromInt((int)result
);
19823 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (arg1
)->GetPaperSize();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 wxSize
* resultptr
;
19844 resultptr
= new wxSize((wxSize
&) result
);
19845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19853 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19856 wxPrintData
*result
;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19869 result
= (wxPrintData
*) &_result_ref
;
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19882 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)(arg1
)->Ok();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19910 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "flag", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 arg2
= (bool) SWIG_AsBool(obj1
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->SetDefaultInfo(arg2
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "flag", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 arg2
= (bool) SWIG_AsBool(obj1
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 (arg1
)->SetDefaultMinMargins(arg2
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19971 wxPoint
*arg2
= 0 ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "pt", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 Py_INCREF(Py_None
); resultobj
= Py_None
;
20000 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20003 wxPoint
*arg2
= 0 ;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "pt", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20035 wxPoint
*arg2
= 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self",(char *) "pt", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 Py_INCREF(Py_None
); resultobj
= Py_None
;
20064 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20067 wxPoint
*arg2
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "pt", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 Py_INCREF(Py_None
); resultobj
= Py_None
;
20096 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "id", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20109 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 Py_INCREF(Py_None
); resultobj
= Py_None
;
20125 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "size", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20157 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20160 wxPrintData
*arg2
= 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self",(char *) "printData", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20173 if (arg2
== NULL
) {
20174 PyErr_SetString(PyExc_TypeError
,"null reference");
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20191 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20194 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20196 return Py_BuildValue((char *)"");
20198 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxWindow
*arg1
= (wxWindow
*) 0 ;
20201 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20202 wxPageSetupDialog
*result
;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "parent",(char *) "data", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 if (!wxPyCheckForApp()) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20231 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20234 wxPageSetupDialogData
*result
;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20247 result
= (wxPageSetupDialogData
*) &_result_ref
;
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20260 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (int)(arg1
)->ShowModal();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_FromInt((int)result
);
20286 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20289 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20291 return Py_BuildValue((char *)"");
20293 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20294 PyObject
*resultobj
;
20295 wxPrintDialogData
*result
;
20297 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20312 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20313 PyObject
*resultobj
;
20314 wxPrintData
*arg1
= 0 ;
20315 wxPrintDialogData
*result
;
20316 PyObject
* obj0
= 0 ;
20318 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20322 if (arg1
== NULL
) {
20323 PyErr_SetString(PyExc_TypeError
,"null reference");
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20340 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20345 argc
= PyObject_Length(args
);
20346 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20347 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20350 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20356 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20364 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20368 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20373 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 Py_INCREF(Py_None
); resultobj
= Py_None
;
20398 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_FromInt((int)result
);
20424 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_FromInt((int)result
);
20450 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_FromInt((int)result
);
20476 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_FromInt((int)result
);
20502 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_FromInt((int)result
);
20528 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20556 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20668 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "v", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 arg2
= (int) SWIG_AsInt(obj1
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 (arg1
)->SetFromPage(arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 Py_INCREF(Py_None
); resultobj
= Py_None
;
20697 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "v", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 arg2
= (int) SWIG_AsInt(obj1
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 (arg1
)->SetToPage(arg2
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 Py_INCREF(Py_None
); resultobj
= Py_None
;
20726 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "v", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 arg2
= (int) SWIG_AsInt(obj1
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->SetMinPage(arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "v", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 arg2
= (int) SWIG_AsInt(obj1
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 (arg1
)->SetMaxPage(arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 Py_INCREF(Py_None
); resultobj
= Py_None
;
20784 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "v", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 arg2
= (int) SWIG_AsInt(obj1
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 (arg1
)->SetNoCopies(arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 Py_INCREF(Py_None
); resultobj
= Py_None
;
20813 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self",(char *) "flag", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 arg2
= (bool) SWIG_AsBool(obj1
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 (arg1
)->SetAllPages(arg2
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 Py_INCREF(Py_None
); resultobj
= Py_None
;
20842 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self",(char *) "flag", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 arg2
= (bool) SWIG_AsBool(obj1
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->SetSelection(arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "flag", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 arg2
= (bool) SWIG_AsBool(obj1
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->SetCollate(arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20900 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "flag", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20913 arg2
= (bool) SWIG_AsBool(obj1
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 (arg1
)->SetPrintToFile(arg2
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 Py_INCREF(Py_None
); resultobj
= Py_None
;
20929 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self",(char *) "flag", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20942 arg2
= (bool) SWIG_AsBool(obj1
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 (arg1
)->SetSetupDialog(arg2
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 Py_INCREF(Py_None
); resultobj
= Py_None
;
20958 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self",(char *) "flag", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20971 arg2
= (bool) SWIG_AsBool(obj1
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 (arg1
)->EnablePrintToFile(arg2
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 Py_INCREF(Py_None
); resultobj
= Py_None
;
20987 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "flag", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21000 arg2
= (bool) SWIG_AsBool(obj1
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->EnableSelection(arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self",(char *) "flag", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 arg2
= (bool) SWIG_AsBool(obj1
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->EnablePageNumbers(arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self",(char *) "flag", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 arg2
= (bool) SWIG_AsBool(obj1
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->EnableHelp(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21134 PyObject
* obj0
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21158 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21186 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21217 wxPrintData
*result
;
21218 PyObject
* obj0
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21230 result
= (wxPrintData
*) &_result_ref
;
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21243 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21246 wxPrintData
*arg2
= 0 ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "printData", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21259 if (arg2
== NULL
) {
21260 PyErr_SetString(PyExc_TypeError
,"null reference");
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 Py_INCREF(Py_None
); resultobj
= Py_None
;
21277 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21280 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21282 return Py_BuildValue((char *)"");
21284 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxWindow
*arg1
= (wxWindow
*) 0 ;
21287 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21288 wxPrintDialog
*result
;
21289 PyObject
* obj0
= 0 ;
21290 PyObject
* obj1
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "parent",(char *) "data", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 if (!wxPyCheckForApp()) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21317 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21320 wxPrintDialogData
*result
;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21333 result
= (wxPrintDialogData
*) &_result_ref
;
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21346 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (wxDC
*)(arg1
)->GetPrintDC();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= wxPyMake_wxObject(result
, 1);
21374 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (int)(arg1
)->ShowModal();
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= SWIG_FromInt((int)result
);
21400 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21403 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21405 return Py_BuildValue((char *)"");
21407 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21411 PyObject
* obj0
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "data", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 if (!wxPyCheckForApp()) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 result
= (wxPrinter
*)new wxPrinter(arg1
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21436 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21464 wxWindow
*arg2
= (wxWindow
*) 0 ;
21465 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "parent",(char *) "printout", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 Py_INCREF(Py_None
); resultobj
= Py_None
;
21494 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21497 wxPrintDialogData
*result
;
21498 PyObject
* obj0
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21510 result
= (wxPrintDialogData
*) &_result_ref
;
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21523 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21526 wxWindow
*arg2
= (wxWindow
*) 0 ;
21527 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21528 int arg4
= (int) True
;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 PyObject
* obj2
= 0 ;
21533 PyObject
* obj3
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 arg4
= (int) SWIG_AsInt(obj3
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21565 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21568 wxWindow
*arg2
= (wxWindow
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "parent", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= wxPyMake_wxObject(result
, 0);
21597 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21600 wxWindow
*arg2
= (wxWindow
*) 0 ;
21601 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21602 wxString
*arg4
= 0 ;
21603 bool temp4
= False
;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 PyObject
* obj2
= 0 ;
21607 PyObject
* obj3
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 arg4
= wxString_in_helper(obj3
);
21621 if (arg4
== NULL
) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21649 wxWindow
*arg2
= (wxWindow
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "parent", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (bool)(arg1
)->Setup(arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21678 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (bool)(arg1
)->GetAbort();
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21706 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21709 char *kwnames
[] = {
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 result
= (int)wxPrinter::GetLastError();
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_FromInt((int)result
);
21728 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21731 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21733 return Py_BuildValue((char *)"");
21735 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21738 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21739 wxPyPrintout
*result
;
21740 bool temp1
= False
;
21741 PyObject
* obj0
= 0 ;
21742 char *kwnames
[] = {
21743 (char *) "title", NULL
21746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21749 arg1
= wxString_in_helper(obj0
);
21750 if (arg1
== NULL
) SWIG_fail
;
21755 if (!wxPyCheckForApp()) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= wxPyMake_wxObject(result
, 1);
21779 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21782 PyObject
*arg2
= (PyObject
*) 0 ;
21783 PyObject
*arg3
= (PyObject
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 PyObject
* obj2
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self",(char *) "self",(char *) "_class", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 Py_INCREF(Py_None
); resultobj
= Py_None
;
21810 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21842 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (wxDC
*)(arg1
)->GetDC();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= wxPyMake_wxObject(result
, 0);
21870 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21873 wxDC
*arg2
= (wxDC
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 PyObject
* obj1
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "dc", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetDC(arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "w",(char *) "h", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 arg2
= (int) SWIG_AsInt(obj1
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21916 arg3
= (int) SWIG_AsInt(obj2
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 Py_INCREF(Py_None
); resultobj
= Py_None
;
21932 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21935 int *arg2
= (int *) 0 ;
21936 int *arg3
= (int *) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21958 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21959 resultobj
= t_output_helper(resultobj
,o
);
21962 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21963 resultobj
= t_output_helper(resultobj
,o
);
21971 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "w",(char *) "h", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21986 arg2
= (int) SWIG_AsInt(obj1
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21988 arg3
= (int) SWIG_AsInt(obj2
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 Py_INCREF(Py_None
); resultobj
= Py_None
;
22004 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22006 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22007 int *arg2
= (int *) 0 ;
22008 int *arg3
= (int *) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 Py_INCREF(Py_None
); resultobj
= Py_None
;
22030 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22031 resultobj
= t_output_helper(resultobj
,o
);
22034 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22035 resultobj
= t_output_helper(resultobj
,o
);
22043 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 PyObject
* obj2
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "x",(char *) "y", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (int) SWIG_AsInt(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22060 arg3
= (int) SWIG_AsInt(obj2
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetPPIScreen(arg2
,arg3
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22079 int *arg2
= (int *) 0 ;
22080 int *arg3
= (int *) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 (arg1
)->GetPPIScreen(arg2
,arg3
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 Py_INCREF(Py_None
); resultobj
= Py_None
;
22102 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22103 resultobj
= t_output_helper(resultobj
,o
);
22106 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22107 resultobj
= t_output_helper(resultobj
,o
);
22115 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 PyObject
* obj2
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "x",(char *) "y", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 arg2
= (int) SWIG_AsInt(obj1
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22132 arg3
= (int) SWIG_AsInt(obj2
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 Py_INCREF(Py_None
); resultobj
= Py_None
;
22148 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22151 int *arg2
= (int *) 0 ;
22152 int *arg3
= (int *) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22174 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22175 resultobj
= t_output_helper(resultobj
,o
);
22178 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22179 resultobj
= t_output_helper(resultobj
,o
);
22187 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22191 PyObject
* obj0
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (bool)(arg1
)->IsPreview();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22215 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "p", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22228 arg2
= (bool) SWIG_AsBool(obj1
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 (arg1
)->SetIsPreview(arg2
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 Py_INCREF(Py_None
); resultobj
= Py_None
;
22244 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 PyObject
* obj1
= 0 ;
22252 PyObject
* obj2
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 arg2
= (int) SWIG_AsInt(obj1
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22262 arg3
= (int) SWIG_AsInt(obj2
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22280 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 (arg1
)->base_OnEndDocument();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 Py_INCREF(Py_None
); resultobj
= Py_None
;
22305 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 (arg1
)->base_OnBeginPrinting();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 Py_INCREF(Py_None
); resultobj
= Py_None
;
22330 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 (arg1
)->base_OnEndPrinting();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 Py_INCREF(Py_None
); resultobj
= Py_None
;
22355 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->base_OnPreparePrinting();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "page", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 arg2
= (int) SWIG_AsInt(obj1
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (bool)(arg1
)->base_HasPage(arg2
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22412 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22415 int *arg2
= (int *) 0 ;
22416 int *arg3
= (int *) 0 ;
22417 int *arg4
= (int *) 0 ;
22418 int *arg5
= (int *) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22445 resultobj
= t_output_helper(resultobj
,o
);
22448 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22449 resultobj
= t_output_helper(resultobj
,o
);
22452 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22453 resultobj
= t_output_helper(resultobj
,o
);
22456 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22457 resultobj
= t_output_helper(resultobj
,o
);
22465 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22468 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22470 return Py_BuildValue((char *)"");
22472 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22475 wxWindow
*arg2
= (wxWindow
*) 0 ;
22476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22480 long arg5
= (long) 0 ;
22481 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22483 wxPreviewCanvas
*result
;
22486 bool temp6
= False
;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 PyObject
* obj2
= 0 ;
22490 PyObject
* obj3
= 0 ;
22491 PyObject
* obj4
= 0 ;
22492 PyObject
* obj5
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22515 arg5
= (long) SWIG_AsLong(obj4
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22520 arg6
= wxString_in_helper(obj5
);
22521 if (arg6
== NULL
) SWIG_fail
;
22526 if (!wxPyCheckForApp()) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22548 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22551 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22553 return Py_BuildValue((char *)"");
22555 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22558 wxFrame
*arg2
= (wxFrame
*) 0 ;
22559 wxString
*arg3
= 0 ;
22560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22564 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22565 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22566 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22567 wxPreviewFrame
*result
;
22568 bool temp3
= False
;
22571 bool temp7
= False
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 PyObject
* obj2
= 0 ;
22575 PyObject
* obj3
= 0 ;
22576 PyObject
* obj4
= 0 ;
22577 PyObject
* obj5
= 0 ;
22578 PyObject
* obj6
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 arg3
= wxString_in_helper(obj2
);
22590 if (arg3
== NULL
) SWIG_fail
;
22596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22606 arg6
= (long) SWIG_AsLong(obj5
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22611 arg7
= wxString_in_helper(obj6
);
22612 if (arg7
== NULL
) SWIG_fail
;
22617 if (!wxPyCheckForApp()) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22647 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->Initialize();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->CreateControlBar();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 (arg1
)->CreateCanvas();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 Py_INCREF(Py_None
); resultobj
= Py_None
;
22722 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22725 wxPreviewControlBar
*result
;
22726 PyObject
* obj0
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22748 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22751 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22753 return Py_BuildValue((char *)"");
22755 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
;
22757 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22759 wxWindow
*arg3
= (wxWindow
*) 0 ;
22760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22764 long arg6
= (long) wxTAB_TRAVERSAL
;
22765 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22766 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22767 wxPreviewControlBar
*result
;
22770 bool temp7
= False
;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 PyObject
* obj2
= 0 ;
22774 PyObject
* obj3
= 0 ;
22775 PyObject
* obj4
= 0 ;
22776 PyObject
* obj5
= 0 ;
22777 PyObject
* obj6
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 arg2
= (long) SWIG_AsLong(obj1
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22787 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22802 arg6
= (long) SWIG_AsLong(obj5
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22807 arg7
= wxString_in_helper(obj6
);
22808 if (arg7
== NULL
) SWIG_fail
;
22813 if (!wxPyCheckForApp()) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22835 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (int)(arg1
)->GetZoomControl();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_FromInt((int)result
);
22861 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 PyObject
* obj1
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self",(char *) "zoom", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22874 arg2
= (int) SWIG_AsInt(obj1
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 (arg1
)->SetZoomControl(arg2
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22893 wxPrintPreview
*result
;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22916 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22941 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 (arg1
)->OnPrevious();
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 Py_INCREF(Py_None
); resultobj
= Py_None
;
22966 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 Py_INCREF(Py_None
); resultobj
= Py_None
;
23016 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23044 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23046 return Py_BuildValue((char *)"");
23048 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23049 PyObject
*resultobj
;
23050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23051 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23052 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23053 wxPrintPreview
*result
;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23058 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 if (!wxPyCheckForApp()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23082 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23083 PyObject
*resultobj
;
23084 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23085 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23086 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23087 wxPrintPreview
*result
;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 PyObject
* obj2
= 0 ;
23092 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 if (!wxPyCheckForApp()) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23114 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23119 argc
= PyObject_Length(args
);
23120 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23121 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23123 if ((argc
>= 2) && (argc
<= 3)) {
23127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23146 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23150 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23158 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23167 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23177 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23187 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23195 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23201 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23206 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self",(char *) "pageNum", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 arg2
= (int) SWIG_AsInt(obj1
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23238 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (int)(arg1
)->GetCurrentPage();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_FromInt((int)result
);
23264 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23267 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "printout", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 (arg1
)->SetPrintout(arg2
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 Py_INCREF(Py_None
); resultobj
= Py_None
;
23293 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23296 wxPyPrintout
*result
;
23297 PyObject
* obj0
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= wxPyMake_wxObject(result
, 0);
23321 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23324 wxPyPrintout
*result
;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= wxPyMake_wxObject(result
, 0);
23349 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23352 wxFrame
*arg2
= (wxFrame
*) 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "frame", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 (arg1
)->SetFrame(arg2
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 Py_INCREF(Py_None
); resultobj
= Py_None
;
23378 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23381 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self",(char *) "canvas", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->SetCanvas(arg2
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (wxFrame
*)(arg1
)->GetFrame();
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= wxPyMake_wxObject(result
, 0);
23435 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23438 wxPreviewCanvas
*result
;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23461 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23464 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 PyObject
* obj2
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23482 if (arg3
== NULL
) {
23483 PyErr_SetString(PyExc_TypeError
,"null reference");
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23502 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
;
23504 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23505 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 PyObject
* obj2
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23523 if (arg3
== NULL
) {
23524 PyErr_SetString(PyExc_TypeError
,"null reference");
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23543 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "pageNum", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 arg2
= (int) SWIG_AsInt(obj1
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (bool)(arg1
)->RenderPage(arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23575 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23578 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "canvas", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->AdjustScrollbars(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23607 wxPrintDialogData
*result
;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23620 result
= (wxPrintDialogData
*) &_result_ref
;
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23633 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "percent", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 arg2
= (int) SWIG_AsInt(obj1
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->SetZoom(arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (int)(arg1
)->GetZoom();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_FromInt((int)result
);
23688 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (int)(arg1
)->GetMaxPage();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_FromInt((int)result
);
23714 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (int)(arg1
)->GetMinPage();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_FromInt((int)result
);
23740 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (bool)(arg1
)->Ok();
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23768 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "self",(char *) "ok", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23781 arg2
= (bool) SWIG_AsBool(obj1
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 (arg1
)->SetOk(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 Py_INCREF(Py_None
); resultobj
= Py_None
;
23797 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self",(char *) "interactive", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23811 arg2
= (bool) SWIG_AsBool(obj1
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (bool)(arg1
)->Print(arg2
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23829 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 (arg1
)->DetermineScaling();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 Py_INCREF(Py_None
); resultobj
= Py_None
;
23854 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23857 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23859 return Py_BuildValue((char *)"");
23861 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23862 PyObject
*resultobj
;
23863 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23864 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23865 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23866 wxPyPrintPreview
*result
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23871 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 if (!wxPyCheckForApp()) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23895 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23896 PyObject
*resultobj
;
23897 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23898 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23899 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23900 wxPyPrintPreview
*result
;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 PyObject
* obj2
= 0 ;
23905 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23910 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 if (!wxPyCheckForApp()) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23927 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23932 argc
= PyObject_Length(args
);
23933 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23934 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23936 if ((argc
>= 2) && (argc
<= 3)) {
23940 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23950 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23959 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23963 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23971 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24000 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24008 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24014 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24019 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24022 PyObject
*arg2
= (PyObject
*) 0 ;
24023 PyObject
*arg3
= (PyObject
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 PyObject
* obj2
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "self",(char *) "_class", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 Py_INCREF(Py_None
); resultobj
= Py_None
;
24050 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 char *kwnames
[] = {
24058 (char *) "self",(char *) "pageNum", NULL
24061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24064 arg2
= (int) SWIG_AsInt(obj1
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24082 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24085 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 PyObject
* obj1
= 0 ;
24090 PyObject
* obj2
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24103 if (arg3
== NULL
) {
24104 PyErr_SetString(PyExc_TypeError
,"null reference");
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24126 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 PyObject
* obj2
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24144 if (arg3
== NULL
) {
24145 PyErr_SetString(PyExc_TypeError
,"null reference");
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24164 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "pageNum", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 arg2
= (int) SWIG_AsInt(obj1
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "percent", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 arg2
= (int) SWIG_AsInt(obj1
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 (arg1
)->base_SetZoom(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "interactive", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 arg2
= (bool) SWIG_AsBool(obj1
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (bool)(arg1
)->base_Print(arg2
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24257 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24259 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 (arg1
)->base_DetermineScaling();
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 Py_INCREF(Py_None
); resultobj
= Py_None
;
24282 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24285 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24287 return Py_BuildValue((char *)"");
24289 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24292 wxFrame
*arg2
= (wxFrame
*) 0 ;
24293 wxString
*arg3
= 0 ;
24294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24298 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24299 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24301 wxPyPreviewFrame
*result
;
24302 bool temp3
= False
;
24305 bool temp7
= False
;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 PyObject
* obj4
= 0 ;
24311 PyObject
* obj5
= 0 ;
24312 PyObject
* obj6
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 arg3
= wxString_in_helper(obj2
);
24324 if (arg3
== NULL
) SWIG_fail
;
24330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24340 arg6
= (long) SWIG_AsLong(obj5
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24345 arg7
= wxString_in_helper(obj6
);
24346 if (arg7
== NULL
) SWIG_fail
;
24351 if (!wxPyCheckForApp()) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24381 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24384 PyObject
*arg2
= (PyObject
*) 0 ;
24385 PyObject
*arg3
= (PyObject
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "self",(char *) "_class", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24415 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self",(char *) "canvas", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 (arg1
)->SetPreviewCanvas(arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 Py_INCREF(Py_None
); resultobj
= Py_None
;
24441 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24444 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self",(char *) "bar", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->SetControlBar(arg2
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24473 PyObject
* obj0
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->base_Initialize();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 (arg1
)->base_CreateCanvas();
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 Py_INCREF(Py_None
); resultobj
= Py_None
;
24520 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 (arg1
)->base_CreateControlBar();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 Py_INCREF(Py_None
); resultobj
= Py_None
;
24545 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24548 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24550 return Py_BuildValue((char *)"");
24552 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24556 wxWindow
*arg3
= (wxWindow
*) 0 ;
24557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24561 long arg6
= (long) 0 ;
24562 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24564 wxPyPreviewControlBar
*result
;
24567 bool temp7
= False
;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 PyObject
* obj2
= 0 ;
24571 PyObject
* obj3
= 0 ;
24572 PyObject
* obj4
= 0 ;
24573 PyObject
* obj5
= 0 ;
24574 PyObject
* obj6
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 arg2
= (long) SWIG_AsLong(obj1
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24584 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24595 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24599 arg6
= (long) SWIG_AsLong(obj5
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24604 arg7
= wxString_in_helper(obj6
);
24605 if (arg7
== NULL
) SWIG_fail
;
24610 if (!wxPyCheckForApp()) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24632 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24635 PyObject
*arg2
= (PyObject
*) 0 ;
24636 PyObject
*arg3
= (PyObject
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 PyObject
* obj2
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "self",(char *) "_class", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 Py_INCREF(Py_None
); resultobj
= Py_None
;
24663 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24666 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "self",(char *) "preview", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->SetPrintPreview(arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 Py_INCREF(Py_None
); resultobj
= Py_None
;
24692 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->base_CreateButtons();
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 Py_INCREF(Py_None
); resultobj
= Py_None
;
24717 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "zoom", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 arg2
= (int) SWIG_AsInt(obj1
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->base_SetZoomControl(arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24749 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24751 return Py_BuildValue((char *)"");
24753 static PyMethodDef SwigMethods
[] = {
24754 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24760 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24775 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24776 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24785 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24801 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24825 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24837 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24841 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24845 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24850 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24866 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24894 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24901 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24924 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24932 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24944 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24950 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24959 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24965 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24968 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24971 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24975 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24993 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25019 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25027 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25031 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25033 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25042 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25045 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25052 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25070 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25074 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25079 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25083 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25099 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25102 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25104 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25108 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25117 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25126 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25132 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25144 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25151 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25155 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25181 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25207 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25233 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25234 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25279 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25280 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25311 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25315 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25316 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25349 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25354 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25365 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25388 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25390 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25396 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25406 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25407 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25430 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25431 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25440 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25448 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25458 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25460 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25461 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25463 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25466 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25467 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25469 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25470 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25472 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25473 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25475 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25476 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25478 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25479 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25481 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25482 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25484 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25485 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25487 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25490 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25493 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25494 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25496 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25499 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25500 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25502 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25503 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25505 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25508 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25509 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25511 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25512 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25514 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25515 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25517 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25518 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25520 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25521 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25523 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25524 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25526 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25527 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25529 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25530 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25532 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25535 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25536 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25538 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25539 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25541 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25542 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25544 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25545 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25547 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25548 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25550 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25551 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25553 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25556 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25559 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25560 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25562 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25563 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25565 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25566 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25568 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25571 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25572 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25574 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25575 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25577 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25578 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25580 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25581 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25583 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25584 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25586 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25587 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25589 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25592 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25599 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25602 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25605 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25608 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25610 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25613 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25616 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25619 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25622 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25625 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25628 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25631 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25634 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25637 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25640 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25643 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25646 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25647 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25649 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25652 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25655 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25658 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25661 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25662 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25664 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25667 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25670 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25673 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25676 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25679 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25682 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25685 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25688 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25689 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25691 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25694 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25697 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25700 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25703 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25706 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25709 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25712 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25713 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25715 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25718 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25721 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25724 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25727 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25730 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25733 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25736 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25740 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25742 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25743 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25745 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25746 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25748 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25749 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25751 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25752 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25754 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25755 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25757 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25758 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25760 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25761 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25763 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25764 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25766 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25769 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25772 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25775 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25778 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25781 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25784 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25787 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25793 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25796 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) ((wxSizer
*) x
));
25799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25805 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25808 static void *_p_wxEventTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) ((wxEvent
*) x
));
25811 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) ((wxFontData
*) x
));
25814 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25820 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25826 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25829 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25832 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25835 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25838 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25841 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25844 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25847 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25850 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25853 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25856 static void *_p_wxControlTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25859 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25862 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25865 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25866 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25868 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25871 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25874 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25877 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25878 return (void *)((wxObject
*) ((wxColourData
*) x
));
25880 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25881 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25883 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25886 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25889 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25892 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25895 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25898 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25901 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25904 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25907 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25910 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25913 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25914 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25916 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25917 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25919 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25920 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25922 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25923 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25925 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25928 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25929 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25931 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25932 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25934 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25935 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25937 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25938 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25940 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25941 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25943 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25944 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25946 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25949 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25952 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25955 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25958 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25961 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25964 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25967 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25968 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25970 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25971 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25973 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25976 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25977 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25979 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25982 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25983 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25985 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25986 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25988 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25991 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25994 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25997 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26000 static void *_p_wxImageTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) ((wxImage
*) x
));
26003 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26006 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26009 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26012 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26015 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26018 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26021 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26024 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26027 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26030 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26033 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26036 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26039 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26042 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26045 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26048 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26051 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26054 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26057 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26060 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26063 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26066 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26069 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26072 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26075 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26078 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26079 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26081 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26082 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26084 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26087 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26090 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26093 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26096 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26099 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26102 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26105 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26106 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26108 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26111 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26112 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26114 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26115 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26117 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26118 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26120 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26121 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26123 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26124 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26126 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26129 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26130 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26132 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26135 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26138 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26139 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26141 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26142 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26144 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26147 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26150 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26151 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26153 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26154 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26156 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26159 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26160 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26162 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26163 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26165 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26166 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26168 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26169 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26171 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26172 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26174 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26175 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26177 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26178 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26180 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26181 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26183 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26184 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26186 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26189 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26190 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26192 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26193 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26195 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26196 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26198 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26199 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26201 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26202 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26204 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26205 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26207 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26208 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26210 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26211 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26213 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26214 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26216 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26217 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26219 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26220 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26222 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26223 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26225 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26226 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26228 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26229 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26231 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26232 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26234 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26235 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26237 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26240 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26241 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26243 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26244 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26246 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26247 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26249 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26252 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26255 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26258 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26261 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26264 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26267 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26270 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26271 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26273 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26274 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26276 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26277 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26279 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26280 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26282 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26285 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26286 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26288 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26289 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26291 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26292 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26294 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26295 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26297 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26298 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26300 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26301 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26303 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26304 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26306 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26307 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26309 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26310 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26312 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26313 return (void *)((wxWindow
*) ((wxControl
*) x
));
26315 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26316 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26318 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26321 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26322 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26324 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26325 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26327 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26328 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26330 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26331 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26333 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26334 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26336 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26337 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26339 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26340 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26342 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26343 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26345 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26346 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26348 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26349 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26351 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26352 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26354 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26357 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26358 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26360 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26363 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26366 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26369 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26370 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26372 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26373 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26375 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26376 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26378 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26379 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26381 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26382 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26384 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26385 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26387 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26388 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26390 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26391 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26393 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26394 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26396 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26397 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26399 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26400 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26402 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26403 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26405 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26406 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26408 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26409 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26411 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26412 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26414 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26415 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26417 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26418 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26420 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26421 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26423 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26424 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26426 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26427 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26429 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26430 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26432 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26433 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26435 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26436 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26438 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26439 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26441 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26442 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26444 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26445 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26447 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26448 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26450 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26451 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26453 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26454 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26456 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26457 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26459 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26460 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26462 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26463 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26465 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26466 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26468 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26469 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26471 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26472 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484 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}};
26485 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}};
26486 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}};
26487 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}};
26488 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}};
26489 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}};
26490 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}};
26491 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}};
26492 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}};
26493 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}};
26494 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}};
26495 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}};
26496 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}};
26497 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}};
26498 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}};
26499 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}};
26500 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}};
26501 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}};
26502 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}};
26503 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}};
26504 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}};
26505 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}};
26506 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}};
26507 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}};
26508 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}};
26509 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}};
26510 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}};
26511 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}};
26512 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}};
26513 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}};
26514 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}};
26515 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}};
26516 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}};
26517 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}};
26518 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}};
26519 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}};
26520 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}};
26521 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}};
26522 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}};
26523 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}};
26524 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}};
26525 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}};
26526 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}};
26527 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}};
26528 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}};
26529 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}};
26530 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}};
26531 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}};
26532 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}};
26533 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}};
26534 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}};
26535 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}};
26536 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}};
26537 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}};
26538 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}};
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26561 static swig_type_info
*swig_types_initial
[] = {
26562 _swigt__p_wxQueryLayoutInfoEvent
,
26563 _swigt__p_wxPreviewFrame
,
26564 _swigt__p_wxPyPreviewFrame
,
26565 _swigt__p_wxPyPanel
,
26567 _swigt__p_wxFontData
,
26569 _swigt__p_wxPrintData
,
26570 _swigt__p_wxTaskBarIcon
,
26571 _swigt__p_wxIconBundle
,
26572 _swigt__p_wxLayoutAlgorithm
,
26573 _swigt__p_wxFindDialogEvent
,
26574 _swigt__p_wxPreviewCanvas
,
26576 _swigt__p_wxSplitterEvent
,
26577 _swigt__p_wxRegion
,
26578 _swigt__p_wxFindReplaceData
,
26583 _swigt__p_wxVisualAttributes
,
26584 _swigt__p_wxMDIChildFrame
,
26585 _swigt__p_wxColourData
,
26586 _swigt__p_wxNotifyEvent
,
26587 _swigt__p_wxPyWindow
,
26588 _swigt__p_wxSplashScreen
,
26589 _swigt__p_wxFindReplaceDialog
,
26590 _swigt__p_wxProgressDialog
,
26591 _swigt__p_wxMessageDialog
,
26592 _swigt__p_wxTextEntryDialog
,
26593 _swigt__p_wxSingleChoiceDialog
,
26594 _swigt__p_wxMultiChoiceDialog
,
26595 _swigt__p_wxFileDialog
,
26596 _swigt__p_wxPrinter
,
26597 _swigt__p_wxArrayInt
,
26598 _swigt__p_wxEvtHandler
,
26599 _swigt__p_wxCalculateLayoutEvent
,
26600 _swigt__p_wxPyHtmlListBox
,
26601 _swigt__p_wxPyVListBox
,
26604 _swigt__p_wxMiniFrame
,
26606 _swigt__p_wxPyPrintout
,
26607 _swigt__p_wxTaskBarIconEvent
,
26608 _swigt__p_wxScrollWinEvent
,
26609 _swigt__p_wxStatusBar
,
26610 _swigt__p_wxMDIParentFrame
,
26612 _swigt__p_wxObject
,
26613 _swigt__p_wxOutputStream
,
26614 _swigt__p_wxPyScrolledWindow
,
26615 _swigt__p_wxMDIClientWindow
,
26616 _swigt__p_wxTipWindow
,
26617 _swigt__p_wxPyPopupTransientWindow
,
26618 _swigt__p_wxSashLayoutWindow
,
26619 _swigt__p_wxSplitterWindow
,
26620 _swigt__p_wxSplashScreenWindow
,
26621 _swigt__p_wxPyVScrolledWindow
,
26622 _swigt__p_wxPopupWindow
,
26623 _swigt__p_wxSashWindow
,
26624 _swigt__p_wxTopLevelWindow
,
26625 _swigt__p_wxWindow
,
26626 _swigt__p_wxScrolledWindow
,
26627 _swigt__p_wxMenuBar
,
26628 _swigt__p_wxPrintPreview
,
26629 _swigt__p_wxSashEvent
,
26630 _swigt__p_wxString
,
26631 _swigt__p_wxPyPrintPreview
,
26632 _swigt__p_wxFontDialog
,
26633 _swigt__p_wxDirDialog
,
26634 _swigt__p_wxColourDialog
,
26635 _swigt__p_wxDialog
,
26637 _swigt__p_wxPageSetupDialog
,
26638 _swigt__p_wxPrintDialog
,
26639 _swigt__p_wxFileSystem
,
26640 _swigt__p_wxBitmap
,
26641 _swigt__p_wxCommandEvent
,
26642 _swigt__p_wxPreviewControlBar
,
26643 _swigt__p_wxPyPreviewControlBar
,
26644 _swigt__p_wxColour
,
26645 _swigt__p_wxToolBar
,
26646 _swigt__p_wxPageSetupDialogData
,
26647 _swigt__p_wxPrintDialogData
,
26652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26654 static swig_const_info swig_const_table
[] = {
26664 SWIGEXPORT(void) SWIG_init(void) {
26665 static PyObject
*SWIG_globals
= 0;
26666 static int typeinit
= 0;
26669 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26670 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26671 d
= PyModule_GetDict(m
);
26674 for (i
= 0; swig_types_initial
[i
]; i
++) {
26675 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26679 SWIG_InstallConstants(d
,swig_const_table
);
26681 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26682 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26683 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26684 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26685 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26686 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26687 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26688 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26689 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26690 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26691 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26692 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26693 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26694 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26695 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26696 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26697 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26698 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26699 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26700 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26701 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26702 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26703 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26704 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26705 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26706 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26707 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26708 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26709 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26710 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26711 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26712 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26713 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26714 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26715 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26716 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26717 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26718 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26719 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26720 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26721 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26722 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26723 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26724 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26725 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26726 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26727 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26728 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26729 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26730 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26731 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26732 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26733 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26734 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26735 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26736 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26737 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26738 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26739 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26740 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26741 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26742 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26743 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26744 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26745 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26746 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26747 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26748 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26749 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26750 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26751 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26752 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26753 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26754 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26755 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26756 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26757 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26758 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26759 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26760 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26761 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26762 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26763 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26764 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26765 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26766 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26767 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26768 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26769 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26770 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26771 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26772 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26773 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26775 // Map renamed classes back to their common name for OOR
26776 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26777 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26778 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26780 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26781 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26782 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26783 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26784 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26785 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26786 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26787 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26788 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26789 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26790 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26791 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26792 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26793 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26794 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26795 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26796 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26797 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26798 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26799 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26800 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26801 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26802 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26803 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26804 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26805 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26806 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26807 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26808 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26809 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26810 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26811 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26812 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26813 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26814 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26815 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26816 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26817 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26818 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26819 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26820 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26821 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26822 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26823 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26824 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26825 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26826 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26827 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26828 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26829 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26830 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26831 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26832 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26833 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26834 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26835 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26836 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26837 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26838 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26839 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26841 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");