1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
304 #define SWIG_name "_windows"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject
* obj
)
430 if (PyErr_Occurred()) {
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject
*obj
)
442 return PyObject_IsTrue(obj
) ? true : false;
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject
* obj
)
450 if (PyErr_Occurred()) {
459 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
465 } else if (target
== Py_None
) {
469 if (!PyTuple_Check(target
)) {
471 target
= PyTuple_New(1);
472 PyTuple_SetItem(target
, 0, o2
);
475 PyTuple_SetItem(o3
, 0, o
);
478 target
= PySequence_Concat(o2
, o3
);
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject
*obj
)
489 if (PyNumber_Check(obj
))
490 return PyFloat_AsDouble(obj
);
492 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
493 obj
->ob_type
->tp_name
);
494 PyErr_SetObject(PyExc_TypeError
, errmsg
);
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject
* obj
)
505 if (PyErr_Occurred()) {
513 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
514 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
515 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
516 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
517 bool wxDialog_IsModalShowing(wxDialog
*self
){
519 return self
->m_modalShowing
;
526 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
528 self
->GetFieldRect(i
, r
);
531 static const wxString
wxPySplitterNameStr(wxT("splitter"));
532 static const wxString
wxPySashNameStr(wxT("sashWindow"));
533 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
535 #include <wx/popupwin.h>
538 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
543 : wxPopupTransientWindow(parent
, style
) {}
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
546 DEC_PYCALLBACK__(OnDismiss
);
547 DEC_PYCALLBACK_BOOL_(CanDismiss
);
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
557 #include <wx/tipwin.h>
559 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
560 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
563 #include <wx/tipwin.h>
566 #include <wx/vscroll.h>
569 class wxPyVScrolledWindow
: public wxVScrolledWindow
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
575 wxPyVScrolledWindow(wxWindow
*parent
,
576 wxWindowID id
= wxID_ANY
,
577 const wxPoint
& pos
= wxDefaultPosition
,
578 const wxSize
& size
= wxDefaultSize
,
580 const wxString
& name
= wxPyPanelNameStr
)
581 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
584 // Overridable virtuals
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
613 // this function should return the best guess for the total height it may
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
618 // Also expose some other interesting protected methods
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
642 SWIGSTATICINLINE(unsigned long)
643 SWIG_AsUnsignedLong(PyObject
* obj
)
645 if (PyLong_Check(obj
)) {
646 return PyLong_AsUnsignedLong(obj
);
648 long i
= SWIG_AsLong(obj
);
649 if ( !PyErr_Occurred() && (i
< 0)) {
650 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
657 SWIGSTATICINLINE(int)
658 SWIG_CheckUnsignedLong(PyObject
* obj
)
660 SWIG_AsUnsignedLong(obj
);
661 if (PyErr_Occurred()) {
670 SWIGSTATICINLINE(PyObject
* )
671 SWIG_FromUnsignedLong(unsigned long value
)
673 return (value
> LONG_MAX
) ?
674 PyLong_FromUnsignedLong(value
)
675 : PyInt_FromLong(swig_numeric_cast(long,value
));
679 #include <wx/vlbox.h>
681 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
683 class wxPyVListBox
: public wxVListBox
685 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
687 wxPyVListBox() : wxVListBox() {}
689 wxPyVListBox(wxWindow
*parent
,
690 wxWindowID id
= wxID_ANY
,
691 const wxPoint
& pos
= wxDefaultPosition
,
692 const wxSize
& size
= wxDefaultSize
,
694 const wxString
& name
= wxPyVListBoxNameStr
)
695 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
698 // Overridable virtuals
700 // the derived class must implement this function to actually draw the item
701 // with the given index on the provided DC
702 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
703 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
706 // the derived class must implement this method to return the height of the
708 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
709 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
712 // this method may be used to draw separators between the lines; note that
713 // the rectangle may be modified, typically to deflate it a bit before
714 // passing to OnDrawItem()
716 // the base class version doesn't do anything
717 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
721 // this method is used to draw the items background and, maybe, a border
724 // the base class version implements a reasonable default behaviour which
725 // consists in drawing the selected item with the standard background
726 // colour and drawing a border around the item if it is either selected or
728 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
729 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
735 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
737 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
738 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
739 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
740 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
744 #include <wx/htmllbox.h>
747 class wxPyHtmlListBox
: public wxHtmlListBox
749 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
751 wxPyHtmlListBox() : wxHtmlListBox() {}
753 wxPyHtmlListBox(wxWindow
*parent
,
754 wxWindowID id
= wxID_ANY
,
755 const wxPoint
& pos
= wxDefaultPosition
,
756 const wxSize
& size
= wxDefaultSize
,
758 const wxString
& name
= wxPyVListBoxNameStr
)
759 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
762 // Overridable virtuals
764 // this method must be implemented in the derived class and should return
765 // the body (i.e. without <html>) of the HTML for the given item
766 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
768 // this function may be overridden to decorate HTML returned by OnGetItem()
769 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
772 // // this method allows to customize the selection appearance: it may be used
773 // // to specify the colour of the text which normally has the given colour
774 // // colFg when it is inside the selection
776 // // by default, the original colour is not used at all and all text has the
777 // // same (default for this system) colour inside selection
778 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
780 // // this is the same as GetSelectedTextColour() but allows to customize the
781 // // background colour -- this is even more rarely used as you can change it
782 // // globally using SetSelectionBackground()
783 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
790 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
792 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
793 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
800 // implement dummy classes and such for wxMac
802 class wxTaskBarIcon
: public wxEvtHandler
805 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
809 class wxTaskBarIconEvent
: public wxEvent
812 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
813 { wxPyRaiseNotImplemented(); }
814 virtual wxEvent
* Clone() const { return NULL
; }
818 wxEVT_TASKBAR_MOVE
= 0,
819 wxEVT_TASKBAR_LEFT_DOWN
= 0,
820 wxEVT_TASKBAR_LEFT_UP
= 0,
821 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
822 wxEVT_TASKBAR_RIGHT_UP
= 0,
823 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
824 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
828 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
833 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
834 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
835 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
836 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
837 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
838 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
839 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
841 self
->GetFilenames(arr
);
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
847 return wxArrayString2PyList_helper(arr
);
849 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
850 return wxArrayInt2PyList_helper(self
->GetSelections());
852 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
853 return new wxSingleChoiceDialog(parent
, message
, caption
,
854 choices
, choices_array
, NULL
, style
, pos
);
859 // C++ version of Python aware wxWindow
860 class wxPyWindow
: public wxWindow
862 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
864 wxPyWindow() : wxWindow() {}
865 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
866 const wxPoint
& pos
= wxDefaultPosition
,
867 const wxSize
& size
= wxDefaultSize
,
869 const wxString
& name
= wxPyPanelNameStr
)
870 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
873 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
874 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
875 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
876 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
878 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
879 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
880 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
882 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
883 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
885 DEC_PYCALLBACK__(InitDialog
);
886 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
887 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
888 DEC_PYCALLBACK_BOOL_(Validate
);
890 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
891 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
892 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
894 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
895 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
897 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
898 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
903 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
905 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
906 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
915 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
917 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
920 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
922 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
923 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
924 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
929 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
930 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
933 // C++ version of Python aware wxPanel
934 class wxPyPanel
: public wxPanel
936 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
938 wxPyPanel() : wxPanel() {}
939 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
940 const wxPoint
& pos
= wxDefaultPosition
,
941 const wxSize
& size
= wxDefaultSize
,
943 const wxString
& name
= wxPyPanelNameStr
)
944 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
959 DEC_PYCALLBACK__(InitDialog
);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
962 DEC_PYCALLBACK_BOOL_(Validate
);
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
971 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
977 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
979 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
980 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
981 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
984 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
991 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
996 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
998 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1000 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1003 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1004 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1006 // C++ version of Python aware wxScrolledWindow
1007 class wxPyScrolledWindow
: public wxScrolledWindow
1009 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1011 wxPyScrolledWindow() : wxScrolledWindow() {}
1012 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1013 const wxPoint
& pos
= wxDefaultPosition
,
1014 const wxSize
& size
= wxDefaultSize
,
1016 const wxString
& name
= wxPyPanelNameStr
)
1017 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1020 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1021 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1023 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1027 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1029 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1030 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1032 DEC_PYCALLBACK__(InitDialog
);
1033 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1034 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1035 DEC_PYCALLBACK_BOOL_(Validate
);
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1038 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1039 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1041 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1042 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1044 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1045 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1064 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1076 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1080 #include "wx/wxPython/printfw.h"
1083 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1084 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1088 // Since this one would be tough and ugly to do with the Macros...
1089 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1090 bool hadErr
= False
;
1093 bool blocked
= wxPyBeginBlockThreads();
1094 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1095 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1096 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1099 val
= PyTuple_GetItem(result
, 0);
1100 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1103 val
= PyTuple_GetItem(result
, 1);
1104 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1107 val
= PyTuple_GetItem(result
, 2);
1108 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1111 val
= PyTuple_GetItem(result
, 3);
1112 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1119 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1124 wxPyEndBlockThreads(blocked
);
1126 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1129 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1130 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1134 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1135 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1136 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1137 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1138 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1139 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1140 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1146 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1147 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1148 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1151 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1152 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1155 bool blocked = wxPyBeginBlockThreads(); \
1156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1157 PyObject* win = wxPyMake_wxObject(a); \
1158 PyObject* dc = wxPyMake_wxObject(&b); \
1159 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1163 wxPyEndBlockThreads(blocked); \
1165 rval = PCLASS::CBNAME(a, b); \
1168 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1169 return PCLASS::CBNAME(a, b); \
1175 class wxPyPrintPreview
: public wxPrintPreview
1177 DECLARE_CLASS(wxPyPrintPreview
)
1179 wxPyPrintPreview(wxPyPrintout
* printout
,
1180 wxPyPrintout
* printoutForPrinting
,
1181 wxPrintDialogData
* data
=NULL
)
1182 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1184 wxPyPrintPreview(wxPyPrintout
* printout
,
1185 wxPyPrintout
* printoutForPrinting
,
1186 wxPrintData
* data
=NULL
)
1187 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1190 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1191 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1192 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1193 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1194 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1195 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1196 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1201 // Stupid renamed classes... Fix this in 2.5...
1202 #if defined(__WXMSW__)
1203 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1204 #elif defined(__WXMAC__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1207 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1210 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1211 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1212 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1213 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1214 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1215 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1216 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1219 class wxPyPreviewFrame
: public wxPreviewFrame
1221 DECLARE_CLASS(wxPyPreviewFrame
);
1223 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1224 const wxString
& title
,
1225 const wxPoint
& pos
= wxDefaultPosition
,
1226 const wxSize
& size
= wxDefaultSize
,
1227 long style
= wxDEFAULT_FRAME_STYLE
,
1228 const wxString
& name
= wxPyFrameNameStr
)
1229 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1232 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1233 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1235 DEC_PYCALLBACK_VOID_(Initialize
);
1236 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1237 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1242 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1244 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1245 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1249 class wxPyPreviewControlBar
: public wxPreviewControlBar
1251 DECLARE_CLASS(wxPyPreviewControlBar
);
1253 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1256 const wxPoint
& pos
= wxDefaultPosition
,
1257 const wxSize
& size
= wxDefaultSize
,
1259 const wxString
& name
= wxPyPanelNameStr
)
1260 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1263 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1265 DEC_PYCALLBACK_VOID_(CreateButtons
);
1266 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1271 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1272 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1273 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1278 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxWindow
*arg1
= (wxWindow
*) 0 ;
1281 int arg2
= (int) (int)-1 ;
1282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1286 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1287 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1292 bool temp6
= False
;
1293 PyObject
* obj0
= 0 ;
1294 PyObject
* obj1
= 0 ;
1295 PyObject
* obj2
= 0 ;
1296 PyObject
* obj3
= 0 ;
1297 PyObject
* obj4
= 0 ;
1298 PyObject
* obj5
= 0 ;
1300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1307 arg2
= (int const) SWIG_AsInt(obj1
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1319 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1323 arg5
= (long) SWIG_AsLong(obj4
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 arg6
= wxString_in_helper(obj5
);
1329 if (arg6
== NULL
) SWIG_fail
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1355 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 result
= (wxPanel
*)new wxPanel();
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1377 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxPanel
*arg1
= (wxPanel
*) 0 ;
1380 wxWindow
*arg2
= (wxWindow
*) 0 ;
1381 int arg3
= (int) (int)-1 ;
1382 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1383 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1384 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1385 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1386 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1387 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1388 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1392 bool temp7
= False
;
1393 PyObject
* obj0
= 0 ;
1394 PyObject
* obj1
= 0 ;
1395 PyObject
* obj2
= 0 ;
1396 PyObject
* obj3
= 0 ;
1397 PyObject
* obj4
= 0 ;
1398 PyObject
* obj5
= 0 ;
1399 PyObject
* obj6
= 0 ;
1401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1410 arg3
= (int const) SWIG_AsInt(obj2
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1426 arg6
= (long) SWIG_AsLong(obj5
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1431 arg7
= wxString_in_helper(obj6
);
1432 if (arg7
== NULL
) SWIG_fail
;
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1460 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxPanel
*arg1
= (wxPanel
*) 0 ;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "self", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 (arg1
)->InitDialog();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 Py_INCREF(Py_None
); resultobj
= Py_None
;
1485 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1488 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1490 return Py_BuildValue((char *)"");
1492 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxWindow
*arg1
= (wxWindow
*) 0 ;
1495 int arg2
= (int) (int)-1 ;
1496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1500 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1501 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1503 wxScrolledWindow
*result
;
1506 bool temp6
= False
;
1507 PyObject
* obj0
= 0 ;
1508 PyObject
* obj1
= 0 ;
1509 PyObject
* obj2
= 0 ;
1510 PyObject
* obj3
= 0 ;
1511 PyObject
* obj4
= 0 ;
1512 PyObject
* obj5
= 0 ;
1514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1521 arg2
= (int const) SWIG_AsInt(obj1
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1537 arg5
= (long) SWIG_AsLong(obj4
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1542 arg6
= wxString_in_helper(obj5
);
1543 if (arg6
== NULL
) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1569 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1571 wxScrolledWindow
*result
;
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1591 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1594 wxWindow
*arg2
= (wxWindow
*) 0 ;
1595 int arg3
= (int) (int)-1 ;
1596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1600 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1601 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1606 bool temp7
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1613 PyObject
* obj6
= 0 ;
1615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1624 arg3
= (int const) SWIG_AsInt(obj2
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1640 arg6
= (long) SWIG_AsLong(obj5
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1645 arg7
= wxString_in_helper(obj6
);
1646 if (arg7
== NULL
) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1674 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1681 int arg6
= (int) 0 ;
1682 int arg7
= (int) 0 ;
1683 bool arg8
= (bool) False
;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1686 PyObject
* obj2
= 0 ;
1687 PyObject
* obj3
= 0 ;
1688 PyObject
* obj4
= 0 ;
1689 PyObject
* obj5
= 0 ;
1690 PyObject
* obj6
= 0 ;
1691 PyObject
* obj7
= 0 ;
1693 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1701 arg3
= (int) SWIG_AsInt(obj2
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1703 arg4
= (int) SWIG_AsInt(obj3
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1705 arg5
= (int) SWIG_AsInt(obj4
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 arg6
= (int) SWIG_AsInt(obj5
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1712 arg7
= (int) SWIG_AsInt(obj6
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1716 arg8
= (bool) SWIG_AsBool(obj7
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1726 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1735 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1739 PyObject
* obj1
= 0 ;
1740 PyObject
* obj2
= 0 ;
1742 (char *) "self",(char *) "x",(char *) "y", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 arg2
= (int) SWIG_AsInt(obj1
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1750 arg3
= (int) SWIG_AsInt(obj2
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->Scroll(arg2
,arg3
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1771 PyObject
* obj0
= 0 ;
1772 PyObject
* obj1
= 0 ;
1774 (char *) "self",(char *) "orient", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1780 arg2
= (int) SWIG_AsInt(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 resultobj
= SWIG_FromInt((int)result
);
1796 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1803 PyObject
* obj2
= 0 ;
1805 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1811 arg2
= (int) SWIG_AsInt(obj1
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1813 arg3
= (int) SWIG_AsInt(obj2
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 Py_INCREF(Py_None
); resultobj
= Py_None
;
1829 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
*resultobj
;
1831 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1836 PyObject
* obj2
= 0 ;
1838 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 arg2
= (int) SWIG_AsInt(obj1
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1846 arg3
= (int) SWIG_AsInt(obj2
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 (arg1
)->SetScrollRate(arg2
,arg3
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1862 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1865 int *arg2
= (int *) 0 ;
1866 int *arg3
= (int *) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 Py_INCREF(Py_None
); resultobj
= Py_None
;
1888 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1889 resultobj
= t_output_helper(resultobj
,o
);
1892 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1893 resultobj
= t_output_helper(resultobj
,o
);
1901 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1907 PyObject
* obj1
= 0 ;
1908 PyObject
* obj2
= 0 ;
1910 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1916 arg2
= (bool) SWIG_AsBool(obj1
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1918 arg3
= (bool) SWIG_AsBool(obj2
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 (arg1
)->EnableScrolling(arg2
,arg3
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1937 int *arg2
= (int *) 0 ;
1938 int *arg3
= (int *) 0 ;
1941 PyObject
* obj0
= 0 ;
1943 (char *) "self", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1961 resultobj
= t_output_helper(resultobj
,o
);
1964 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1965 resultobj
= t_output_helper(resultobj
,o
);
1973 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1979 PyObject
* obj1
= 0 ;
1980 PyObject
* obj2
= 0 ;
1982 (char *) "self",(char *) "xs",(char *) "ys", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1988 arg2
= (double) SWIG_AsDouble(obj1
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1990 arg3
= (double) SWIG_AsDouble(obj2
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetScale(arg2
,arg3
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2012 (char *) "self", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= SWIG_FromDouble((double)result
);
2032 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= SWIG_FromDouble((double)result
);
2058 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2059 PyObject
*resultobj
;
2060 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2065 PyObject
* obj1
= 0 ;
2067 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2082 wxPoint
* resultptr
;
2083 resultptr
= new wxPoint((wxPoint
&) result
);
2084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2092 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2093 PyObject
*resultobj
;
2094 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2097 int *arg4
= (int *) 0 ;
2098 int *arg5
= (int *) 0 ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2103 PyObject
* obj2
= 0 ;
2107 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2110 arg2
= (int) SWIG_AsInt(obj1
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2112 arg3
= (int) SWIG_AsInt(obj2
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 Py_INCREF(Py_None
); resultobj
= Py_None
;
2123 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2124 resultobj
= t_output_helper(resultobj
,o
);
2127 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2128 resultobj
= t_output_helper(resultobj
,o
);
2136 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2141 argc
= PyObject_Length(args
);
2142 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2143 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2158 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2161 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2169 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2177 _v
= SWIG_CheckInt(argv
[1]);
2179 _v
= SWIG_CheckInt(argv
[2]);
2181 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2187 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2192 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2193 PyObject
*resultobj
;
2194 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2199 PyObject
* obj1
= 0 ;
2201 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2216 wxPoint
* resultptr
;
2217 resultptr
= new wxPoint((wxPoint
&) result
);
2218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2226 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2227 PyObject
*resultobj
;
2228 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2231 int *arg4
= (int *) 0 ;
2232 int *arg5
= (int *) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2237 PyObject
* obj2
= 0 ;
2241 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int) SWIG_AsInt(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2246 arg3
= (int) SWIG_AsInt(obj2
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2257 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2258 resultobj
= t_output_helper(resultobj
,o
);
2261 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2262 resultobj
= t_output_helper(resultobj
,o
);
2270 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2275 argc
= PyObject_Length(args
);
2276 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2277 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2283 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2292 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2295 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2311 _v
= SWIG_CheckInt(argv
[1]);
2313 _v
= SWIG_CheckInt(argv
[2]);
2315 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2321 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2326 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2329 PyObject
* obj0
= 0 ;
2331 (char *) "self", NULL
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->AdjustScrollbars();
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2351 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2354 wxScrollWinEvent
*arg2
= 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "event", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2369 PyErr_SetString(PyExc_TypeError
,"null reference");
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= SWIG_FromInt((int)result
);
2386 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2389 wxWindow
*arg2
= (wxWindow
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "target", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 (arg1
)->SetTargetWindow(arg2
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 Py_INCREF(Py_None
); resultobj
= Py_None
;
2415 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2421 (char *) "self", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= wxPyMake_wxObject(result
);
2443 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2446 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2448 return Py_BuildValue((char *)"");
2450 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2451 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2456 static PyObject
*_wrap_FrameNameStr_get() {
2461 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2463 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2470 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2471 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2476 static PyObject
*_wrap_DialogNameStr_get() {
2481 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2483 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2490 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2491 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2496 static PyObject
*_wrap_StatusLineNameStr_get() {
2501 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2503 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2510 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2511 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2516 static PyObject
*_wrap_ToolBarNameStr_get() {
2521 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2523 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2530 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2533 bool arg2
= (bool) True
;
2534 PyObject
* obj0
= 0 ;
2535 PyObject
* obj1
= 0 ;
2537 (char *) "self",(char *) "maximize", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 arg2
= (bool) SWIG_AsBool(obj1
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 (arg1
)->Maximize(arg2
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 Py_INCREF(Py_None
); resultobj
= Py_None
;
2561 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
*resultobj
;
2563 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2564 PyObject
* obj0
= 0 ;
2566 (char *) "self", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 Py_INCREF(Py_None
); resultobj
= Py_None
;
2586 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2589 bool arg2
= (bool) True
;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2593 (char *) "self",(char *) "iconize", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 arg2
= (bool) SWIG_AsBool(obj1
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->Iconize(arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2623 (char *) "self", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2645 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2649 PyObject
* obj0
= 0 ;
2651 (char *) "self", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2673 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2694 resultptr
= new wxIcon((wxIcon
&) result
);
2695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2703 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2707 PyObject
* obj0
= 0 ;
2708 PyObject
* obj1
= 0 ;
2710 (char *) "self",(char *) "icon", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 Py_INCREF(Py_None
); resultobj
= Py_None
;
2737 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2740 wxIconBundle
*arg2
= 0 ;
2741 PyObject
* obj0
= 0 ;
2742 PyObject
* obj1
= 0 ;
2744 (char *) "self",(char *) "icons", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2754 PyErr_SetString(PyExc_TypeError
,"null reference");
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2775 long arg3
= (long) wxFULLSCREEN_ALL
;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2779 PyObject
* obj2
= 0 ;
2781 (char *) "self",(char *) "show",(char *) "style", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2787 arg2
= (bool) SWIG_AsBool(obj1
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 arg3
= (long) SWIG_AsLong(obj2
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2809 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "self", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2840 wxString
*arg2
= 0 ;
2841 bool temp2
= False
;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "title", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2852 arg2
= wxString_in_helper(obj1
);
2853 if (arg2
== NULL
) SWIG_fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 (arg1
)->SetTitle((wxString
const &)*arg2
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 Py_INCREF(Py_None
); resultobj
= Py_None
;
2878 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2910 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2913 wxRegion
*arg2
= 0 ;
2915 PyObject
* obj0
= 0 ;
2916 PyObject
* obj1
= 0 ;
2918 (char *) "self",(char *) "region", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2928 PyErr_SetString(PyExc_TypeError
,"null reference");
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2947 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2950 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2952 return Py_BuildValue((char *)"");
2954 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxWindow
*arg1
= (wxWindow
*) 0 ;
2958 wxString
*arg3
= 0 ;
2959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2963 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2964 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2967 bool temp3
= False
;
2970 bool temp7
= False
;
2971 PyObject
* obj0
= 0 ;
2972 PyObject
* obj1
= 0 ;
2973 PyObject
* obj2
= 0 ;
2974 PyObject
* obj3
= 0 ;
2975 PyObject
* obj4
= 0 ;
2976 PyObject
* obj5
= 0 ;
2977 PyObject
* obj6
= 0 ;
2979 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 arg2
= (int const) SWIG_AsInt(obj1
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2988 arg3
= wxString_in_helper(obj2
);
2989 if (arg3
== NULL
) SWIG_fail
;
2995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3005 arg6
= (long) SWIG_AsLong(obj5
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3010 arg7
= wxString_in_helper(obj6
);
3011 if (arg7
== NULL
) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= wxPyMake_wxObject(result
);
3047 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (wxFrame
*)new wxFrame();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 resultobj
= wxPyMake_wxObject(result
);
3071 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxFrame
*arg1
= (wxFrame
*) 0 ;
3074 wxWindow
*arg2
= (wxWindow
*) 0 ;
3076 wxString
*arg4
= 0 ;
3077 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3078 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3079 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3080 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3081 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3082 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3085 bool temp4
= False
;
3088 bool temp8
= False
;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3092 PyObject
* obj3
= 0 ;
3093 PyObject
* obj4
= 0 ;
3094 PyObject
* obj5
= 0 ;
3095 PyObject
* obj6
= 0 ;
3096 PyObject
* obj7
= 0 ;
3098 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg3
= (int const) SWIG_AsInt(obj2
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 arg4
= wxString_in_helper(obj3
);
3110 if (arg4
== NULL
) SWIG_fail
;
3116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3122 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3126 arg7
= (long) SWIG_AsLong(obj6
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3131 arg8
= wxString_in_helper(obj7
);
3132 if (arg8
== NULL
) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3168 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxFrame
*arg1
= (wxFrame
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 wxPoint
* resultptr
;
3189 resultptr
= new wxPoint((wxPoint
&) result
);
3190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3198 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxFrame
*arg1
= (wxFrame
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "self", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 (arg1
)->SendSizeEvent();
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3216 Py_INCREF(Py_None
); resultobj
= Py_None
;
3223 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxFrame
*arg1
= (wxFrame
*) 0 ;
3226 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3230 (char *) "self",(char *) "menubar", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetMenuBar(arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxFrame
*arg1
= (wxFrame
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= wxPyMake_wxObject(result
);
3280 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxFrame
*arg1
= (wxFrame
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 (char *) "self",(char *) "winid", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 arg2
= (int) SWIG_AsInt(obj1
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3312 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxFrame
*arg1
= (wxFrame
*) 0 ;
3315 int arg2
= (int) 1 ;
3316 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3317 int arg4
= (int) 0 ;
3318 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3319 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3320 wxStatusBar
*result
;
3321 bool temp5
= False
;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3325 PyObject
* obj3
= 0 ;
3326 PyObject
* obj4
= 0 ;
3328 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3335 arg2
= (int) SWIG_AsInt(obj1
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 arg3
= (long) SWIG_AsLong(obj2
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 arg4
= (int) SWIG_AsInt(obj3
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3348 arg5
= wxString_in_helper(obj4
);
3349 if (arg5
== NULL
) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= wxPyMake_wxObject(result
);
3377 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxFrame
*arg1
= (wxFrame
*) 0 ;
3380 wxStatusBar
*result
;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= wxPyMake_wxObject(result
);
3405 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxFrame
*arg1
= (wxFrame
*) 0 ;
3408 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3410 PyObject
* obj1
= 0 ;
3412 (char *) "self",(char *) "statBar", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetStatusBar(arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxFrame
*arg1
= (wxFrame
*) 0 ;
3437 wxString
*arg2
= 0 ;
3438 int arg3
= (int) 0 ;
3439 bool temp2
= False
;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3442 PyObject
* obj2
= 0 ;
3444 (char *) "self",(char *) "text",(char *) "number", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg2
= wxString_in_helper(obj1
);
3452 if (arg2
== NULL
) SWIG_fail
;
3456 arg3
= (int) SWIG_AsInt(obj2
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 Py_INCREF(Py_None
); resultobj
= Py_None
;
3481 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxFrame
*arg1
= (wxFrame
*) 0 ;
3485 int *arg3
= (int *) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3489 (char *) "self",(char *) "widths", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3496 arg2
= PyList_Size(obj1
);
3497 arg3
= int_LIST_helper(obj1
);
3498 if (arg3
== NULL
) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3509 if (arg3
) delete [] arg3
;
3514 if (arg3
) delete [] arg3
;
3520 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxFrame
*arg1
= (wxFrame
*) 0 ;
3523 wxString
*arg2
= 0 ;
3524 int arg3
= (int) 0 ;
3525 bool temp2
= False
;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3528 PyObject
* obj2
= 0 ;
3530 (char *) "self",(char *) "text",(char *) "number", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 arg2
= wxString_in_helper(obj1
);
3538 if (arg2
== NULL
) SWIG_fail
;
3542 arg3
= (int) SWIG_AsInt(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3552 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxFrame
*arg1
= (wxFrame
*) 0 ;
3570 int arg2
= (int) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "self",(char *) "number", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= (int) SWIG_AsInt(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 (arg1
)->PopStatusText(arg2
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxFrame
*arg1
= (wxFrame
*) 0 ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3605 (char *) "self",(char *) "n", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3611 arg2
= (int) SWIG_AsInt(obj1
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 (arg1
)->SetStatusBarPane(arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3620 Py_INCREF(Py_None
); resultobj
= Py_None
;
3627 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxFrame
*arg1
= (wxFrame
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "self", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= SWIG_FromInt((int)result
);
3653 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxFrame
*arg1
= (wxFrame
*) 0 ;
3656 long arg2
= (long) -1 ;
3657 int arg3
= (int) -1 ;
3658 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3661 bool temp4
= False
;
3662 PyObject
* obj0
= 0 ;
3663 PyObject
* obj1
= 0 ;
3664 PyObject
* obj2
= 0 ;
3665 PyObject
* obj3
= 0 ;
3667 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 arg2
= (long) SWIG_AsLong(obj1
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 arg3
= (int) SWIG_AsInt(obj2
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3683 arg4
= wxString_in_helper(obj3
);
3684 if (arg4
== NULL
) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= wxPyMake_wxObject(result
);
3712 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxFrame
*arg1
= (wxFrame
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= wxPyMake_wxObject(result
);
3740 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxFrame
*arg1
= (wxFrame
*) 0 ;
3743 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "toolbar", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 (arg1
)->SetToolBar(arg2
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxFrame
*arg1
= (wxFrame
*) 0 ;
3772 wxString
*arg2
= 0 ;
3774 bool temp2
= False
;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3777 PyObject
* obj2
= 0 ;
3779 (char *) "self",(char *) "text",(char *) "show", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 arg2
= wxString_in_helper(obj1
);
3787 if (arg2
== NULL
) SWIG_fail
;
3790 arg3
= (bool) SWIG_AsBool(obj2
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 Py_INCREF(Py_None
); resultobj
= Py_None
;
3814 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxFrame
*arg1
= (wxFrame
*) 0 ;
3817 wxMenu
*arg2
= (wxMenu
*) NULL
;
3818 PyObject
* obj0
= 0 ;
3819 PyObject
* obj1
= 0 ;
3821 (char *) "self",(char *) "menu", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->DoMenuUpdates(arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3848 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3850 return Py_BuildValue((char *)"");
3852 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxWindow
*arg1
= (wxWindow
*) 0 ;
3856 wxString
*arg3
= 0 ;
3857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3861 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3862 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3865 bool temp3
= False
;
3868 bool temp7
= False
;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3871 PyObject
* obj2
= 0 ;
3872 PyObject
* obj3
= 0 ;
3873 PyObject
* obj4
= 0 ;
3874 PyObject
* obj5
= 0 ;
3875 PyObject
* obj6
= 0 ;
3877 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 arg2
= (int const) SWIG_AsInt(obj1
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 arg3
= wxString_in_helper(obj2
);
3887 if (arg3
== NULL
) SWIG_fail
;
3893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3903 arg6
= (long) SWIG_AsLong(obj5
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3908 arg7
= wxString_in_helper(obj6
);
3909 if (arg7
== NULL
) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3943 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (wxDialog
*)new wxDialog();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3965 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxDialog
*arg1
= (wxDialog
*) 0 ;
3968 wxWindow
*arg2
= (wxWindow
*) 0 ;
3970 wxString
*arg4
= 0 ;
3971 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3972 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3973 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3974 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3975 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3976 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3979 bool temp4
= False
;
3982 bool temp8
= False
;
3983 PyObject
* obj0
= 0 ;
3984 PyObject
* obj1
= 0 ;
3985 PyObject
* obj2
= 0 ;
3986 PyObject
* obj3
= 0 ;
3987 PyObject
* obj4
= 0 ;
3988 PyObject
* obj5
= 0 ;
3989 PyObject
* obj6
= 0 ;
3990 PyObject
* obj7
= 0 ;
3992 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4000 arg3
= (int const) SWIG_AsInt(obj2
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 arg4
= wxString_in_helper(obj3
);
4004 if (arg4
== NULL
) SWIG_fail
;
4010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4020 arg7
= (long) SWIG_AsLong(obj6
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4025 arg8
= wxString_in_helper(obj7
);
4026 if (arg8
== NULL
) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4062 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxDialog
*arg1
= (wxDialog
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4067 PyObject
* obj1
= 0 ;
4069 (char *) "self",(char *) "returnCode", NULL
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4075 arg2
= (int) SWIG_AsInt(obj1
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 (arg1
)->SetReturnCode(arg2
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 Py_INCREF(Py_None
); resultobj
= Py_None
;
4091 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxDialog
*arg1
= (wxDialog
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "self", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_FromInt((int)result
);
4117 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxDialog
*arg1
= (wxDialog
*) 0 ;
4120 wxString
*arg2
= 0 ;
4122 bool temp2
= False
;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4126 (char *) "self",(char *) "message", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4133 arg2
= wxString_in_helper(obj1
);
4134 if (arg2
== NULL
) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= wxPyMake_wxSizer(result
);
4161 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxDialog
*arg1
= (wxDialog
*) 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4169 (char *) "self",(char *) "flags", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4175 arg2
= (long) SWIG_AsLong(obj1
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= wxPyMake_wxSizer(result
);
4193 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxDialog
*arg1
= (wxDialog
*) 0 ;
4197 PyObject
* obj0
= 0 ;
4199 (char *) "self", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4221 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxDialog
*arg1
= (wxDialog
*) 0 ;
4225 PyObject
* obj0
= 0 ;
4227 (char *) "self", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (int)(arg1
)->ShowModal();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_FromInt((int)result
);
4247 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxDialog
*arg1
= (wxDialog
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4254 (char *) "self",(char *) "retCode", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4260 arg2
= (int) SWIG_AsInt(obj1
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 (arg1
)->EndModal(arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 Py_INCREF(Py_None
); resultobj
= Py_None
;
4276 static PyObject
*_wrap_Dialog_IsModalShowing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxDialog
*arg1
= (wxDialog
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModalShowing",kwnames
,&obj0
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)wxDialog_IsModalShowing(arg1
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4304 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4309 return Py_BuildValue((char *)"");
4311 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxWindow
*arg1
= (wxWindow
*) 0 ;
4315 wxString
*arg3
= 0 ;
4316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4320 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4321 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4323 wxMiniFrame
*result
;
4324 bool temp3
= False
;
4327 bool temp7
= False
;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 PyObject
* obj2
= 0 ;
4331 PyObject
* obj3
= 0 ;
4332 PyObject
* obj4
= 0 ;
4333 PyObject
* obj5
= 0 ;
4334 PyObject
* obj6
= 0 ;
4336 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4342 arg2
= (int const) SWIG_AsInt(obj1
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 arg3
= wxString_in_helper(obj2
);
4346 if (arg3
== NULL
) SWIG_fail
;
4352 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4358 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4362 arg6
= (long) SWIG_AsLong(obj5
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4367 arg7
= wxString_in_helper(obj6
);
4368 if (arg7
== NULL
) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4402 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxMiniFrame
*result
;
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (wxMiniFrame
*)new wxMiniFrame();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4424 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4427 wxWindow
*arg2
= (wxWindow
*) 0 ;
4429 wxString
*arg4
= 0 ;
4430 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4431 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4432 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4433 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4434 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4435 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4436 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4438 bool temp4
= False
;
4441 bool temp8
= False
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4446 PyObject
* obj4
= 0 ;
4447 PyObject
* obj5
= 0 ;
4448 PyObject
* obj6
= 0 ;
4449 PyObject
* obj7
= 0 ;
4451 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4459 arg3
= (int const) SWIG_AsInt(obj2
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 arg4
= wxString_in_helper(obj3
);
4463 if (arg4
== NULL
) SWIG_fail
;
4469 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4475 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4479 arg7
= (long) SWIG_AsLong(obj6
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4484 arg8
= wxString_in_helper(obj7
);
4485 if (arg8
== NULL
) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4521 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4524 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4526 return Py_BuildValue((char *)"");
4528 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxBitmap
*arg1
= 0 ;
4531 wxWindow
*arg2
= (wxWindow
*) 0 ;
4533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4537 long arg6
= (long) wxNO_BORDER
;
4538 wxSplashScreenWindow
*result
;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 PyObject
* obj2
= 0 ;
4544 PyObject
* obj3
= 0 ;
4545 PyObject
* obj4
= 0 ;
4546 PyObject
* obj5
= 0 ;
4548 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4556 PyErr_SetString(PyExc_TypeError
,"null reference");
4559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg3
= (int) SWIG_AsInt(obj2
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4576 arg6
= (long) SWIG_AsLong(obj5
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4593 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4596 wxBitmap
*arg2
= 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4600 (char *) "self",(char *) "bitmap", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4610 PyErr_SetString(PyExc_TypeError
,"null reference");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4627 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4643 result
= (wxBitmap
*) &_result_ref
;
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 wxBitmap
* resultptr
= new wxBitmap(*result
);
4651 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4659 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4662 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4664 return Py_BuildValue((char *)"");
4666 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxBitmap
*arg1
= 0 ;
4671 wxWindow
*arg4
= (wxWindow
*) 0 ;
4673 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4674 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4675 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4676 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4677 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4678 wxSplashScreen
*result
;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4683 PyObject
* obj2
= 0 ;
4684 PyObject
* obj3
= 0 ;
4685 PyObject
* obj4
= 0 ;
4686 PyObject
* obj5
= 0 ;
4687 PyObject
* obj6
= 0 ;
4688 PyObject
* obj7
= 0 ;
4690 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4698 PyErr_SetString(PyExc_TypeError
,"null reference");
4701 arg2
= (long) SWIG_AsLong(obj1
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4703 arg3
= (int) SWIG_AsInt(obj2
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4705 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4707 arg5
= (int) SWIG_AsInt(obj4
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4712 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4718 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4722 arg8
= (long) SWIG_AsLong(obj7
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4739 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4745 (char *) "self", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_FromLong((long)result
);
4765 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4768 wxSplashScreenWindow
*result
;
4769 PyObject
* obj0
= 0 ;
4771 (char *) "self", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4791 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4795 PyObject
* obj0
= 0 ;
4797 (char *) "self", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_FromInt((int)result
);
4817 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4820 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4822 return Py_BuildValue((char *)"");
4824 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxWindow
*arg1
= (wxWindow
*) 0 ;
4827 int arg2
= (int) -1 ;
4828 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4829 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4830 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4831 wxStatusBar
*result
;
4832 bool temp4
= False
;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4836 PyObject
* obj3
= 0 ;
4838 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 arg2
= (int) SWIG_AsInt(obj1
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 arg3
= (long) SWIG_AsLong(obj2
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4854 arg4
= wxString_in_helper(obj3
);
4855 if (arg4
== NULL
) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= wxPyMake_wxObject(result
);
4883 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxStatusBar
*result
;
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxStatusBar
*)new wxStatusBar();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= wxPyMake_wxObject(result
);
4907 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4910 wxWindow
*arg2
= (wxWindow
*) 0 ;
4912 long arg4
= (long) wxST_SIZEGRIP
;
4913 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4914 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4916 bool temp5
= False
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4920 PyObject
* obj3
= 0 ;
4921 PyObject
* obj4
= 0 ;
4923 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 arg3
= (int) SWIG_AsInt(obj2
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 arg4
= (long) SWIG_AsLong(obj3
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4939 arg5
= wxString_in_helper(obj4
);
4940 if (arg5
== NULL
) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4971 int arg2
= (int) 1 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4975 (char *) "self",(char *) "number", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 arg2
= (int) SWIG_AsInt(obj1
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->SetFieldsCount(arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5005 (char *) "self", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_FromInt((int)result
);
5025 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5028 wxString
*arg2
= 0 ;
5029 int arg3
= (int) 0 ;
5030 bool temp2
= False
;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 PyObject
* obj2
= 0 ;
5035 (char *) "self",(char *) "text",(char *) "number", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg2
= wxString_in_helper(obj1
);
5043 if (arg2
== NULL
) SWIG_fail
;
5047 arg3
= (int) SWIG_AsInt(obj2
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5075 int arg2
= (int) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5080 (char *) "self",(char *) "number", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 arg2
= (int) SWIG_AsInt(obj1
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5110 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5113 wxString
*arg2
= 0 ;
5114 int arg3
= (int) 0 ;
5115 bool temp2
= False
;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5118 PyObject
* obj2
= 0 ;
5120 (char *) "self",(char *) "text",(char *) "number", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 arg2
= wxString_in_helper(obj1
);
5128 if (arg2
== NULL
) SWIG_fail
;
5132 arg3
= (int) SWIG_AsInt(obj2
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5157 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5160 int arg2
= (int) 0 ;
5161 PyObject
* obj0
= 0 ;
5162 PyObject
* obj1
= 0 ;
5164 (char *) "self",(char *) "number", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5171 arg2
= (int) SWIG_AsInt(obj1
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->PopStatusText(arg2
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 Py_INCREF(Py_None
); resultobj
= Py_None
;
5188 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5192 int *arg3
= (int *) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "widths", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 arg2
= PyList_Size(obj1
);
5204 arg3
= int_LIST_helper(obj1
);
5205 if (arg3
== NULL
) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 if (arg3
) delete [] arg3
;
5221 if (arg3
) delete [] arg3
;
5227 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5235 (char *) "self",(char *) "i", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 arg2
= (int) SWIG_AsInt(obj1
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5252 resultptr
= new wxRect((wxRect
&) result
);
5253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5261 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5268 (char *) "self",(char *) "height", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 arg2
= (int) SWIG_AsInt(obj1
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 (arg1
)->SetMinHeight(arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_FromInt((int)result
);
5316 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5322 (char *) "self", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_FromInt((int)result
);
5342 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5347 return Py_BuildValue((char *)"");
5349 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5350 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5355 static PyObject
*_wrap_SplitterNameStr_get() {
5360 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5362 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5369 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxWindow
*arg1
= (wxWindow
*) 0 ;
5372 int arg2
= (int) -1 ;
5373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5377 long arg5
= (long) wxSP_3D
;
5378 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5379 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5380 wxSplitterWindow
*result
;
5383 bool temp6
= False
;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5387 PyObject
* obj3
= 0 ;
5388 PyObject
* obj4
= 0 ;
5389 PyObject
* obj5
= 0 ;
5391 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5398 arg2
= (int) SWIG_AsInt(obj1
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5404 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5410 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5414 arg5
= (long) SWIG_AsLong(obj4
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5419 arg6
= wxString_in_helper(obj5
);
5420 if (arg6
== NULL
) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5446 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxSplitterWindow
*result
;
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5468 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5471 wxWindow
*arg2
= (wxWindow
*) 0 ;
5472 int arg3
= (int) -1 ;
5473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5477 long arg6
= (long) wxSP_3D
;
5478 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5483 bool temp7
= False
;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 PyObject
* obj2
= 0 ;
5487 PyObject
* obj3
= 0 ;
5488 PyObject
* obj4
= 0 ;
5489 PyObject
* obj5
= 0 ;
5490 PyObject
* obj6
= 0 ;
5492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 arg3
= (int) SWIG_AsInt(obj2
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5517 arg6
= (long) SWIG_AsLong(obj5
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5522 arg7
= wxString_in_helper(obj6
);
5523 if (arg7
== NULL
) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5551 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5557 (char *) "self", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= wxPyMake_wxObject(result
);
5579 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= wxPyMake_wxObject(result
);
5607 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "mode", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 arg2
= (int) SWIG_AsInt(obj1
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetSplitMode(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_FromInt((int)result
);
5662 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5665 wxWindow
*arg2
= (wxWindow
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5669 (char *) "self",(char *) "window", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->Initialize(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5694 wxWindow
*arg2
= (wxWindow
*) 0 ;
5695 wxWindow
*arg3
= (wxWindow
*) 0 ;
5696 int arg4
= (int) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5701 PyObject
* obj3
= 0 ;
5703 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5711 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5714 arg4
= (int) SWIG_AsInt(obj3
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5736 wxWindow
*arg2
= (wxWindow
*) 0 ;
5737 wxWindow
*arg3
= (wxWindow
*) 0 ;
5738 int arg4
= (int) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5745 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5753 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 arg4
= (int) SWIG_AsInt(obj3
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5778 wxWindow
*arg2
= (wxWindow
*) NULL
;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "toRemove", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)(arg1
)->Unsplit(arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5812 wxWindow
*arg2
= (wxWindow
*) 0 ;
5813 wxWindow
*arg3
= (wxWindow
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5816 PyObject
* obj1
= 0 ;
5817 PyObject
* obj2
= 0 ;
5819 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5845 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->UpdateSize();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5870 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "self", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5898 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "width", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg2
= (int) SWIG_AsInt(obj1
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 (arg1
)->SetSashSize(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 Py_INCREF(Py_None
); resultobj
= Py_None
;
5927 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5934 (char *) "self",(char *) "width", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 arg2
= (int) SWIG_AsInt(obj1
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 (arg1
)->SetBorderSize(arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 Py_INCREF(Py_None
); resultobj
= Py_None
;
5956 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_FromInt((int)result
);
5982 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_FromInt((int)result
);
6008 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6012 bool arg3
= (bool) True
;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6015 PyObject
* obj2
= 0 ;
6017 (char *) "self",(char *) "position",(char *) "redraw", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 arg2
= (int) SWIG_AsInt(obj1
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 arg3
= (bool) SWIG_AsBool(obj2
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 (arg1
)->SetSashPosition(arg2
,arg3
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 Py_INCREF(Py_None
); resultobj
= Py_None
;
6043 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_FromInt((int)result
);
6069 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6076 (char *) "self",(char *) "min", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 arg2
= (int) SWIG_AsInt(obj1
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 (arg1
)->SetMinimumPaneSize(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_FromInt((int)result
);
6124 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6129 int arg4
= (int) 5 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6134 PyObject
* obj3
= 0 ;
6136 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 arg2
= (int) SWIG_AsInt(obj1
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6144 arg3
= (int) SWIG_AsInt(obj2
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 arg4
= (int) SWIG_AsInt(obj3
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6166 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SizeWindows();
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "needUpdating", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (bool) SWIG_AsBool(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->SetNeedUpdating(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6248 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6251 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6253 return Py_BuildValue((char *)"");
6255 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6258 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6259 wxSplitterEvent
*result
;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "type",(char *) "splitter", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6289 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6296 (char *) "self",(char *) "pos", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6302 arg2
= (int) SWIG_AsInt(obj1
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 (arg1
)->SetSashPosition(arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 Py_INCREF(Py_None
); resultobj
= Py_None
;
6318 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6322 PyObject
* obj0
= 0 ;
6324 (char *) "self", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_FromInt((int)result
);
6344 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= wxPyMake_wxObject(result
);
6372 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_FromInt((int)result
);
6398 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6404 (char *) "self", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_FromInt((int)result
);
6424 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6427 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6429 return Py_BuildValue((char *)"");
6431 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6432 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6437 static PyObject
*_wrap_SashNameStr_get() {
6442 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6444 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6451 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6452 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6457 static PyObject
*_wrap_SashLayoutNameStr_get() {
6462 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6464 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6471 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxWindow
*arg1
= (wxWindow
*) 0 ;
6475 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6476 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6477 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6478 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6479 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6480 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6481 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6482 wxSashWindow
*result
;
6485 bool temp6
= False
;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6488 PyObject
* obj2
= 0 ;
6489 PyObject
* obj3
= 0 ;
6490 PyObject
* obj4
= 0 ;
6491 PyObject
* obj5
= 0 ;
6493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6499 arg2
= (int) SWIG_AsInt(obj1
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6514 arg5
= (long) SWIG_AsLong(obj4
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6519 arg6
= wxString_in_helper(obj5
);
6520 if (arg6
== NULL
) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6546 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxSashWindow
*result
;
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (wxSashWindow
*)new wxSashWindow();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6568 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6571 wxWindow
*arg2
= (wxWindow
*) 0 ;
6573 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6574 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6575 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6576 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6577 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6578 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6579 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6583 bool temp7
= False
;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 PyObject
* obj2
= 0 ;
6587 PyObject
* obj3
= 0 ;
6588 PyObject
* obj4
= 0 ;
6589 PyObject
* obj5
= 0 ;
6590 PyObject
* obj6
= 0 ;
6592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 arg3
= (int) SWIG_AsInt(obj2
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6615 arg6
= (long) SWIG_AsLong(obj5
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6620 arg7
= wxString_in_helper(obj6
);
6621 if (arg7
== NULL
) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6649 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6656 PyObject
* obj2
= 0 ;
6658 (char *) "self",(char *) "edge",(char *) "sash", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6666 arg3
= (bool) SWIG_AsBool(obj2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "edge", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6696 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6714 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 PyObject
* obj2
= 0 ;
6723 (char *) "self",(char *) "edge",(char *) "border", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6729 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6731 arg3
= (bool) SWIG_AsBool(obj2
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 Py_INCREF(Py_None
); resultobj
= Py_None
;
6747 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6755 (char *) "self",(char *) "edge", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6779 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "edge", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_FromInt((int)result
);
6809 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6816 (char *) "self",(char *) "width", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6822 arg2
= (int) SWIG_AsInt(obj1
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 (arg1
)->SetDefaultBorderSize(arg2
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 Py_INCREF(Py_None
); resultobj
= Py_None
;
6838 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6842 PyObject
* obj0
= 0 ;
6844 (char *) "self", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_FromInt((int)result
);
6864 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6871 (char *) "self",(char *) "width", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 arg2
= (int) SWIG_AsInt(obj1
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 (arg1
)->SetExtraBorderSize(arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 Py_INCREF(Py_None
); resultobj
= Py_None
;
6893 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_FromInt((int)result
);
6919 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "min", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 arg2
= (int) SWIG_AsInt(obj1
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetMinimumSizeX(arg2
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6948 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "min", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 arg2
= (int) SWIG_AsInt(obj1
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetMinimumSizeY(arg2
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_FromInt((int)result
);
7003 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "self", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_FromInt((int)result
);
7029 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "max", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 arg2
= (int) SWIG_AsInt(obj1
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetMaximumSizeX(arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7065 (char *) "self",(char *) "max", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 arg2
= (int) SWIG_AsInt(obj1
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 (arg1
)->SetMaximumSizeY(arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 Py_INCREF(Py_None
); resultobj
= Py_None
;
7087 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7093 (char *) "self", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_FromInt((int)result
);
7113 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7119 (char *) "self", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_FromInt((int)result
);
7139 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7144 int arg4
= (int) 2 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7148 PyObject
* obj2
= 0 ;
7149 PyObject
* obj3
= 0 ;
7151 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 arg2
= (int) SWIG_AsInt(obj1
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7159 arg3
= (int) SWIG_AsInt(obj2
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 arg4
= (int) SWIG_AsInt(obj3
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_FromInt((int)result
);
7179 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 (arg1
)->SizeWindows();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7204 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7207 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7209 return Py_BuildValue((char *)"");
7211 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 int arg1
= (int) 0 ;
7214 int arg2
= (int) wxSASH_NONE
;
7215 wxSashEvent
*result
;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7219 (char *) "id",(char *) "edge", NULL
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 arg1
= (int) SWIG_AsInt(obj0
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7245 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7252 (char *) "self",(char *) "edge", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 Py_INCREF(Py_None
); resultobj
= Py_None
;
7274 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7278 PyObject
* obj0
= 0 ;
7280 (char *) "self", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_FromInt((int)result
);
7300 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
*resultobj
;
7302 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7308 (char *) "self",(char *) "rect", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7353 resultptr
= new wxRect((wxRect
&) result
);
7354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7362 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7369 (char *) "self",(char *) "status", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7375 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7397 (char *) "self", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_FromInt((int)result
);
7417 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7420 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7422 return Py_BuildValue((char *)"");
7424 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 int arg1
= (int) 0 ;
7427 wxQueryLayoutInfoEvent
*result
;
7428 PyObject
* obj0
= 0 ;
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7435 arg1
= (int) SWIG_AsInt(obj0
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7452 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7459 (char *) "self",(char *) "length", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 arg2
= (int) SWIG_AsInt(obj1
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7469 (arg1
)->SetRequestedLength(arg2
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_FromInt((int)result
);
7507 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "self",(char *) "flags", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7520 arg2
= (int) SWIG_AsInt(obj1
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 (arg1
)->SetFlags(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 Py_INCREF(Py_None
); resultobj
= Py_None
;
7536 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7540 PyObject
* obj0
= 0 ;
7542 (char *) "self", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= SWIG_FromInt((int)result
);
7562 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7570 (char *) "self",(char *) "size", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetSize((wxSize
const &)*arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7615 resultptr
= new wxSize((wxSize
&) result
);
7616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7624 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7631 (char *) "self",(char *) "orient", NULL
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7637 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "self", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_FromInt((int)result
);
7679 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7686 (char *) "self",(char *) "align", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_FromInt((int)result
);
7734 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7737 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7739 return Py_BuildValue((char *)"");
7741 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 int arg1
= (int) 0 ;
7744 wxCalculateLayoutEvent
*result
;
7745 PyObject
* obj0
= 0 ;
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7752 arg1
= (int) SWIG_AsInt(obj0
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7769 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7776 (char *) "self",(char *) "flags", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 arg2
= (int) SWIG_AsInt(obj1
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->SetFlags(arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_FromInt((int)result
);
7824 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7832 (char *) "self",(char *) "rect", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 (arg1
)->SetRect((wxRect
const &)*arg2
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7877 resultptr
= new wxRect((wxRect
&) result
);
7878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7886 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7889 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7891 return Py_BuildValue((char *)"");
7893 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxWindow
*arg1
= (wxWindow
*) 0 ;
7897 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7898 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7899 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7900 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7901 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7902 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7903 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7904 wxSashLayoutWindow
*result
;
7907 bool temp6
= False
;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 PyObject
* obj3
= 0 ;
7912 PyObject
* obj4
= 0 ;
7913 PyObject
* obj5
= 0 ;
7915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= (int) SWIG_AsInt(obj1
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7926 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7936 arg5
= (long) SWIG_AsLong(obj4
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7941 arg6
= wxString_in_helper(obj5
);
7942 if (arg6
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7968 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxSashLayoutWindow
*result
;
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7990 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7993 wxWindow
*arg2
= (wxWindow
*) 0 ;
7995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7999 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8000 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8005 bool temp7
= False
;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 PyObject
* obj2
= 0 ;
8009 PyObject
* obj3
= 0 ;
8010 PyObject
* obj4
= 0 ;
8011 PyObject
* obj5
= 0 ;
8012 PyObject
* obj6
= 0 ;
8014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 arg3
= (int) SWIG_AsInt(obj2
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8037 arg6
= (long) SWIG_AsLong(obj5
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8042 arg7
= wxString_in_helper(obj6
);
8043 if (arg7
== NULL
) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8071 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (int)(arg1
)->GetAlignment();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_FromInt((int)result
);
8097 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (int)(arg1
)->GetOrientation();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_FromInt((int)result
);
8123 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8128 PyObject
* obj1
= 0 ;
8130 (char *) "self",(char *) "alignment", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8152 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "size", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "orientation", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8218 return Py_BuildValue((char *)"");
8220 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxLayoutAlgorithm
*result
;
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8242 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 Py_INCREF(Py_None
); resultobj
= Py_None
;
8267 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8270 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8271 wxRect
*arg3
= (wxRect
*) NULL
;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 PyObject
* obj2
= 0 ;
8277 (char *) "self",(char *) "frame",(char *) "rect", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8305 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8308 wxFrame
*arg2
= (wxFrame
*) 0 ;
8309 wxWindow
*arg3
= (wxWindow
*) NULL
;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 PyObject
* obj2
= 0 ;
8315 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8346 wxWindow
*arg2
= (wxWindow
*) 0 ;
8347 wxWindow
*arg3
= (wxWindow
*) NULL
;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8353 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8384 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8386 return Py_BuildValue((char *)"");
8388 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxWindow
*arg1
= (wxWindow
*) 0 ;
8391 int arg2
= (int) wxBORDER_NONE
;
8392 wxPopupWindow
*result
;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "parent",(char *) "flags", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 arg2
= (int) SWIG_AsInt(obj1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8420 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
;
8422 wxPopupWindow
*result
;
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (wxPopupWindow
*)new wxPopupWindow();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8442 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8445 wxWindow
*arg2
= (wxWindow
*) 0 ;
8446 int arg3
= (int) wxBORDER_NONE
;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8450 PyObject
* obj2
= 0 ;
8452 (char *) "self",(char *) "parent",(char *) "flags", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8461 arg3
= (int) SWIG_AsInt(obj2
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8480 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8491 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8503 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8524 return Py_BuildValue((char *)"");
8526 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxWindow
*arg1
= (wxWindow
*) 0 ;
8529 int arg2
= (int) wxBORDER_NONE
;
8530 wxPyPopupTransientWindow
*result
;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8534 (char *) "parent",(char *) "style", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 arg2
= (int) SWIG_AsInt(obj1
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8558 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxPyPopupTransientWindow
*result
;
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8580 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8583 PyObject
*arg2
= (PyObject
*) 0 ;
8584 PyObject
*arg3
= (PyObject
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 PyObject
* obj2
= 0 ;
8589 (char *) "self",(char *) "self",(char *) "_class", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8614 wxWindow
*arg2
= (wxWindow
*) NULL
;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "focus", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->Popup(arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "self", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8670 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8672 return Py_BuildValue((char *)"");
8674 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxWindow
*arg1
= (wxWindow
*) 0 ;
8677 wxString
*arg2
= 0 ;
8678 int arg3
= (int) 100 ;
8679 wxRect
*arg4
= (wxRect
*) NULL
;
8680 wxTipWindow
*result
;
8681 bool temp2
= False
;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8685 PyObject
* obj3
= 0 ;
8687 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 arg3
= (int) SWIG_AsInt(obj2
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8728 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "rectBound", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8788 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8790 return Py_BuildValue((char *)"");
8792 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) wxID_ANY
;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 long arg5
= (long) 0 ;
8801 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8802 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8803 wxPyVScrolledWindow
*result
;
8806 bool temp6
= False
;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 PyObject
* obj2
= 0 ;
8810 PyObject
* obj3
= 0 ;
8811 PyObject
* obj4
= 0 ;
8812 PyObject
* obj5
= 0 ;
8814 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8821 arg2
= (int) SWIG_AsInt(obj1
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8827 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8833 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8837 arg5
= (long) SWIG_AsLong(obj4
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8842 arg6
= wxString_in_helper(obj5
);
8843 if (arg6
== NULL
) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8869 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxPyVScrolledWindow
*result
;
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8891 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8894 PyObject
*arg2
= (PyObject
*) 0 ;
8895 PyObject
*arg3
= (PyObject
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8898 PyObject
* obj2
= 0 ;
8900 (char *) "self",(char *) "self",(char *) "_class", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8925 wxWindow
*arg2
= (wxWindow
*) 0 ;
8926 int arg3
= (int) wxID_ANY
;
8927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8931 long arg6
= (long) 0 ;
8932 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8933 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8937 bool temp7
= False
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8941 PyObject
* obj3
= 0 ;
8942 PyObject
* obj4
= 0 ;
8943 PyObject
* obj5
= 0 ;
8944 PyObject
* obj6
= 0 ;
8946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8955 arg3
= (int) SWIG_AsInt(obj2
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8971 arg6
= (long) SWIG_AsLong(obj5
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8976 arg7
= wxString_in_helper(obj6
);
8977 if (arg7
== NULL
) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9012 (char *) "self",(char *) "count", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->SetLineCount(arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "self",(char *) "line", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9066 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9074 (char *) "self",(char *) "lines", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 arg2
= (int) SWIG_AsInt(obj1
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->ScrollLines(arg2
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9106 (char *) "self",(char *) "pages", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9112 arg2
= (int) SWIG_AsInt(obj1
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)(arg1
)->ScrollPages(arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9130 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9137 (char *) "self",(char *) "line", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9143 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->RefreshLine(arg2
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 Py_INCREF(Py_None
); resultobj
= Py_None
;
9159 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9168 (char *) "self",(char *) "from",(char *) "to", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 (arg1
)->RefreshLines(arg2
,arg3
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 PyObject
* obj2
= 0 ;
9202 (char *) "self",(char *) "x",(char *) "y", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 arg2
= (int) SWIG_AsInt(obj1
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9210 arg3
= (int) SWIG_AsInt(obj2
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_FromInt((int)result
);
9226 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9235 (char *) "self",(char *) "pt", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= SWIG_FromInt((int)result
);
9259 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->RefreshAll();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 Py_INCREF(Py_None
); resultobj
= Py_None
;
9284 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9310 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9336 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9362 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9370 (char *) "self",(char *) "line", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9397 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9399 return Py_BuildValue((char *)"");
9401 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9402 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9407 static PyObject
*_wrap_VListBoxNameStr_get() {
9412 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9414 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9421 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxWindow
*arg1
= (wxWindow
*) 0 ;
9424 int arg2
= (int) wxID_ANY
;
9425 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9426 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9427 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9428 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9429 long arg5
= (long) 0 ;
9430 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9431 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9432 wxPyVListBox
*result
;
9435 bool temp6
= False
;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 PyObject
* obj2
= 0 ;
9439 PyObject
* obj3
= 0 ;
9440 PyObject
* obj4
= 0 ;
9441 PyObject
* obj5
= 0 ;
9443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 arg2
= (int) SWIG_AsInt(obj1
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9456 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9462 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9466 arg5
= (long) SWIG_AsLong(obj4
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9471 arg6
= wxString_in_helper(obj5
);
9472 if (arg6
== NULL
) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9498 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxPyVListBox
*result
;
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxPyVListBox
*)new wxPyVListBox();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9520 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9523 PyObject
*arg2
= (PyObject
*) 0 ;
9524 PyObject
*arg3
= (PyObject
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9527 PyObject
* obj2
= 0 ;
9529 (char *) "self",(char *) "self",(char *) "_class", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9554 wxWindow
*arg2
= (wxWindow
*) 0 ;
9555 int arg3
= (int) wxID_ANY
;
9556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9560 long arg6
= (long) 0 ;
9561 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9566 bool temp7
= False
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9570 PyObject
* obj3
= 0 ;
9571 PyObject
* obj4
= 0 ;
9572 PyObject
* obj5
= 0 ;
9573 PyObject
* obj6
= 0 ;
9575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 arg3
= (int) SWIG_AsInt(obj2
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9600 arg6
= (long) SWIG_AsLong(obj5
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9605 arg7
= wxString_in_helper(obj6
);
9606 if (arg7
== NULL
) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9634 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9660 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= SWIG_FromInt((int)result
);
9714 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9722 (char *) "self",(char *) "item", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9746 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9754 (char *) "self",(char *) "item", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9760 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9804 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9807 unsigned long *arg2
= 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9812 (char *) "self",(char *) "cookie", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9822 PyErr_SetString(PyExc_TypeError
,"null reference");
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_FromInt((int)result
);
9839 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9842 unsigned long *arg2
= 0 ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9847 (char *) "self",(char *) "cookie", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9857 PyErr_SetString(PyExc_TypeError
,"null reference");
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_FromInt((int)result
);
9874 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 wxPoint
* resultptr
;
9895 resultptr
= new wxPoint((wxPoint
&) result
);
9896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9904 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9920 result
= (wxColour
*) &_result_ref
;
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9933 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9940 (char *) "self",(char *) "count", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 (arg1
)->SetItemCount(arg2
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9967 (char *) "self", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 Py_INCREF(Py_None
); resultobj
= Py_None
;
9987 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9991 PyObject
* obj0
= 0 ;
9992 PyObject
* obj1
= 0 ;
9994 (char *) "self",(char *) "selection", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10000 arg2
= (int) SWIG_AsInt(obj1
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 (arg1
)->SetSelection(arg2
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 Py_INCREF(Py_None
); resultobj
= Py_None
;
10016 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10020 bool arg3
= (bool) True
;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 PyObject
* obj2
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "item",(char *) "select", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 arg3
= (bool) SWIG_AsBool(obj2
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10054 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 PyObject
* obj2
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self",(char *) "from",(char *) "to", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10072 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10090 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "item", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->Toggle(arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (bool)(arg1
)->SelectAll();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10147 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (bool)(arg1
)->DeselectAll();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10175 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10178 wxPoint
*arg2
= 0 ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "pt", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "x",(char *) "y", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 arg2
= (int) SWIG_AsInt(obj1
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10224 arg3
= (int) SWIG_AsInt(obj2
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->SetMargins(arg2
,arg3
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10243 wxColour
*arg2
= 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "col", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10275 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10277 return Py_BuildValue((char *)"");
10279 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxWindow
*arg1
= (wxWindow
*) 0 ;
10282 int arg2
= (int) wxID_ANY
;
10283 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10284 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10285 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10286 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10287 long arg5
= (long) 0 ;
10288 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10289 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10290 wxPyHtmlListBox
*result
;
10293 bool temp6
= False
;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 PyObject
* obj3
= 0 ;
10298 PyObject
* obj4
= 0 ;
10299 PyObject
* obj5
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 arg2
= (int) SWIG_AsInt(obj1
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10324 arg5
= (long) SWIG_AsLong(obj4
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10329 arg6
= wxString_in_helper(obj5
);
10330 if (arg6
== NULL
) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10356 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxPyHtmlListBox
*result
;
10359 char *kwnames
[] = {
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10378 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10381 PyObject
*arg2
= (PyObject
*) 0 ;
10382 PyObject
*arg3
= (PyObject
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "self",(char *) "_class", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10412 wxWindow
*arg2
= (wxWindow
*) 0 ;
10413 int arg3
= (int) wxID_ANY
;
10414 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10415 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10416 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10417 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10418 long arg6
= (long) 0 ;
10419 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10420 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10424 bool temp7
= False
;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 PyObject
* obj2
= 0 ;
10428 PyObject
* obj3
= 0 ;
10429 PyObject
* obj4
= 0 ;
10430 PyObject
* obj5
= 0 ;
10431 PyObject
* obj6
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10442 arg3
= (int) SWIG_AsInt(obj2
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10458 arg6
= (long) SWIG_AsLong(obj5
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10463 arg7
= wxString_in_helper(obj6
);
10464 if (arg7
== NULL
) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 (arg1
)->RefreshAll();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 Py_INCREF(Py_None
); resultobj
= Py_None
;
10517 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "count", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10530 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->SetItemCount(arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10546 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10549 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10551 return Py_BuildValue((char *)"");
10553 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxTaskBarIcon
*result
;
10556 char *kwnames
[] = {
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10575 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10600 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 wxTaskBarIcon_Destroy(arg1
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 Py_INCREF(Py_None
); resultobj
= Py_None
;
10625 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10685 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10688 bool temp3
= False
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10702 if (arg2
== NULL
) {
10703 PyErr_SetString(PyExc_TypeError
,"null reference");
10708 arg3
= wxString_in_helper(obj2
);
10709 if (arg3
== NULL
) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10737 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (bool)(arg1
)->RemoveIcon();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10765 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10768 wxMenu
*arg2
= (wxMenu
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "menu", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (bool)(arg1
)->PopupMenu(arg2
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10797 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10802 return Py_BuildValue((char *)"");
10804 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10807 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10808 wxTaskBarIconEvent
*result
;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "evtType",(char *) "tbIcon", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10816 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10834 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10837 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10839 return Py_BuildValue((char *)"");
10841 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10842 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10847 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10852 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10854 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10861 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10862 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10867 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10872 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10874 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10881 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10882 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10887 static PyObject
*_wrap_DirDialogNameStr_get() {
10892 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10894 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10901 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10902 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10907 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10912 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10914 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10921 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10922 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10927 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10932 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10934 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10941 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10942 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10947 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10952 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10954 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10961 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxColourData
*result
;
10964 char *kwnames
[] = {
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (wxColourData
*)new wxColourData();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10983 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxColourData
*arg1
= (wxColourData
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11008 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxColourData
*arg1
= (wxColourData
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->GetChooseFull();
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11036 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxColourData
*arg1
= (wxColourData
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (arg1
)->GetColour();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 wxColour
* resultptr
;
11057 resultptr
= new wxColour((wxColour
&) result
);
11058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11066 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxColourData
*arg1
= (wxColourData
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "i", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 arg2
= (int) SWIG_AsInt(obj1
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (arg1
)->GetCustomColour(arg2
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 wxColour
* resultptr
;
11091 resultptr
= new wxColour((wxColour
&) result
);
11092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11100 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxColourData
*arg1
= (wxColourData
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 PyObject
* obj1
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "flag", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11113 arg2
= (int) SWIG_AsInt(obj1
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->SetChooseFull(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxColourData
*arg1
= (wxColourData
*) 0 ;
11132 wxColour
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self",(char *) "colour", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->SetColour((wxColour
const &)*arg2
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxColourData
*arg1
= (wxColourData
*) 0 ;
11165 wxColour
*arg3
= 0 ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "i",(char *) "colour", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 arg2
= (int) SWIG_AsInt(obj1
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11200 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11202 return Py_BuildValue((char *)"");
11204 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxWindow
*arg1
= (wxWindow
*) 0 ;
11207 wxColourData
*arg2
= (wxColourData
*) NULL
;
11208 wxColourDialog
*result
;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "parent",(char *) "data", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11236 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11239 wxColourData
*result
;
11240 PyObject
* obj0
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11252 result
= (wxColourData
*) &_result_ref
;
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11265 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11268 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11270 return Py_BuildValue((char *)"");
11272 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxWindow
*arg1
= (wxWindow
*) 0 ;
11275 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11276 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11279 long arg4
= (long) 0 ;
11280 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11281 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11282 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11283 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11284 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11285 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11286 wxDirDialog
*result
;
11287 bool temp2
= False
;
11288 bool temp3
= False
;
11291 bool temp7
= False
;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 PyObject
* obj2
= 0 ;
11295 PyObject
* obj3
= 0 ;
11296 PyObject
* obj4
= 0 ;
11297 PyObject
* obj5
= 0 ;
11298 PyObject
* obj6
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= wxString_in_helper(obj1
);
11309 if (arg2
== NULL
) SWIG_fail
;
11315 arg3
= wxString_in_helper(obj2
);
11316 if (arg3
== NULL
) SWIG_fail
;
11321 arg4
= (long) SWIG_AsLong(obj3
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11327 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11333 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11338 arg7
= wxString_in_helper(obj6
);
11339 if (arg7
== NULL
) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11381 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (arg1
)->GetPath();
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11413 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (arg1
)->GetMessage();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11445 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (long)(arg1
)->GetStyle();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_FromLong((long)result
);
11471 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11474 wxString
*arg2
= 0 ;
11475 bool temp2
= False
;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self",(char *) "message", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11486 arg2
= wxString_in_helper(obj1
);
11487 if (arg2
== NULL
) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->SetMessage((wxString
const &)*arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11515 wxString
*arg2
= 0 ;
11516 bool temp2
= False
;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "path", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 arg2
= wxString_in_helper(obj1
);
11528 if (arg2
== NULL
) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->SetPath((wxString
const &)*arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11553 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11556 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11558 return Py_BuildValue((char *)"");
11560 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxWindow
*arg1
= (wxWindow
*) 0 ;
11563 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11564 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11569 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11570 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11571 long arg6
= (long) 0 ;
11572 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11573 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11574 wxFileDialog
*result
;
11575 bool temp2
= False
;
11576 bool temp3
= False
;
11577 bool temp4
= False
;
11578 bool temp5
= False
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 PyObject
* obj3
= 0 ;
11584 PyObject
* obj4
= 0 ;
11585 PyObject
* obj5
= 0 ;
11586 PyObject
* obj6
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 arg2
= wxString_in_helper(obj1
);
11597 if (arg2
== NULL
) SWIG_fail
;
11603 arg3
= wxString_in_helper(obj2
);
11604 if (arg3
== NULL
) SWIG_fail
;
11610 arg4
= wxString_in_helper(obj3
);
11611 if (arg4
== NULL
) SWIG_fail
;
11617 arg5
= wxString_in_helper(obj4
);
11618 if (arg5
== NULL
) SWIG_fail
;
11623 arg6
= (long) SWIG_AsLong(obj5
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11629 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11678 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11681 wxString
*arg2
= 0 ;
11682 bool temp2
= False
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "message", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= wxString_in_helper(obj1
);
11694 if (arg2
== NULL
) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->SetMessage((wxString
const &)*arg2
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 Py_INCREF(Py_None
); resultobj
= Py_None
;
11719 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11722 wxString
*arg2
= 0 ;
11723 bool temp2
= False
;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "path", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 (arg1
)->SetPath((wxString
const &)*arg2
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11763 wxString
*arg2
= 0 ;
11764 bool temp2
= False
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "dir", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11775 arg2
= wxString_in_helper(obj1
);
11776 if (arg2
== NULL
) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
*_wrap_FileDialog_SetFilename(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 *) "name", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",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
)->SetFilename((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_SetWildcard(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 *) "wildCard", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",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
)->SetWildcard((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_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "style", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= (long) SWIG_AsLong(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->SetStyle(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11916 PyObject
* obj0
= 0 ;
11917 PyObject
* obj1
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "filterIndex", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 arg2
= (int) SWIG_AsInt(obj1
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 (arg1
)->SetFilterIndex(arg2
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 Py_INCREF(Py_None
); resultobj
= Py_None
;
11941 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11973 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12005 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12037 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12069 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12101 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_FromLong((long)result
);
12127 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_FromInt((int)result
);
12153 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= result
;
12179 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= result
;
12205 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12208 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12210 return Py_BuildValue((char *)"");
12212 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxWindow
*arg1
= (wxWindow
*) 0 ;
12215 wxString
*arg2
= 0 ;
12216 wxString
*arg3
= 0 ;
12217 int arg4
= (int) 0 ;
12218 wxString
*arg5
= (wxString
*) 0 ;
12219 long arg6
= (long) wxCHOICEDLG_STYLE
;
12220 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12221 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12222 wxMultiChoiceDialog
*result
;
12223 bool temp2
= False
;
12224 bool temp3
= False
;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 PyObject
* obj2
= 0 ;
12229 PyObject
* obj3
= 0 ;
12230 PyObject
* obj4
= 0 ;
12231 PyObject
* obj5
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= wxString_in_helper(obj1
);
12241 if (arg2
== NULL
) SWIG_fail
;
12245 arg3
= wxString_in_helper(obj2
);
12246 if (arg3
== NULL
) SWIG_fail
;
12251 arg4
= PyList_Size(obj3
);
12252 arg5
= wxString_LIST_helper(obj3
);
12253 if (arg5
== NULL
) SWIG_fail
;
12257 arg6
= (long) SWIG_AsLong(obj4
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12263 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12283 if (arg5
) delete [] arg5
;
12296 if (arg5
) delete [] arg5
;
12302 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12305 wxArrayInt
*arg2
= 0 ;
12306 bool temp2
= False
;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self",(char *) "selections", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 if (! PySequence_Check(obj1
)) {
12318 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12321 arg2
= new wxArrayInt
;
12323 int i
, len
=PySequence_Length(obj1
);
12324 for (i
=0; i
<len
; i
++) {
12325 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12326 PyObject
* number
= PyNumber_Int(item
);
12327 arg2
->Add(PyInt_AS_LONG(number
));
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 if (temp2
) delete arg2
;
12346 if (temp2
) delete arg2
;
12352 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= result
;
12378 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12381 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12383 return Py_BuildValue((char *)"");
12385 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxWindow
*arg1
= (wxWindow
*) 0 ;
12388 wxString
*arg2
= 0 ;
12389 wxString
*arg3
= 0 ;
12391 wxString
*arg5
= (wxString
*) 0 ;
12392 long arg6
= (long) wxCHOICEDLG_STYLE
;
12393 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12394 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12395 wxSingleChoiceDialog
*result
;
12396 bool temp2
= False
;
12397 bool temp3
= False
;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 PyObject
* obj3
= 0 ;
12403 PyObject
* obj4
= 0 ;
12404 PyObject
* obj5
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 arg2
= wxString_in_helper(obj1
);
12414 if (arg2
== NULL
) SWIG_fail
;
12418 arg3
= wxString_in_helper(obj2
);
12419 if (arg3
== NULL
) SWIG_fail
;
12423 arg4
= PyList_Size(obj3
);
12424 arg5
= wxString_LIST_helper(obj3
);
12425 if (arg5
== NULL
) SWIG_fail
;
12428 arg6
= (long) SWIG_AsLong(obj4
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12434 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12454 if (arg5
) delete [] arg5
;
12467 if (arg5
) delete [] arg5
;
12473 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (int)(arg1
)->GetSelection();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_FromInt((int)result
);
12499 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (arg1
)->GetStringSelection();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12531 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "sel", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 arg2
= (int) SWIG_AsInt(obj1
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetSelection(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12563 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12565 return Py_BuildValue((char *)"");
12567 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxWindow
*arg1
= (wxWindow
*) 0 ;
12570 wxString
*arg2
= 0 ;
12571 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12575 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12576 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12577 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12578 wxTextEntryDialog
*result
;
12579 bool temp2
= False
;
12580 bool temp3
= False
;
12581 bool temp4
= False
;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 PyObject
* obj2
= 0 ;
12586 PyObject
* obj3
= 0 ;
12587 PyObject
* obj4
= 0 ;
12588 PyObject
* obj5
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 arg2
= wxString_in_helper(obj1
);
12598 if (arg2
== NULL
) SWIG_fail
;
12603 arg3
= wxString_in_helper(obj2
);
12604 if (arg3
== NULL
) SWIG_fail
;
12610 arg4
= wxString_in_helper(obj3
);
12611 if (arg4
== NULL
) SWIG_fail
;
12616 arg5
= (long) SWIG_AsLong(obj4
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12622 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12663 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (arg1
)->GetValue();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12695 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12698 wxString
*arg2
= 0 ;
12699 bool temp2
= False
;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "value", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= wxString_in_helper(obj1
);
12711 if (arg2
== NULL
) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 (arg1
)->SetValue((wxString
const &)*arg2
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12741 return Py_BuildValue((char *)"");
12743 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxFontData
*result
;
12746 char *kwnames
[] = {
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (wxFontData
*)new wxFontData();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12765 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxFontData
*arg1
= (wxFontData
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxFontData
*arg1
= (wxFontData
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "enable", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 arg2
= (bool) SWIG_AsBool(obj1
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 (arg1
)->EnableEffects(arg2
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 Py_INCREF(Py_None
); resultobj
= Py_None
;
12819 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
;
12821 wxFontData
*arg1
= (wxFontData
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (bool)(arg1
)->GetAllowSymbols();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
;
12849 wxFontData
*arg1
= (wxFontData
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (arg1
)->GetColour();
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 wxColour
* resultptr
;
12868 resultptr
= new wxColour((wxColour
&) result
);
12869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12877 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxFontData
*arg1
= (wxFontData
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (arg1
)->GetChosenFont();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 wxFont
* resultptr
;
12898 resultptr
= new wxFont((wxFont
&) result
);
12899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12907 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxFontData
*arg1
= (wxFontData
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)(arg1
)->GetEnableEffects();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxFontData
*arg1
= (wxFontData
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (arg1
)->GetInitialFont();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 wxFont
* resultptr
;
12956 resultptr
= new wxFont((wxFont
&) result
);
12957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12965 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxFontData
*arg1
= (wxFontData
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (bool)(arg1
)->GetShowHelp();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12993 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxFontData
*arg1
= (wxFontData
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "allowSymbols", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 arg2
= (bool) SWIG_AsBool(obj1
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 (arg1
)->SetAllowSymbols(arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 Py_INCREF(Py_None
); resultobj
= Py_None
;
13022 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxFontData
*arg1
= (wxFontData
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "font", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13038 if (arg2
== NULL
) {
13039 PyErr_SetString(PyExc_TypeError
,"null reference");
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 Py_INCREF(Py_None
); resultobj
= Py_None
;
13056 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxFontData
*arg1
= (wxFontData
*) 0 ;
13059 wxColour
*arg2
= 0 ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self",(char *) "colour", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 (arg1
)->SetColour((wxColour
const &)*arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 Py_INCREF(Py_None
); resultobj
= Py_None
;
13088 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxFontData
*arg1
= (wxFontData
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "font", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13104 if (arg2
== NULL
) {
13105 PyErr_SetString(PyExc_TypeError
,"null reference");
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13122 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxFontData
*arg1
= (wxFontData
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "min",(char *) "max", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= (int) SWIG_AsInt(obj1
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13139 arg3
= (int) SWIG_AsInt(obj2
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->SetRange(arg2
,arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxFontData
*arg1
= (wxFontData
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "showHelp", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 arg2
= (bool) SWIG_AsBool(obj1
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->SetShowHelp(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13189 return Py_BuildValue((char *)"");
13191 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxWindow
*arg1
= (wxWindow
*) 0 ;
13194 wxFontData
*arg2
= 0 ;
13195 wxFontDialog
*result
;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "parent",(char *) "data", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13208 if (arg2
== NULL
) {
13209 PyErr_SetString(PyExc_TypeError
,"null reference");
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13226 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13229 wxFontData
*result
;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13242 result
= (wxFontData
*) &_result_ref
;
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13255 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13260 return Py_BuildValue((char *)"");
13262 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxWindow
*arg1
= (wxWindow
*) 0 ;
13265 wxString
*arg2
= 0 ;
13266 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13268 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13269 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13270 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13271 wxMessageDialog
*result
;
13272 bool temp2
= False
;
13273 bool temp3
= False
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 PyObject
* obj2
= 0 ;
13278 PyObject
* obj3
= 0 ;
13279 PyObject
* obj4
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 arg2
= wxString_in_helper(obj1
);
13289 if (arg2
== NULL
) SWIG_fail
;
13294 arg3
= wxString_in_helper(obj2
);
13295 if (arg3
== NULL
) SWIG_fail
;
13300 arg4
= (long) SWIG_AsLong(obj3
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13339 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13342 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13344 return Py_BuildValue((char *)"");
13346 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxString
*arg1
= 0 ;
13349 wxString
*arg2
= 0 ;
13350 int arg3
= (int) 100 ;
13351 wxWindow
*arg4
= (wxWindow
*) NULL
;
13352 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13353 wxProgressDialog
*result
;
13354 bool temp1
= False
;
13355 bool temp2
= False
;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 PyObject
* obj2
= 0 ;
13359 PyObject
* obj3
= 0 ;
13360 PyObject
* obj4
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13367 arg1
= wxString_in_helper(obj0
);
13368 if (arg1
== NULL
) SWIG_fail
;
13372 arg2
= wxString_in_helper(obj1
);
13373 if (arg2
== NULL
) SWIG_fail
;
13377 arg3
= (int) SWIG_AsInt(obj2
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 arg5
= (int) SWIG_AsInt(obj4
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13418 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13422 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13423 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13425 bool temp3
= False
;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 PyObject
* obj2
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= (int) SWIG_AsInt(obj1
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 arg3
= wxString_in_helper(obj2
);
13441 if (arg3
== NULL
) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13494 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13497 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13499 return Py_BuildValue((char *)"");
13501 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13504 int arg2
= (int) 0 ;
13505 wxFindDialogEvent
*result
;
13506 PyObject
* obj0
= 0 ;
13507 PyObject
* obj1
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "commandType",(char *) "id", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 arg2
= (int) SWIG_AsInt(obj1
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13535 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (int)(arg1
)->GetFlags();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_FromInt((int)result
);
13561 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 wxString
const &_result_ref
= (arg1
)->GetFindString();
13577 result
= (wxString
*) &_result_ref
;
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13596 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13612 result
= (wxString
*) &_result_ref
;
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13622 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13631 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13634 wxFindReplaceDialog
*result
;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13657 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "flags", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13670 arg2
= (int) SWIG_AsInt(obj1
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 (arg1
)->SetFlags(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 Py_INCREF(Py_None
); resultobj
= Py_None
;
13686 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13689 wxString
*arg2
= 0 ;
13690 bool temp2
= False
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "self",(char *) "str", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetFindString((wxString
const &)*arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13727 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13730 wxString
*arg2
= 0 ;
13731 bool temp2
= False
;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "str", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 Py_INCREF(Py_None
); resultobj
= Py_None
;
13768 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 int arg1
= (int) 0 ;
13778 wxFindReplaceData
*result
;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "flags", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13786 arg1
= (int) SWIG_AsInt(obj0
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13803 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 Py_INCREF(Py_None
); resultobj
= Py_None
;
13828 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 wxString
const &_result_ref
= (arg1
)->GetFindString();
13844 result
= (wxString
*) &_result_ref
;
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13854 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13863 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13879 result
= (wxString
*) &_result_ref
;
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13898 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (int)(arg1
)->GetFlags();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_FromInt((int)result
);
13924 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "flags", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13937 arg2
= (int) SWIG_AsInt(obj1
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 (arg1
)->SetFlags(arg2
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 Py_INCREF(Py_None
); resultobj
= Py_None
;
13953 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13956 wxString
*arg2
= 0 ;
13957 bool temp2
= False
;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self",(char *) "str", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13968 arg2
= wxString_in_helper(obj1
);
13969 if (arg2
== NULL
) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetFindString((wxString
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13994 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13997 wxString
*arg2
= 0 ;
13998 bool temp2
= False
;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "str", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 arg2
= wxString_in_helper(obj1
);
14010 if (arg2
== NULL
) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14038 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14040 return Py_BuildValue((char *)"");
14042 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxWindow
*arg1
= (wxWindow
*) 0 ;
14045 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14046 wxString
*arg3
= 0 ;
14047 int arg4
= (int) 0 ;
14048 wxFindReplaceDialog
*result
;
14049 bool temp3
= False
;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 PyObject
* obj2
= 0 ;
14053 PyObject
* obj3
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 arg3
= wxString_in_helper(obj2
);
14065 if (arg3
== NULL
) SWIG_fail
;
14069 arg4
= (int) SWIG_AsInt(obj3
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14094 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFindReplaceDialog
*result
;
14097 char *kwnames
[] = {
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14116 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14119 wxWindow
*arg2
= (wxWindow
*) 0 ;
14120 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14121 wxString
*arg4
= 0 ;
14122 int arg5
= (int) 0 ;
14124 bool temp4
= False
;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 PyObject
* obj3
= 0 ;
14129 PyObject
* obj4
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 arg4
= wxString_in_helper(obj3
);
14143 if (arg4
== NULL
) SWIG_fail
;
14147 arg5
= (int) SWIG_AsInt(obj4
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14174 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14177 wxFindReplaceData
*result
;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14200 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14203 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj1
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self",(char *) "data", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 (arg1
)->SetData(arg2
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 Py_INCREF(Py_None
); resultobj
= Py_None
;
14229 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14232 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14234 return Py_BuildValue((char *)"");
14236 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxWindow
*arg1
= (wxWindow
*) 0 ;
14240 wxString
*arg3
= 0 ;
14241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14245 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14246 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14247 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14248 wxMDIParentFrame
*result
;
14249 bool temp3
= False
;
14252 bool temp7
= False
;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 PyObject
* obj2
= 0 ;
14256 PyObject
* obj3
= 0 ;
14257 PyObject
* obj4
= 0 ;
14258 PyObject
* obj5
= 0 ;
14259 PyObject
* obj6
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg2
= (int const) SWIG_AsInt(obj1
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 arg3
= wxString_in_helper(obj2
);
14271 if (arg3
== NULL
) SWIG_fail
;
14277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14283 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14287 arg6
= (long) SWIG_AsLong(obj5
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14292 arg7
= wxString_in_helper(obj6
);
14293 if (arg7
== NULL
) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14301 wxPyEndAllowThreads(__tstate
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14327 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxMDIParentFrame
*result
;
14330 char *kwnames
[] = {
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14339 wxPyEndAllowThreads(__tstate
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14349 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14352 wxWindow
*arg2
= (wxWindow
*) 0 ;
14354 wxString
*arg4
= 0 ;
14355 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14356 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14357 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14358 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14359 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14360 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14361 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14363 bool temp4
= False
;
14366 bool temp8
= False
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 PyObject
* obj6
= 0 ;
14374 PyObject
* obj7
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 arg3
= (int const) SWIG_AsInt(obj2
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 arg4
= wxString_in_helper(obj3
);
14388 if (arg4
== NULL
) SWIG_fail
;
14394 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14400 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14404 arg7
= (long) SWIG_AsLong(obj6
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14409 arg8
= wxString_in_helper(obj7
);
14410 if (arg8
== NULL
) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14446 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->ActivateNext();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 Py_INCREF(Py_None
); resultobj
= Py_None
;
14471 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 (arg1
)->ActivatePrevious();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 (arg1
)->ArrangeIcons();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 Py_INCREF(Py_None
); resultobj
= Py_None
;
14521 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 Py_INCREF(Py_None
); resultobj
= Py_None
;
14546 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14549 wxMDIChildFrame
*result
;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= wxPyMake_wxObject(result
);
14574 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14577 wxMDIClientWindow
*result
;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= wxPyMake_wxObject(result
);
14602 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxWindow
*)(arg1
)->GetToolBar();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= wxPyMake_wxObject(result
);
14630 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14655 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14660 return Py_BuildValue((char *)"");
14662 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14666 wxString
*arg3
= 0 ;
14667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14671 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14672 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14674 wxMDIChildFrame
*result
;
14675 bool temp3
= False
;
14678 bool temp7
= False
;
14679 PyObject
* obj0
= 0 ;
14680 PyObject
* obj1
= 0 ;
14681 PyObject
* obj2
= 0 ;
14682 PyObject
* obj3
= 0 ;
14683 PyObject
* obj4
= 0 ;
14684 PyObject
* obj5
= 0 ;
14685 PyObject
* obj6
= 0 ;
14686 char *kwnames
[] = {
14687 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14693 arg2
= (int const) SWIG_AsInt(obj1
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 arg3
= wxString_in_helper(obj2
);
14697 if (arg3
== NULL
) SWIG_fail
;
14703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14713 arg6
= (long) SWIG_AsLong(obj5
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14718 arg7
= wxString_in_helper(obj6
);
14719 if (arg7
== NULL
) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= wxPyMake_wxObject(result
);
14755 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxMDIChildFrame
*result
;
14758 char *kwnames
[] = {
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= wxPyMake_wxObject(result
);
14779 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14782 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14784 wxString
*arg4
= 0 ;
14785 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14786 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14787 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14788 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14789 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14790 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14791 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14793 bool temp4
= False
;
14796 bool temp8
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 PyObject
* obj2
= 0 ;
14800 PyObject
* obj3
= 0 ;
14801 PyObject
* obj4
= 0 ;
14802 PyObject
* obj5
= 0 ;
14803 PyObject
* obj6
= 0 ;
14804 PyObject
* obj7
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 arg3
= (int const) SWIG_AsInt(obj2
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 arg4
= wxString_in_helper(obj3
);
14818 if (arg4
== NULL
) SWIG_fail
;
14824 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14830 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14834 arg7
= (long) SWIG_AsLong(obj6
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14839 arg8
= wxString_in_helper(obj7
);
14840 if (arg8
== NULL
) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14876 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->Activate();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "maximize", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 arg2
= (bool) SWIG_AsBool(obj1
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 (arg1
)->Maximize(arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 Py_INCREF(Py_None
); resultobj
= Py_None
;
14930 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14960 return Py_BuildValue((char *)"");
14962 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14965 long arg2
= (long) 0 ;
14966 wxMDIClientWindow
*result
;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "parent",(char *) "style", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 arg2
= (long) SWIG_AsLong(obj1
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= wxPyMake_wxObject(result
);
14996 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxMDIClientWindow
*result
;
14999 char *kwnames
[] = {
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= wxPyMake_wxObject(result
);
15020 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15023 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15024 long arg3
= (long) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self",(char *) "parent",(char *) "style", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 arg3
= (long) SWIG_AsLong(obj2
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15063 return Py_BuildValue((char *)"");
15065 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxWindow
*arg1
= (wxWindow
*) 0 ;
15069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15071 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15072 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15073 long arg5
= (long) 0 ;
15074 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15075 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15076 wxPyWindow
*result
;
15079 bool temp6
= False
;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 PyObject
* obj2
= 0 ;
15083 PyObject
* obj3
= 0 ;
15084 PyObject
* obj4
= 0 ;
15085 PyObject
* obj5
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= (int const) SWIG_AsInt(obj1
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15108 arg5
= (long) SWIG_AsLong(obj4
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15113 arg6
= wxString_in_helper(obj5
);
15114 if (arg6
== NULL
) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15140 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxPyWindow
*result
;
15143 char *kwnames
[] = {
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (wxPyWindow
*)new wxPyWindow();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15162 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15165 PyObject
*arg2
= (PyObject
*) 0 ;
15166 PyObject
*arg3
= (PyObject
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 PyObject
* obj2
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self",(char *) "self",(char *) "_class", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 Py_INCREF(Py_None
); resultobj
= Py_None
;
15193 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 PyObject
* obj2
= 0 ;
15203 PyObject
* obj3
= 0 ;
15204 PyObject
* obj4
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 arg2
= (int) SWIG_AsInt(obj1
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15214 arg3
= (int) SWIG_AsInt(obj2
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15216 arg4
= (int) SWIG_AsInt(obj3
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15218 arg5
= (int) SWIG_AsInt(obj4
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 Py_INCREF(Py_None
); resultobj
= Py_None
;
15234 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15241 int arg6
= (int) wxSIZE_AUTO
;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 PyObject
* obj2
= 0 ;
15245 PyObject
* obj3
= 0 ;
15246 PyObject
* obj4
= 0 ;
15247 PyObject
* obj5
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 arg2
= (int) SWIG_AsInt(obj1
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15257 arg3
= (int) SWIG_AsInt(obj2
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15259 arg4
= (int) SWIG_AsInt(obj3
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15261 arg5
= (int) SWIG_AsInt(obj4
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 arg6
= (int) SWIG_AsInt(obj5
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self",(char *) "width",(char *) "height", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15296 arg2
= (int) SWIG_AsInt(obj1
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15298 arg3
= (int) SWIG_AsInt(obj2
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 Py_INCREF(Py_None
); resultobj
= Py_None
;
15314 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self",(char *) "x",(char *) "y", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 arg2
= (int) SWIG_AsInt(obj1
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15331 arg3
= (int) SWIG_AsInt(obj2
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 Py_INCREF(Py_None
); resultobj
= Py_None
;
15347 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15350 int *arg2
= (int *) 0 ;
15351 int *arg3
= (int *) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15374 resultobj
= t_output_helper(resultobj
,o
);
15377 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15378 resultobj
= t_output_helper(resultobj
,o
);
15386 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15389 int *arg2
= (int *) 0 ;
15390 int *arg3
= (int *) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 Py_INCREF(Py_None
); resultobj
= Py_None
;
15412 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15413 resultobj
= t_output_helper(resultobj
,o
);
15416 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15417 resultobj
= t_output_helper(resultobj
,o
);
15425 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15428 int *arg2
= (int *) 0 ;
15429 int *arg3
= (int *) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15451 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15452 resultobj
= t_output_helper(resultobj
,o
);
15455 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15456 resultobj
= t_output_helper(resultobj
,o
);
15464 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15484 wxSize
* resultptr
;
15485 resultptr
= new wxSize((wxSize
&) result
);
15486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15494 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 wxSize
* resultptr
;
15515 resultptr
= new wxSize((wxSize
&) result
);
15516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15524 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "self", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->base_InitDialog();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (bool)(arg1
)->base_TransferDataToWindow();
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15577 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15605 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (bool)(arg1
)->base_Validate();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15633 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15661 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15689 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15709 wxSize
* resultptr
;
15710 resultptr
= new wxSize((wxSize
&) result
);
15711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15719 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15722 wxWindow
*arg2
= (wxWindow
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self",(char *) "child", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->base_AddChild(arg2
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15751 wxWindow
*arg2
= (wxWindow
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "child", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 (arg1
)->base_RemoveChild(arg2
);
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 Py_INCREF(Py_None
); resultobj
= Py_None
;
15777 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->base_ShouldInheritColours();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15805 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15808 wxColour
*arg2
= 0 ;
15810 PyObject
* obj0
= 0 ;
15811 PyObject
* obj1
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "c", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 Py_INCREF(Py_None
); resultobj
= Py_None
;
15837 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15840 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15842 return Py_BuildValue((char *)"");
15844 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxWindow
*arg1
= (wxWindow
*) 0 ;
15848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15852 long arg5
= (long) 0 ;
15853 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15858 bool temp6
= False
;
15859 PyObject
* obj0
= 0 ;
15860 PyObject
* obj1
= 0 ;
15861 PyObject
* obj2
= 0 ;
15862 PyObject
* obj3
= 0 ;
15863 PyObject
* obj4
= 0 ;
15864 PyObject
* obj5
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 arg2
= (int const) SWIG_AsInt(obj1
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15883 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15887 arg5
= (long) SWIG_AsLong(obj4
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15892 arg6
= wxString_in_helper(obj5
);
15893 if (arg6
== NULL
) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15919 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15922 char *kwnames
[] = {
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxPyPanel
*)new wxPyPanel();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15941 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15944 PyObject
*arg2
= (PyObject
*) 0 ;
15945 PyObject
*arg3
= (PyObject
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "self",(char *) "_class", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 PyObject
* obj2
= 0 ;
15982 PyObject
* obj3
= 0 ;
15983 PyObject
* obj4
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 arg2
= (int) SWIG_AsInt(obj1
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15993 arg3
= (int) SWIG_AsInt(obj2
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15995 arg4
= (int) SWIG_AsInt(obj3
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15997 arg5
= (int) SWIG_AsInt(obj4
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16020 int arg6
= (int) wxSIZE_AUTO
;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 PyObject
* obj2
= 0 ;
16024 PyObject
* obj3
= 0 ;
16025 PyObject
* obj4
= 0 ;
16026 PyObject
* obj5
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 arg2
= (int) SWIG_AsInt(obj1
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16036 arg3
= (int) SWIG_AsInt(obj2
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16038 arg4
= (int) SWIG_AsInt(obj3
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16040 arg5
= (int) SWIG_AsInt(obj4
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 arg6
= (int) SWIG_AsInt(obj5
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16060 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self",(char *) "width",(char *) "height", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 arg2
= (int) SWIG_AsInt(obj1
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16077 arg3
= (int) SWIG_AsInt(obj2
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 Py_INCREF(Py_None
); resultobj
= Py_None
;
16093 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 PyObject
* obj1
= 0 ;
16100 PyObject
* obj2
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "x",(char *) "y", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 arg2
= (int) SWIG_AsInt(obj1
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16110 arg3
= (int) SWIG_AsInt(obj2
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16129 int *arg2
= (int *) 0 ;
16130 int *arg3
= (int *) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 Py_INCREF(Py_None
); resultobj
= Py_None
;
16152 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16153 resultobj
= t_output_helper(resultobj
,o
);
16156 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16157 resultobj
= t_output_helper(resultobj
,o
);
16165 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16168 int *arg2
= (int *) 0 ;
16169 int *arg3
= (int *) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16192 resultobj
= t_output_helper(resultobj
,o
);
16195 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16196 resultobj
= t_output_helper(resultobj
,o
);
16204 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16207 int *arg2
= (int *) 0 ;
16208 int *arg3
= (int *) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16231 resultobj
= t_output_helper(resultobj
,o
);
16234 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16235 resultobj
= t_output_helper(resultobj
,o
);
16243 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 wxSize
* resultptr
;
16264 resultptr
= new wxSize((wxSize
&) result
);
16265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16273 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 wxSize
* resultptr
;
16294 resultptr
= new wxSize((wxSize
&) result
);
16295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16303 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->base_InitDialog();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (bool)(arg1
)->base_TransferDataToWindow();
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16356 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)(arg1
)->base_Validate();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16440 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16468 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 wxSize
* resultptr
;
16489 resultptr
= new wxSize((wxSize
&) result
);
16490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16498 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16501 wxWindow
*arg2
= (wxWindow
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "child", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->base_AddChild(arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16530 wxWindow
*arg2
= (wxWindow
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "child", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 (arg1
)->base_RemoveChild(arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->base_ShouldInheritColours();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16587 wxColour
*arg2
= 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "c", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16619 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16621 return Py_BuildValue((char *)"");
16623 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxWindow
*arg1
= (wxWindow
*) 0 ;
16627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16631 long arg5
= (long) 0 ;
16632 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16634 wxPyScrolledWindow
*result
;
16637 bool temp6
= False
;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 PyObject
* obj2
= 0 ;
16641 PyObject
* obj3
= 0 ;
16642 PyObject
* obj4
= 0 ;
16643 PyObject
* obj5
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 arg2
= (int const) SWIG_AsInt(obj1
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16666 arg5
= (long) SWIG_AsLong(obj4
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16671 arg6
= wxString_in_helper(obj5
);
16672 if (arg6
== NULL
) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16698 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxPyScrolledWindow
*result
;
16701 char *kwnames
[] = {
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16720 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16723 PyObject
*arg2
= (PyObject
*) 0 ;
16724 PyObject
*arg3
= (PyObject
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 PyObject
* obj2
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "self",(char *) "_class", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 PyObject
* obj2
= 0 ;
16761 PyObject
* obj3
= 0 ;
16762 PyObject
* obj4
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16770 arg2
= (int) SWIG_AsInt(obj1
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16772 arg3
= (int) SWIG_AsInt(obj2
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16774 arg4
= (int) SWIG_AsInt(obj3
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16776 arg5
= (int) SWIG_AsInt(obj4
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16799 int arg6
= (int) wxSIZE_AUTO
;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 PyObject
* obj2
= 0 ;
16803 PyObject
* obj3
= 0 ;
16804 PyObject
* obj4
= 0 ;
16805 PyObject
* obj5
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 arg2
= (int) SWIG_AsInt(obj1
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16815 arg3
= (int) SWIG_AsInt(obj2
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16817 arg4
= (int) SWIG_AsInt(obj3
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16819 arg5
= (int) SWIG_AsInt(obj4
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 arg6
= (int) SWIG_AsInt(obj5
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 PyObject
* obj2
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "width",(char *) "height", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 arg2
= (int) SWIG_AsInt(obj1
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16856 arg3
= (int) SWIG_AsInt(obj2
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 Py_INCREF(Py_None
); resultobj
= Py_None
;
16872 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
;
16874 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 PyObject
* obj2
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self",(char *) "x",(char *) "y", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 arg2
= (int) SWIG_AsInt(obj1
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16889 arg3
= (int) SWIG_AsInt(obj2
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16908 int *arg2
= (int *) 0 ;
16909 int *arg3
= (int *) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16932 resultobj
= t_output_helper(resultobj
,o
);
16935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16936 resultobj
= t_output_helper(resultobj
,o
);
16944 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16947 int *arg2
= (int *) 0 ;
16948 int *arg3
= (int *) 0 ;
16951 PyObject
* obj0
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16971 resultobj
= t_output_helper(resultobj
,o
);
16974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16975 resultobj
= t_output_helper(resultobj
,o
);
16983 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16986 int *arg2
= (int *) 0 ;
16987 int *arg3
= (int *) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 Py_INCREF(Py_None
); resultobj
= Py_None
;
17009 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17010 resultobj
= t_output_helper(resultobj
,o
);
17013 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17014 resultobj
= t_output_helper(resultobj
,o
);
17022 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "self", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 wxSize
* resultptr
;
17043 resultptr
= new wxSize((wxSize
&) result
);
17044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17052 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 wxSize
* resultptr
;
17073 resultptr
= new wxSize((wxSize
&) result
);
17074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17082 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->base_InitDialog();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (bool)(arg1
)->base_TransferDataToWindow();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17135 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17163 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (bool)(arg1
)->base_Validate();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17191 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17247 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 wxSize
* resultptr
;
17268 resultptr
= new wxSize((wxSize
&) result
);
17269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17277 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17280 wxWindow
*arg2
= (wxWindow
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "child", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->base_AddChild(arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17309 wxWindow
*arg2
= (wxWindow
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "child", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->base_RemoveChild(arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (bool)(arg1
)->base_ShouldInheritColours();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17363 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17366 wxColour
*arg2
= 0 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "c", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17398 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17400 return Py_BuildValue((char *)"");
17402 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17403 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17408 static PyObject
*_wrap_PrintoutTitleStr_get() {
17413 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17415 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17422 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17423 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17428 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17433 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17435 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17442 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPrintData
*result
;
17445 char *kwnames
[] = {
17449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (wxPrintData
*)new wxPrintData();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17464 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 Py_INCREF(Py_None
); resultobj
= Py_None
;
17489 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "self", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (int)(arg1
)->GetNoCopies();
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_FromInt((int)result
);
17515 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (bool)(arg1
)->GetCollate();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17543 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (int)(arg1
)->GetOrientation();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_FromInt((int)result
);
17569 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (bool)(arg1
)->Ok();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17597 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17613 result
= (wxString
*) &_result_ref
;
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17623 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17632 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)(arg1
)->GetColour();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (int)(arg1
)->GetDuplex();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= SWIG_FromInt((int)result
);
17686 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (int)(arg1
)->GetPaperId();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= SWIG_FromInt((int)result
);
17712 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17728 result
= (wxSize
*) &_result_ref
;
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17741 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (int)(arg1
)->GetQuality();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_FromInt((int)result
);
17767 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "v", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 arg2
= (int) SWIG_AsInt(obj1
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->SetNoCopies(arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 Py_INCREF(Py_None
); resultobj
= Py_None
;
17796 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "flag", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17809 arg2
= (bool) SWIG_AsBool(obj1
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 (arg1
)->SetCollate(arg2
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 Py_INCREF(Py_None
); resultobj
= Py_None
;
17825 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17827 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "orient", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17838 arg2
= (int) SWIG_AsInt(obj1
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->SetOrientation(arg2
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 Py_INCREF(Py_None
); resultobj
= Py_None
;
17854 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17857 wxString
*arg2
= 0 ;
17858 bool temp2
= False
;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj1
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "name", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 arg2
= wxString_in_helper(obj1
);
17870 if (arg2
== NULL
) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17895 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "colour", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (bool) SWIG_AsBool(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 (arg1
)->SetColour(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 Py_INCREF(Py_None
); resultobj
= Py_None
;
17924 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self",(char *) "duplex", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 Py_INCREF(Py_None
); resultobj
= Py_None
;
17953 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "sizeId", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17966 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self",(char *) "sz", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 Py_INCREF(Py_None
); resultobj
= Py_None
;
18014 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "quality", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18027 arg2
= (int) SWIG_AsInt(obj1
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 (arg1
)->SetQuality(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18059 result
= (wxString
*) &_result_ref
;
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18078 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18094 result
= (wxString
*) &_result_ref
;
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18104 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18113 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18129 result
= (wxString
*) &_result_ref
;
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18148 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 wxString
const &_result_ref
= (arg1
)->GetFilename();
18164 result
= (wxString
*) &_result_ref
;
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18183 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18199 result
= (wxString
*) &_result_ref
;
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18209 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18218 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (double)(arg1
)->GetPrinterScaleX();
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_FromDouble((double)result
);
18244 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (double)(arg1
)->GetPrinterScaleY();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_FromDouble((double)result
);
18270 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (long)(arg1
)->GetPrinterTranslateX();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_FromLong((long)result
);
18296 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (long)(arg1
)->GetPrinterTranslateY();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_FromLong((long)result
);
18322 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (int)(arg1
)->GetPrintMode();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_FromInt((int)result
);
18348 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18351 wxString
*arg2
= 0 ;
18352 bool temp2
= False
;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "command", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 arg2
= wxString_in_helper(obj1
);
18364 if (arg2
== NULL
) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18392 wxString
*arg2
= 0 ;
18393 bool temp2
= False
;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self",(char *) "options", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 arg2
= wxString_in_helper(obj1
);
18405 if (arg2
== NULL
) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18433 wxString
*arg2
= 0 ;
18434 bool temp2
= False
;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "command", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg2
= wxString_in_helper(obj1
);
18446 if (arg2
== NULL
) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18474 wxString
*arg2
= 0 ;
18475 bool temp2
= False
;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "filename", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 arg2
= wxString_in_helper(obj1
);
18487 if (arg2
== NULL
) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 (arg1
)->SetFilename((wxString
const &)*arg2
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 Py_INCREF(Py_None
); resultobj
= Py_None
;
18512 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18515 wxString
*arg2
= 0 ;
18516 bool temp2
= False
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "path", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18527 arg2
= wxString_in_helper(obj1
);
18528 if (arg2
== NULL
) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18553 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self",(char *) "x", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 arg2
= (double) SWIG_AsDouble(obj1
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetPrinterScaleX(arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "y", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 arg2
= (double) SWIG_AsDouble(obj1
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->SetPrinterScaleY(arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 Py_INCREF(Py_None
); resultobj
= Py_None
;
18611 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 PyObject
* obj2
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self",(char *) "x",(char *) "y", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 arg2
= (double) SWIG_AsDouble(obj1
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18628 arg3
= (double) SWIG_AsDouble(obj2
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self",(char *) "x", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 arg2
= (long) SWIG_AsLong(obj1
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 (arg1
)->SetPrinterTranslateX(arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 Py_INCREF(Py_None
); resultobj
= Py_None
;
18673 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "y", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 arg2
= (long) SWIG_AsLong(obj1
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->SetPrinterTranslateY(arg2
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 Py_INCREF(Py_None
); resultobj
= Py_None
;
18702 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 PyObject
* obj2
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "x",(char *) "y", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= (long) SWIG_AsLong(obj1
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18719 arg3
= (long) SWIG_AsLong(obj2
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 Py_INCREF(Py_None
); resultobj
= Py_None
;
18735 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self",(char *) "printMode", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18767 wxOutputStream
*result
;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18790 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18793 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self",(char *) "outputstream", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->SetOutputStream(arg2
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 Py_INCREF(Py_None
); resultobj
= Py_None
;
18819 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18824 return Py_BuildValue((char *)"");
18826 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPageSetupDialogData
*result
;
18829 char *kwnames
[] = {
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18848 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self",(char *) "flag", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 arg2
= (bool) SWIG_AsBool(obj1
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->EnableHelp(arg2
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 Py_INCREF(Py_None
); resultobj
= Py_None
;
18902 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "flag", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 arg2
= (bool) SWIG_AsBool(obj1
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->EnableMargins(arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "flag", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 arg2
= (bool) SWIG_AsBool(obj1
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 (arg1
)->EnableOrientation(arg2
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 PyObject
* obj1
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self",(char *) "flag", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 arg2
= (bool) SWIG_AsBool(obj1
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->EnablePaper(arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "flag", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 arg2
= (bool) SWIG_AsBool(obj1
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->EnablePrinter(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19018 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (bool)(arg1
)->GetDefaultMinMargins();
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (bool)(arg1
)->GetEnableMargins();
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19074 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (bool)(arg1
)->GetEnableOrientation();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19102 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (bool)(arg1
)->GetEnablePaper();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19130 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (bool)(arg1
)->GetEnablePrinter();
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19158 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (bool)(arg1
)->GetEnableHelp();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19186 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (bool)(arg1
)->GetDefaultInfo();
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19214 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (arg1
)->GetMarginTopLeft();
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 wxPoint
* resultptr
;
19235 resultptr
= new wxPoint((wxPoint
&) result
);
19236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19244 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (arg1
)->GetMarginBottomRight();
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19264 wxPoint
* resultptr
;
19265 resultptr
= new wxPoint((wxPoint
&) result
);
19266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19274 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (arg1
)->GetMinMarginTopLeft();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 wxPoint
* resultptr
;
19295 resultptr
= new wxPoint((wxPoint
&) result
);
19296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19304 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= (arg1
)->GetMinMarginBottomRight();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 wxPoint
* resultptr
;
19325 resultptr
= new wxPoint((wxPoint
&) result
);
19326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19334 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (int)(arg1
)->GetPaperId();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_FromInt((int)result
);
19360 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (arg1
)->GetPaperSize();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 wxSize
* resultptr
;
19381 resultptr
= new wxSize((wxSize
&) result
);
19382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19390 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19393 wxPrintData
*result
;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19406 result
= (wxPrintData
*) &_result_ref
;
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19419 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= (bool)(arg1
)->Ok();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19447 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "flag", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 arg2
= (bool) SWIG_AsBool(obj1
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetDefaultInfo(arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "flag", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19489 arg2
= (bool) SWIG_AsBool(obj1
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->SetDefaultMinMargins(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19505 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19508 wxPoint
*arg2
= 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self",(char *) "pt", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19540 wxPoint
*arg2
= 0 ;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self",(char *) "pt", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19572 wxPoint
*arg2
= 0 ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self",(char *) "pt", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 Py_INCREF(Py_None
); resultobj
= Py_None
;
19601 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19604 wxPoint
*arg2
= 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "pt", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self",(char *) "id", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19662 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self",(char *) "size", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19694 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19695 PyObject
*resultobj
;
19696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19697 wxPrintData
*arg2
= 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "printData", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19710 if (arg2
== NULL
) {
19711 PyErr_SetString(PyExc_TypeError
,"null reference");
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 Py_INCREF(Py_None
); resultobj
= Py_None
;
19728 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19731 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19733 return Py_BuildValue((char *)"");
19735 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxWindow
*arg1
= (wxWindow
*) 0 ;
19738 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19739 wxPageSetupDialog
*result
;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "parent",(char *) "data", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19767 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19770 wxPageSetupDialogData
*result
;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19783 result
= (wxPageSetupDialogData
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19796 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (int)(arg1
)->ShowModal();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_FromInt((int)result
);
19822 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19827 return Py_BuildValue((char *)"");
19829 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19830 PyObject
*resultobj
;
19831 wxPrintDialogData
*result
;
19833 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19848 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19849 PyObject
*resultobj
;
19850 wxPrintData
*arg1
= 0 ;
19851 wxPrintDialogData
*result
;
19852 PyObject
* obj0
= 0 ;
19854 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19858 if (arg1
== NULL
) {
19859 PyErr_SetString(PyExc_TypeError
,"null reference");
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19876 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19881 argc
= PyObject_Length(args
);
19882 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19886 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19892 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19900 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19904 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19909 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_FromInt((int)result
);
19960 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_FromInt((int)result
);
19986 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_FromInt((int)result
);
20012 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_FromInt((int)result
);
20038 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_FromInt((int)result
);
20064 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20068 PyObject
* obj0
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20120 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20148 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20176 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20204 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "v", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 arg2
= (int) SWIG_AsInt(obj1
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 (arg1
)->SetFromPage(arg2
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 Py_INCREF(Py_None
); resultobj
= Py_None
;
20233 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "v", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (int) SWIG_AsInt(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetToPage(arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 Py_INCREF(Py_None
); resultobj
= Py_None
;
20262 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "v", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 arg2
= (int) SWIG_AsInt(obj1
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 (arg1
)->SetMinPage(arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "v", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20304 arg2
= (int) SWIG_AsInt(obj1
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 (arg1
)->SetMaxPage(arg2
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 Py_INCREF(Py_None
); resultobj
= Py_None
;
20320 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self",(char *) "v", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 arg2
= (int) SWIG_AsInt(obj1
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 (arg1
)->SetNoCopies(arg2
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "flag", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 arg2
= (bool) SWIG_AsBool(obj1
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 (arg1
)->SetAllPages(arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self",(char *) "flag", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20391 arg2
= (bool) SWIG_AsBool(obj1
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->SetSelection(arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self",(char *) "flag", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 arg2
= (bool) SWIG_AsBool(obj1
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 (arg1
)->SetCollate(arg2
);
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 Py_INCREF(Py_None
); resultobj
= Py_None
;
20436 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "flag", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 arg2
= (bool) SWIG_AsBool(obj1
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetPrintToFile(arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20465 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "flag", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 arg2
= (bool) SWIG_AsBool(obj1
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetSetupDialog(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self",(char *) "flag", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 arg2
= (bool) SWIG_AsBool(obj1
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 (arg1
)->EnablePrintToFile(arg2
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 Py_INCREF(Py_None
); resultobj
= Py_None
;
20523 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "flag", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 arg2
= (bool) SWIG_AsBool(obj1
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 (arg1
)->EnableSelection(arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 Py_INCREF(Py_None
); resultobj
= Py_None
;
20552 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "flag", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 arg2
= (bool) SWIG_AsBool(obj1
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->EnablePageNumbers(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "flag", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 arg2
= (bool) SWIG_AsBool(obj1
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->EnableHelp(arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20694 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20722 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20750 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20753 wxPrintData
*result
;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20766 result
= (wxPrintData
*) &_result_ref
;
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20779 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20782 wxPrintData
*arg2
= 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self",(char *) "printData", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20795 if (arg2
== NULL
) {
20796 PyErr_SetString(PyExc_TypeError
,"null reference");
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 Py_INCREF(Py_None
); resultobj
= Py_None
;
20813 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20816 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20818 return Py_BuildValue((char *)"");
20820 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxWindow
*arg1
= (wxWindow
*) 0 ;
20823 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20824 wxPrintDialog
*result
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "parent",(char *) "data", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20852 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20855 wxPrintDialogData
*result
;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20868 result
= (wxPrintDialogData
*) &_result_ref
;
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20881 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxDC
*)(arg1
)->GetPrintDC();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxObject(result
);
20909 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (int)(arg1
)->ShowModal();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_FromInt((int)result
);
20935 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20938 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20940 return Py_BuildValue((char *)"");
20942 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "data", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (wxPrinter
*)new wxPrinter(arg1
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20970 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 char *kwnames
[] = {
20975 (char *) "self", NULL
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20998 wxWindow
*arg2
= (wxWindow
*) 0 ;
20999 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 PyObject
* obj2
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self",(char *) "parent",(char *) "printout", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 Py_INCREF(Py_None
); resultobj
= Py_None
;
21028 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21031 wxPrintDialogData
*result
;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21044 result
= (wxPrintDialogData
*) &_result_ref
;
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21057 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21060 wxWindow
*arg2
= (wxWindow
*) 0 ;
21061 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21062 int arg4
= (int) True
;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 PyObject
* obj2
= 0 ;
21067 PyObject
* obj3
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 arg4
= (int) SWIG_AsInt(obj3
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21099 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21102 wxWindow
*arg2
= (wxWindow
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 PyObject
* obj1
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self",(char *) "parent", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= wxPyMake_wxObject(result
);
21131 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
;
21133 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21134 wxWindow
*arg2
= (wxWindow
*) 0 ;
21135 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21136 wxString
*arg4
= 0 ;
21137 bool temp4
= False
;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 PyObject
* obj2
= 0 ;
21141 PyObject
* obj3
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 arg4
= wxString_in_helper(obj3
);
21155 if (arg4
== NULL
) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 Py_INCREF(Py_None
); resultobj
= Py_None
;
21180 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21183 wxWindow
*arg2
= (wxWindow
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "parent", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (bool)(arg1
)->Setup(arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21212 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (bool)(arg1
)->GetAbort();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21240 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21243 char *kwnames
[] = {
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (int)wxPrinter::GetLastError();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_FromInt((int)result
);
21262 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21267 return Py_BuildValue((char *)"");
21269 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21272 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21273 wxPyPrintout
*result
;
21274 bool temp1
= False
;
21275 PyObject
* obj0
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "title", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21283 arg1
= wxString_in_helper(obj0
);
21284 if (arg1
== NULL
) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= wxPyMake_wxObject(result
);
21312 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21315 PyObject
*arg2
= (PyObject
*) 0 ;
21316 PyObject
*arg3
= (PyObject
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 PyObject
* obj2
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self",(char *) "self",(char *) "_class", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 Py_INCREF(Py_None
); resultobj
= Py_None
;
21343 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21375 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (wxDC
*)(arg1
)->GetDC();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= wxPyMake_wxObject(result
);
21403 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21406 wxDC
*arg2
= (wxDC
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "dc", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->SetDC(arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 PyObject
* obj2
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "w",(char *) "h", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 arg2
= (int) SWIG_AsInt(obj1
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21449 arg3
= (int) SWIG_AsInt(obj2
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21468 int *arg2
= (int *) 0 ;
21469 int *arg3
= (int *) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 Py_INCREF(Py_None
); resultobj
= Py_None
;
21491 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21492 resultobj
= t_output_helper(resultobj
,o
);
21495 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21496 resultobj
= t_output_helper(resultobj
,o
);
21504 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 PyObject
* obj2
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "w",(char *) "h", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (int) SWIG_AsInt(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21521 arg3
= (int) SWIG_AsInt(obj2
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21540 int *arg2
= (int *) 0 ;
21541 int *arg3
= (int *) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 Py_INCREF(Py_None
); resultobj
= Py_None
;
21563 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21564 resultobj
= t_output_helper(resultobj
,o
);
21567 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21568 resultobj
= t_output_helper(resultobj
,o
);
21576 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "x",(char *) "y", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg2
= (int) SWIG_AsInt(obj1
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 arg3
= (int) SWIG_AsInt(obj2
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->SetPPIScreen(arg2
,arg3
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 Py_INCREF(Py_None
); resultobj
= Py_None
;
21609 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21612 int *arg2
= (int *) 0 ;
21613 int *arg3
= (int *) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->GetPPIScreen(arg2
,arg3
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21636 resultobj
= t_output_helper(resultobj
,o
);
21639 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21640 resultobj
= t_output_helper(resultobj
,o
);
21648 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "x",(char *) "y", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg2
= (int) SWIG_AsInt(obj1
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21665 arg3
= (int) SWIG_AsInt(obj2
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 Py_INCREF(Py_None
); resultobj
= Py_None
;
21681 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21684 int *arg2
= (int *) 0 ;
21685 int *arg3
= (int *) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 Py_INCREF(Py_None
); resultobj
= Py_None
;
21707 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21708 resultobj
= t_output_helper(resultobj
,o
);
21711 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21712 resultobj
= t_output_helper(resultobj
,o
);
21720 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (bool)(arg1
)->IsPreview();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21748 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "p", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 arg2
= (bool) SWIG_AsBool(obj1
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetIsPreview(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 PyObject
* obj2
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 arg2
= (int) SWIG_AsInt(obj1
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21795 arg3
= (int) SWIG_AsInt(obj2
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21813 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 (arg1
)->base_OnEndDocument();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 Py_INCREF(Py_None
); resultobj
= Py_None
;
21838 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 (arg1
)->base_OnBeginPrinting();
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 Py_INCREF(Py_None
); resultobj
= Py_None
;
21863 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 (arg1
)->base_OnEndPrinting();
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 Py_INCREF(Py_None
); resultobj
= Py_None
;
21888 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->base_OnPreparePrinting();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "page", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (int) SWIG_AsInt(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (bool)(arg1
)->base_HasPage(arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21945 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21948 int *arg2
= (int *) 0 ;
21949 int *arg3
= (int *) 0 ;
21950 int *arg4
= (int *) 0 ;
21951 int *arg5
= (int *) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21977 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21978 resultobj
= t_output_helper(resultobj
,o
);
21981 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21982 resultobj
= t_output_helper(resultobj
,o
);
21985 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21986 resultobj
= t_output_helper(resultobj
,o
);
21989 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21990 resultobj
= t_output_helper(resultobj
,o
);
21998 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22001 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22003 return Py_BuildValue((char *)"");
22005 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22008 wxWindow
*arg2
= (wxWindow
*) 0 ;
22009 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22010 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22011 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22012 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22013 long arg5
= (long) 0 ;
22014 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22015 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22016 wxPreviewCanvas
*result
;
22019 bool temp6
= False
;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 PyObject
* obj3
= 0 ;
22024 PyObject
* obj4
= 0 ;
22025 PyObject
* obj5
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22044 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22048 arg5
= (long) SWIG_AsLong(obj4
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22053 arg6
= wxString_in_helper(obj5
);
22054 if (arg6
== NULL
) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22080 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22083 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22085 return Py_BuildValue((char *)"");
22087 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22090 wxFrame
*arg2
= (wxFrame
*) 0 ;
22091 wxString
*arg3
= 0 ;
22092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22096 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22097 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22099 wxPreviewFrame
*result
;
22100 bool temp3
= False
;
22103 bool temp7
= False
;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 PyObject
* obj2
= 0 ;
22107 PyObject
* obj3
= 0 ;
22108 PyObject
* obj4
= 0 ;
22109 PyObject
* obj5
= 0 ;
22110 PyObject
* obj6
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 arg3
= wxString_in_helper(obj2
);
22122 if (arg3
== NULL
) SWIG_fail
;
22128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22138 arg6
= (long) SWIG_AsLong(obj5
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22143 arg7
= wxString_in_helper(obj6
);
22144 if (arg7
== NULL
) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22178 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 (arg1
)->Initialize();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 Py_INCREF(Py_None
); resultobj
= Py_None
;
22203 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 (arg1
)->CreateControlBar();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 (arg1
)->CreateCanvas();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 Py_INCREF(Py_None
); resultobj
= Py_None
;
22253 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22256 wxPreviewControlBar
*result
;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22279 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22282 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22284 return Py_BuildValue((char *)"");
22286 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22290 wxWindow
*arg3
= (wxWindow
*) 0 ;
22291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22295 long arg6
= (long) wxTAB_TRAVERSAL
;
22296 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22298 wxPreviewControlBar
*result
;
22301 bool temp7
= False
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 PyObject
* obj3
= 0 ;
22306 PyObject
* obj4
= 0 ;
22307 PyObject
* obj5
= 0 ;
22308 PyObject
* obj6
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22316 arg2
= (long) SWIG_AsLong(obj1
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22318 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22333 arg6
= (long) SWIG_AsLong(obj5
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22338 arg7
= wxString_in_helper(obj6
);
22339 if (arg7
== NULL
) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22365 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (int)(arg1
)->GetZoomControl();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_FromInt((int)result
);
22391 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "zoom", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (int) SWIG_AsInt(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetZoomControl(arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22423 wxPrintPreview
*result
;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22446 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22449 PyObject
* obj0
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 Py_INCREF(Py_None
); resultobj
= Py_None
;
22471 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->OnPrevious();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 char *kwnames
[] = {
22551 (char *) "self", NULL
22554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22574 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22576 return Py_BuildValue((char *)"");
22578 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22579 PyObject
*resultobj
;
22580 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22581 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22582 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22583 wxPrintPreview
*result
;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 PyObject
* obj2
= 0 ;
22588 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22611 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22612 PyObject
*resultobj
;
22613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22614 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22615 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22616 wxPrintPreview
*result
;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 PyObject
* obj2
= 0 ;
22621 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22642 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22647 argc
= PyObject_Length(args
);
22648 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22649 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22651 if ((argc
>= 2) && (argc
<= 3)) {
22655 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22665 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22674 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22678 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22686 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22695 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22705 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22715 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22723 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22729 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22734 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "pageNum", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 arg2
= (int) SWIG_AsInt(obj1
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22766 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (int)(arg1
)->GetCurrentPage();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_FromInt((int)result
);
22792 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22795 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "printout", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->SetPrintout(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 Py_INCREF(Py_None
); resultobj
= Py_None
;
22821 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22824 wxPyPrintout
*result
;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= wxPyMake_wxObject(result
);
22849 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22852 wxPyPrintout
*result
;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= wxPyMake_wxObject(result
);
22877 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22880 wxFrame
*arg2
= (wxFrame
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "frame", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 (arg1
)->SetFrame(arg2
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22909 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "canvas", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->SetCanvas(arg2
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 Py_INCREF(Py_None
); resultobj
= Py_None
;
22935 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (wxFrame
*)(arg1
)->GetFrame();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= wxPyMake_wxObject(result
);
22963 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22966 wxPreviewCanvas
*result
;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22989 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22992 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 PyObject
* obj2
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23010 if (arg3
== NULL
) {
23011 PyErr_SetString(PyExc_TypeError
,"null reference");
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23030 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23033 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 PyObject
* obj2
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23051 if (arg3
== NULL
) {
23052 PyErr_SetString(PyExc_TypeError
,"null reference");
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23071 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self",(char *) "pageNum", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23085 arg2
= (int) SWIG_AsInt(obj1
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (bool)(arg1
)->RenderPage(arg2
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23103 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23106 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "canvas", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->AdjustScrollbars(arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23135 wxPrintDialogData
*result
;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23148 result
= (wxPrintDialogData
*) &_result_ref
;
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23161 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self",(char *) "percent", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 arg2
= (int) SWIG_AsInt(obj1
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 (arg1
)->SetZoom(arg2
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 Py_INCREF(Py_None
); resultobj
= Py_None
;
23190 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (int)(arg1
)->GetZoom();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_FromInt((int)result
);
23216 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (int)(arg1
)->GetMaxPage();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= SWIG_FromInt((int)result
);
23242 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (int)(arg1
)->GetMinPage();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_FromInt((int)result
);
23268 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (bool)(arg1
)->Ok();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23296 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "ok", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= (bool) SWIG_AsBool(obj1
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->SetOk(arg2
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 Py_INCREF(Py_None
); resultobj
= Py_None
;
23325 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "interactive", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 arg2
= (bool) SWIG_AsBool(obj1
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (bool)(arg1
)->Print(arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23357 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 (arg1
)->DetermineScaling();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23385 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23387 return Py_BuildValue((char *)"");
23389 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23390 PyObject
*resultobj
;
23391 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23392 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23393 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23394 wxPyPrintPreview
*result
;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 PyObject
* obj2
= 0 ;
23399 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23422 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23423 PyObject
*resultobj
;
23424 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23425 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23426 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23427 wxPyPrintPreview
*result
;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 PyObject
* obj2
= 0 ;
23432 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23453 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23458 argc
= PyObject_Length(args
);
23459 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23460 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23462 if ((argc
>= 2) && (argc
<= 3)) {
23466 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23476 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23485 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23489 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23497 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23506 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23516 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23526 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23534 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23545 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
;
23547 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23548 PyObject
*arg2
= (PyObject
*) 0 ;
23549 PyObject
*arg3
= (PyObject
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 PyObject
* obj2
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self",(char *) "self",(char *) "_class", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 Py_INCREF(Py_None
); resultobj
= Py_None
;
23576 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23581 PyObject
* obj0
= 0 ;
23582 PyObject
* obj1
= 0 ;
23583 char *kwnames
[] = {
23584 (char *) "self",(char *) "pageNum", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 arg2
= (int) SWIG_AsInt(obj1
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23608 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23611 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 PyObject
* obj2
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23629 if (arg3
== NULL
) {
23630 PyErr_SetString(PyExc_TypeError
,"null reference");
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23649 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23652 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 PyObject
* obj2
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23670 if (arg3
== NULL
) {
23671 PyErr_SetString(PyExc_TypeError
,"null reference");
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23690 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self",(char *) "pageNum", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23704 arg2
= (int) SWIG_AsInt(obj1
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23722 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 char *kwnames
[] = {
23729 (char *) "self",(char *) "percent", NULL
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 arg2
= (int) SWIG_AsInt(obj1
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 (arg1
)->base_SetZoom(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 Py_INCREF(Py_None
); resultobj
= Py_None
;
23751 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "interactive", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg2
= (bool) SWIG_AsBool(obj1
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (bool)(arg1
)->base_Print(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 (arg1
)->base_DetermineScaling();
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 Py_INCREF(Py_None
); resultobj
= Py_None
;
23808 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23811 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23813 return Py_BuildValue((char *)"");
23815 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23818 wxFrame
*arg2
= (wxFrame
*) 0 ;
23819 wxString
*arg3
= 0 ;
23820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23824 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23825 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23827 wxPyPreviewFrame
*result
;
23828 bool temp3
= False
;
23831 bool temp7
= False
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 PyObject
* obj2
= 0 ;
23835 PyObject
* obj3
= 0 ;
23836 PyObject
* obj4
= 0 ;
23837 PyObject
* obj5
= 0 ;
23838 PyObject
* obj6
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 arg3
= wxString_in_helper(obj2
);
23850 if (arg3
== NULL
) SWIG_fail
;
23856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23866 arg6
= (long) SWIG_AsLong(obj5
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23871 arg7
= wxString_in_helper(obj6
);
23872 if (arg7
== NULL
) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23906 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23909 PyObject
*arg2
= (PyObject
*) 0 ;
23910 PyObject
*arg3
= (PyObject
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 PyObject
* obj2
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self",(char *) "self",(char *) "_class", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23940 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "canvas", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->SetPreviewCanvas(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23969 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "bar", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->SetControlBar(arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23995 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 (arg1
)->base_Initialize();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 Py_INCREF(Py_None
); resultobj
= Py_None
;
24020 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 (arg1
)->base_CreateCanvas();
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 Py_INCREF(Py_None
); resultobj
= Py_None
;
24045 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->base_CreateControlBar();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24073 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24075 return Py_BuildValue((char *)"");
24077 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24081 wxWindow
*arg3
= (wxWindow
*) 0 ;
24082 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24083 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24084 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24085 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24086 long arg6
= (long) 0 ;
24087 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24088 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24089 wxPyPreviewControlBar
*result
;
24092 bool temp7
= False
;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 PyObject
* obj2
= 0 ;
24096 PyObject
* obj3
= 0 ;
24097 PyObject
* obj4
= 0 ;
24098 PyObject
* obj5
= 0 ;
24099 PyObject
* obj6
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 arg2
= (long) SWIG_AsLong(obj1
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24109 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24124 arg6
= (long) SWIG_AsLong(obj5
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24129 arg7
= wxString_in_helper(obj6
);
24130 if (arg7
== NULL
) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24156 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24159 PyObject
*arg2
= (PyObject
*) 0 ;
24160 PyObject
*arg3
= (PyObject
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 PyObject
* obj2
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "self",(char *) "_class", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24190 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 char *kwnames
[] = {
24194 (char *) "self",(char *) "preview", NULL
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->SetPrintPreview(arg2
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 Py_INCREF(Py_None
); resultobj
= Py_None
;
24216 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->base_CreateButtons();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self",(char *) "zoom", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 arg2
= (int) SWIG_AsInt(obj1
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 (arg1
)->base_SetZoomControl(arg2
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 Py_INCREF(Py_None
); resultobj
= Py_None
;
24270 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24273 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24275 return Py_BuildValue((char *)"");
24277 static PyMethodDef SwigMethods
[] = {
24278 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24283 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24293 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24294 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24298 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24299 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24304 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24318 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24341 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"Dialog_IsModalShowing", (PyCFunction
) _wrap_Dialog_IsModalShowing
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24353 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24357 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24361 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24366 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24381 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24408 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24415 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24438 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24446 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24458 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24464 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24473 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24479 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24484 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24490 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24494 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24512 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24538 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24545 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24554 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24556 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24565 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24568 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24575 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24593 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24597 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24602 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24606 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24622 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24625 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24627 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24631 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24640 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24649 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24655 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24667 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24674 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24678 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24702 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24726 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24750 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24796 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24828 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24832 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24833 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24866 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24871 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24882 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24905 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24907 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24913 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24923 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24924 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24947 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24948 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24957 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24965 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24975 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24977 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24978 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24980 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24983 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24984 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24986 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24987 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24989 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24990 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24992 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24993 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24995 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24996 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24998 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24999 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25001 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25002 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25004 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25007 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25010 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25011 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25013 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25016 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25017 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25019 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25020 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25022 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25025 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25026 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25028 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25029 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25031 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25032 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25034 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25035 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25037 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25038 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25040 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25041 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25043 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25044 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25046 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25047 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25049 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25052 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25053 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25055 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25056 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25058 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25059 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25061 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25062 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25064 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25065 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25067 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25068 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25070 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25071 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25073 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25074 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25076 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25077 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25079 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25080 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25082 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25083 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25085 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25086 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25088 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25091 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25092 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25094 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25095 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25097 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25098 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25100 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25101 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25103 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25104 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25106 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25109 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25112 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25115 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25116 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25118 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25119 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25121 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25122 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25124 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25125 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25127 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25130 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25133 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25136 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25139 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25142 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25145 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25148 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25149 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25151 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25152 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25154 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25157 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25160 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25163 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25164 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25166 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25169 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25170 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25172 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25173 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25175 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25176 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25178 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25179 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25181 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25184 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25185 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25187 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25188 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25190 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25193 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25194 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25196 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25199 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25202 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25205 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25206 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25208 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25211 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25212 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25214 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25217 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25220 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25223 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25226 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25229 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25230 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25232 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25235 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25238 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25241 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25244 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25247 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25250 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25253 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25256 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25257 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25259 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25260 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25262 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25263 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25265 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25266 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25268 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25269 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25271 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25272 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25274 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25275 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25277 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25278 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25280 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25281 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25283 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25284 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25286 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25289 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25292 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25295 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25298 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25301 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25304 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25307 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25310 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) ((wxSizer
*) x
));
25313 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25319 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25322 static void *_p_wxEventTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) ((wxEvent
*) x
));
25325 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) ((wxFontData
*) x
));
25328 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25331 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25334 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25337 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25340 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25343 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25346 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25349 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25352 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25355 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25356 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25358 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25359 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25361 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25362 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25364 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25365 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25367 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25370 static void *_p_wxControlTo_p_wxObject(void *x
) {
25371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25374 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25376 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25379 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25380 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25382 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25383 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25385 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25386 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25388 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25391 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25392 return (void *)((wxObject
*) ((wxColourData
*) x
));
25394 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25395 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25397 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25400 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25403 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25406 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25409 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25412 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25415 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25418 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25421 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25424 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25427 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25430 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25433 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25436 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25439 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25442 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25445 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25448 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25451 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25454 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25457 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25460 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25463 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25466 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25469 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25472 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25475 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25478 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25481 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25484 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25487 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25490 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25493 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25496 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25499 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25502 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25505 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25508 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25511 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25514 static void *_p_wxImageTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) ((wxImage
*) x
));
25517 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25520 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25523 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25526 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25529 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25532 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25535 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25538 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25541 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25544 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25547 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25550 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25553 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25556 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25559 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25562 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25565 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25568 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25571 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25574 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25577 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25580 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25583 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25586 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25589 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25592 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25595 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25598 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25601 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25604 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25607 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25610 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25613 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25616 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25619 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25625 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25628 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25631 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25634 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25637 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25640 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25643 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25646 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25649 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25652 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25655 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25658 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25661 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25664 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25667 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25670 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25673 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25676 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25677 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25679 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25680 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25682 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25683 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25685 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25686 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25688 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25689 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25691 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25692 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25694 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25695 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25697 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25698 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25700 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25701 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25703 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25704 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25706 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25707 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25709 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25710 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25712 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25713 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25715 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25716 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25718 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25719 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25721 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25722 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25724 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25725 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25727 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25728 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25730 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25731 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25733 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25734 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25736 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25737 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25739 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25740 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25742 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25743 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25745 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25746 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25748 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25749 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25751 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25752 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25754 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25755 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25757 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25758 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25760 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25761 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25763 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25764 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25766 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25769 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25772 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25773 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25775 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25776 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25778 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25779 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25781 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25782 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25784 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25785 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25787 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25788 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25790 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25791 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25793 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25794 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25796 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25797 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25799 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25800 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25802 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25803 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25805 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25806 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25808 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25809 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25811 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25812 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25814 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25815 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25817 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25818 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25820 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25821 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25823 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25824 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25826 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25827 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25829 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25830 return (void *)((wxWindow
*) ((wxControl
*) x
));
25832 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25833 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25835 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25836 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25838 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25839 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25841 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25842 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25844 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25845 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25847 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25848 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25850 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25851 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25853 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25854 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25856 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25857 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25859 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25860 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25862 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25863 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25865 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25866 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25868 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25869 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25871 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25872 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25874 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25875 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25877 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25878 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25880 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25881 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25883 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25884 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25886 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25887 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25889 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25890 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25892 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25893 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25895 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25896 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25898 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25899 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25901 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25902 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25904 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25905 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25907 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25908 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25910 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25911 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25913 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25914 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25916 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25917 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25919 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25920 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25922 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25923 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25925 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25926 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25928 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25929 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25931 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25932 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25934 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25935 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25937 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25938 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25940 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25941 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25943 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25944 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25946 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25947 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25949 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25950 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25952 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25953 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25955 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25956 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25958 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25959 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25961 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25962 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25964 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25965 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25967 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25968 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25970 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25971 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25973 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25974 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25976 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25979 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25980 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25982 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25983 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25985 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25986 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25988 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25989 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26041 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}};
26042 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26050 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26051 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}};
26052 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26053 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26054 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}};
26055 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}};
26056 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}};
26057 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}};
26058 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}};
26059 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}};
26060 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}};
26061 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}};
26062 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}};
26063 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}};
26064 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}};
26065 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}};
26066 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}};
26067 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}};
26068 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}};
26069 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}};
26070 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}};
26071 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}};
26072 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}};
26073 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}};
26074 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}};
26075 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}};
26077 static swig_type_info
*swig_types_initial
[] = {
26078 _swigt__p_wxQueryLayoutInfoEvent
,
26079 _swigt__p_wxPreviewFrame
,
26080 _swigt__p_wxPyPreviewFrame
,
26081 _swigt__p_wxPyPanel
,
26083 _swigt__p_wxPrintData
,
26084 _swigt__p_wxFontData
,
26086 _swigt__p_wxTaskBarIcon
,
26087 _swigt__p_wxIconBundle
,
26088 _swigt__p_wxLayoutAlgorithm
,
26089 _swigt__p_wxFindDialogEvent
,
26090 _swigt__p_wxPreviewCanvas
,
26092 _swigt__p_wxSplitterEvent
,
26093 _swigt__p_wxRegion
,
26094 _swigt__p_wxFindReplaceData
,
26099 _swigt__p_wxMDIChildFrame
,
26100 _swigt__p_wxColourData
,
26101 _swigt__p_wxNotifyEvent
,
26102 _swigt__p_wxPyWindow
,
26103 _swigt__p_wxSplashScreen
,
26104 _swigt__p_wxFindReplaceDialog
,
26105 _swigt__p_wxProgressDialog
,
26106 _swigt__p_wxMessageDialog
,
26107 _swigt__p_wxTextEntryDialog
,
26108 _swigt__p_wxSingleChoiceDialog
,
26109 _swigt__p_wxMultiChoiceDialog
,
26110 _swigt__p_wxFileDialog
,
26111 _swigt__p_wxPrinter
,
26112 _swigt__p_wxArrayInt
,
26113 _swigt__p_wxEvtHandler
,
26114 _swigt__p_wxCalculateLayoutEvent
,
26115 _swigt__p_wxPyHtmlListBox
,
26116 _swigt__p_wxPyVListBox
,
26119 _swigt__p_wxMiniFrame
,
26121 _swigt__p_wxPyPrintout
,
26122 _swigt__p_wxTaskBarIconEvent
,
26123 _swigt__p_wxScrollWinEvent
,
26124 _swigt__p_wxStatusBar
,
26125 _swigt__p_wxMDIParentFrame
,
26127 _swigt__p_wxObject
,
26128 _swigt__p_wxOutputStream
,
26129 _swigt__p_unsigned_long
,
26130 _swigt__p_wxPyScrolledWindow
,
26131 _swigt__p_wxMDIClientWindow
,
26132 _swigt__p_wxTipWindow
,
26133 _swigt__p_wxSashLayoutWindow
,
26134 _swigt__p_wxSplitterWindow
,
26135 _swigt__p_wxPyVScrolledWindow
,
26136 _swigt__p_wxPyPopupTransientWindow
,
26137 _swigt__p_wxPopupWindow
,
26138 _swigt__p_wxSashWindow
,
26139 _swigt__p_wxTopLevelWindow
,
26140 _swigt__p_wxWindow
,
26141 _swigt__p_wxScrolledWindow
,
26142 _swigt__p_wxSplashScreenWindow
,
26143 _swigt__p_wxMenuBar
,
26144 _swigt__p_wxPrintPreview
,
26145 _swigt__p_wxSashEvent
,
26146 _swigt__p_wxString
,
26147 _swigt__p_wxPyPrintPreview
,
26148 _swigt__p_wxFontDialog
,
26149 _swigt__p_wxDirDialog
,
26150 _swigt__p_wxColourDialog
,
26151 _swigt__p_wxDialog
,
26153 _swigt__p_wxPageSetupDialog
,
26154 _swigt__p_wxPrintDialog
,
26155 _swigt__p_wxBitmap
,
26156 _swigt__p_wxCommandEvent
,
26157 _swigt__p_wxPreviewControlBar
,
26158 _swigt__p_wxPyPreviewControlBar
,
26159 _swigt__p_wxColour
,
26160 _swigt__p_wxToolBar
,
26161 _swigt__p_wxPageSetupDialogData
,
26162 _swigt__p_wxPrintDialogData
,
26167 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26169 static swig_const_info swig_const_table
[] = {
26179 SWIGEXPORT(void) SWIG_init(void) {
26180 static PyObject
*SWIG_globals
= 0;
26181 static int typeinit
= 0;
26184 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26185 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26186 d
= PyModule_GetDict(m
);
26189 for (i
= 0; swig_types_initial
[i
]; i
++) {
26190 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26194 SWIG_InstallConstants(d
,swig_const_table
);
26196 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26197 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26198 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26199 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26200 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26201 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26202 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26203 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26204 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26205 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26206 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26207 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26208 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26209 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26210 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26211 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26212 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26213 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26214 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26215 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26216 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26217 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26218 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26219 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26220 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26221 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26222 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26223 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26224 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26225 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26226 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26227 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26228 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26229 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26230 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26231 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26232 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26233 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26234 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26235 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26236 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26237 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26238 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26239 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26240 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26241 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26242 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26243 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26244 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26245 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26246 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26247 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26248 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26249 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26250 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26251 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26252 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26253 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26254 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26255 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26256 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26257 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26258 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26259 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26260 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26261 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26262 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26263 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26264 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26265 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26266 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26267 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26268 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26269 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26270 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26271 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26272 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26273 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26274 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26275 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26276 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26277 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26278 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26279 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26280 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26281 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26282 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26283 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26284 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26286 // Map renamed classes back to their common name for OOR
26287 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26288 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26289 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26291 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26292 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26293 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26294 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26295 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26296 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26297 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26298 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26299 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26300 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26301 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26302 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26303 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26304 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26305 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26306 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26307 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26308 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26309 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26310 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26311 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26312 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26313 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26314 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26315 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26316 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26317 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26318 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26319 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26320 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26321 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26322 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26323 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26324 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26325 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26326 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26327 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26328 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26329 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26330 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26331 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26332 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26333 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26334 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26335 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26336 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26337 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26338 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26339 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26340 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26341 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26342 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26343 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26344 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26345 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26346 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26347 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26348 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26349 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26350 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26352 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");