1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= SWIG_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
738 unsigned long cookie
= 0;
739 int selected
= self
->GetFirstSelected(cookie
);
740 bool blocked
= wxPyBeginBlockThreads();
741 PyObject
* tup
= PyTuple_New(2);
742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
744 wxPyEndBlockThreads(blocked
);
747 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
748 int selected
= self
->GetNextSelected(cookie
);
749 bool blocked
= wxPyBeginBlockThreads();
750 PyObject
* tup
= PyTuple_New(2);
751 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
752 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
753 wxPyEndBlockThreads(blocked
);
757 #include <wx/htmllbox.h>
760 class wxPyHtmlListBox
: public wxHtmlListBox
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
764 wxPyHtmlListBox() : wxHtmlListBox() {}
766 wxPyHtmlListBox(wxWindow
*parent
,
767 wxWindowID id
= wxID_ANY
,
768 const wxPoint
& pos
= wxDefaultPosition
,
769 const wxSize
& size
= wxDefaultSize
,
771 const wxString
& name
= wxPyVListBoxNameStr
)
772 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
775 // Overridable virtuals
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
813 // implement dummy classes and such for wxMac
815 class wxTaskBarIcon
: public wxEvtHandler
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
822 class wxTaskBarIconEvent
: public wxEvent
825 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent
* Clone() const { return NULL
; }
831 wxEVT_TASKBAR_MOVE
= 0,
832 wxEVT_TASKBAR_LEFT_DOWN
= 0,
833 wxEVT_TASKBAR_LEFT_UP
= 0,
834 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
835 wxEVT_TASKBAR_RIGHT_UP
= 0,
836 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
864 // wxPyEndBlockThreads(blocked);
866 // rval = wxTaskBarIcon::CreatePopupMenu();
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
882 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
883 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
884 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
885 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
886 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
887 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
888 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
890 self
->GetFilenames(arr
);
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
896 return wxArrayString2PyList_helper(arr
);
898 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
899 return wxArrayInt2PyList_helper(self
->GetSelections());
901 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
902 return new wxSingleChoiceDialog(parent
, message
, caption
,
903 choices
, choices_array
, NULL
, style
, pos
);
908 // C++ version of Python aware wxWindow
909 class wxPyWindow
: public wxWindow
911 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
915 const wxPoint
& pos
= wxDefaultPosition
,
916 const wxSize
& size
= wxDefaultSize
,
918 const wxString
& name
= wxPyPanelNameStr
)
919 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
921 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
935 DEC_PYCALLBACK__(InitDialog
);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
938 DEC_PYCALLBACK_BOOL_(Validate
);
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
968 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
985 // C++ version of Python aware wxPanel
986 class wxPyPanel
: public wxPanel
988 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
992 const wxPoint
& pos
= wxDefaultPosition
,
993 const wxSize
& size
= wxDefaultSize
,
995 const wxString
& name
= wxPyPanelNameStr
)
996 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
998 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1013 DEC_PYCALLBACK__(InitDialog
);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1016 DEC_PYCALLBACK_BOOL_(Validate
);
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1046 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow
: public wxScrolledWindow
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1070 const wxPoint
& pos
= wxDefaultPosition
,
1071 const wxSize
& size
= wxDefaultSize
,
1073 const wxString
& name
= wxPyPanelNameStr
)
1074 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1076 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1090 DEC_PYCALLBACK__(InitDialog
);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1093 DEC_PYCALLBACK_BOOL_(Validate
);
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1123 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1141 #include "wx/wxPython/printfw.h"
1144 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1151 bool hadErr
= False
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1156 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1157 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1160 val
= PyTuple_GetItem(result
, 0);
1161 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1164 val
= PyTuple_GetItem(result
, 1);
1165 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1168 val
= PyTuple_GetItem(result
, 2);
1169 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1172 val
= PyTuple_GetItem(result
, 3);
1173 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1180 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1185 wxPyEndBlockThreads(blocked
);
1187 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1191 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1196 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1197 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1198 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1199 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a,false); \
1219 PyObject* dc = wxPyMake_wxObject(&b,false); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1224 wxPyEndBlockThreads(blocked); \
1226 rval = PCLASS::CBNAME(a, b); \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1236 class wxPyPrintPreview
: public wxPrintPreview
1238 DECLARE_CLASS(wxPyPrintPreview
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintDialogData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1245 wxPyPrintPreview(wxPyPrintout
* printout
,
1246 wxPyPrintout
* printoutForPrinting
,
1247 wxPrintData
* data
=NULL
)
1248 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1268 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1280 class wxPyPreviewFrame
: public wxPreviewFrame
1282 DECLARE_CLASS(wxPyPreviewFrame
);
1284 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1285 const wxString
& title
,
1286 const wxPoint
& pos
= wxDefaultPosition
,
1287 const wxSize
& size
= wxDefaultSize
,
1288 long style
= wxDEFAULT_FRAME_STYLE
,
1289 const wxString
& name
= wxPyFrameNameStr
)
1290 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1293 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1294 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1296 DEC_PYCALLBACK_VOID_(Initialize
);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1303 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1310 class wxPyPreviewControlBar
: public wxPreviewControlBar
1312 DECLARE_CLASS(wxPyPreviewControlBar
);
1314 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1317 const wxPoint
& pos
= wxDefaultPosition
,
1318 const wxSize
& size
= wxDefaultSize
,
1320 const wxString
& name
= wxPyPanelNameStr
)
1321 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1324 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1326 DEC_PYCALLBACK_VOID_(CreateButtons
);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1339 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxWindow
*arg1
= (wxWindow
*) 0 ;
1342 int arg2
= (int) (int)-1 ;
1343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1347 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1348 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1349 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1353 bool temp6
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 arg2
= (int const) SWIG_AsInt(obj1
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1384 arg5
= (long) SWIG_AsLong(obj4
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1389 arg6
= wxString_in_helper(obj5
);
1390 if (arg6
== NULL
) SWIG_fail
;
1395 if (!wxPyCheckForApp()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1417 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1426 if (!wxPyCheckForApp()) SWIG_fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (wxPanel
*)new wxPanel();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1440 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
*resultobj
;
1442 wxPanel
*arg1
= (wxPanel
*) 0 ;
1443 wxWindow
*arg2
= (wxWindow
*) 0 ;
1444 int arg3
= (int) (int)-1 ;
1445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1449 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1450 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1455 bool temp7
= False
;
1456 PyObject
* obj0
= 0 ;
1457 PyObject
* obj1
= 0 ;
1458 PyObject
* obj2
= 0 ;
1459 PyObject
* obj3
= 0 ;
1460 PyObject
* obj4
= 0 ;
1461 PyObject
* obj5
= 0 ;
1462 PyObject
* obj6
= 0 ;
1464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1473 arg3
= (int const) SWIG_AsInt(obj2
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1489 arg6
= (long) SWIG_AsLong(obj5
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1494 arg7
= wxString_in_helper(obj6
);
1495 if (arg7
== NULL
) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1523 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxPanel
*arg1
= (wxPanel
*) 0 ;
1526 PyObject
* obj0
= 0 ;
1528 (char *) "self", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 (arg1
)->InitDialog();
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 Py_INCREF(Py_None
); resultobj
= Py_None
;
1548 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1551 wxVisualAttributes result
;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "variant", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1559 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1563 if (!wxPyCheckForApp()) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1571 wxVisualAttributes
* resultptr
;
1572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1581 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1584 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1586 return Py_BuildValue((char *)"");
1588 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxWindow
*arg1
= (wxWindow
*) 0 ;
1591 int arg2
= (int) (int)-1 ;
1592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1596 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1599 wxScrolledWindow
*result
;
1602 bool temp6
= False
;
1603 PyObject
* obj0
= 0 ;
1604 PyObject
* obj1
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1607 PyObject
* obj4
= 0 ;
1608 PyObject
* obj5
= 0 ;
1610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1617 arg2
= (int const) SWIG_AsInt(obj1
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1633 arg5
= (long) SWIG_AsLong(obj4
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1638 arg6
= wxString_in_helper(obj5
);
1639 if (arg6
== NULL
) SWIG_fail
;
1644 if (!wxPyCheckForApp()) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1666 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxScrolledWindow
*result
;
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1675 if (!wxPyCheckForApp()) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1689 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1692 wxWindow
*arg2
= (wxWindow
*) 0 ;
1693 int arg3
= (int) (int)-1 ;
1694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1698 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1699 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1704 bool temp7
= False
;
1705 PyObject
* obj0
= 0 ;
1706 PyObject
* obj1
= 0 ;
1707 PyObject
* obj2
= 0 ;
1708 PyObject
* obj3
= 0 ;
1709 PyObject
* obj4
= 0 ;
1710 PyObject
* obj5
= 0 ;
1711 PyObject
* obj6
= 0 ;
1713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 arg3
= (int const) SWIG_AsInt(obj2
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1738 arg6
= (long) SWIG_AsLong(obj5
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1743 arg7
= wxString_in_helper(obj6
);
1744 if (arg7
== NULL
) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1772 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1779 int arg6
= (int) 0 ;
1780 int arg7
= (int) 0 ;
1781 bool arg8
= (bool) False
;
1782 PyObject
* obj0
= 0 ;
1783 PyObject
* obj1
= 0 ;
1784 PyObject
* obj2
= 0 ;
1785 PyObject
* obj3
= 0 ;
1786 PyObject
* obj4
= 0 ;
1787 PyObject
* obj5
= 0 ;
1788 PyObject
* obj6
= 0 ;
1789 PyObject
* obj7
= 0 ;
1791 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 arg2
= (int) SWIG_AsInt(obj1
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1799 arg3
= (int) SWIG_AsInt(obj2
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1801 arg4
= (int) SWIG_AsInt(obj3
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1803 arg5
= (int) SWIG_AsInt(obj4
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 arg6
= (int) SWIG_AsInt(obj5
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1810 arg7
= (int) SWIG_AsInt(obj6
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1814 arg8
= (bool) SWIG_AsBool(obj7
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1838 PyObject
* obj2
= 0 ;
1840 (char *) "self",(char *) "x",(char *) "y", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1846 arg2
= (int) SWIG_AsInt(obj1
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1848 arg3
= (int) SWIG_AsInt(obj2
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 (arg1
)->Scroll(arg2
,arg3
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "orient", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= SWIG_FromInt((int)result
);
1894 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1901 PyObject
* obj2
= 0 ;
1903 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 arg2
= (int) SWIG_AsInt(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 arg3
= (int) SWIG_AsInt(obj2
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1934 PyObject
* obj2
= 0 ;
1936 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 arg2
= (int) SWIG_AsInt(obj1
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= (int) SWIG_AsInt(obj2
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->SetScrollRate(arg2
,arg3
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1963 int *arg2
= (int *) 0 ;
1964 int *arg3
= (int *) 0 ;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "self", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1987 resultobj
= t_output_helper(resultobj
,o
);
1990 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1991 resultobj
= t_output_helper(resultobj
,o
);
1999 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2008 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (bool) SWIG_AsBool(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2016 arg3
= (bool) SWIG_AsBool(obj2
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 (arg1
)->EnableScrolling(arg2
,arg3
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2035 int *arg2
= (int *) 0 ;
2036 int *arg3
= (int *) 0 ;
2039 PyObject
* obj0
= 0 ;
2041 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2059 resultobj
= t_output_helper(resultobj
,o
);
2062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2063 resultobj
= t_output_helper(resultobj
,o
);
2071 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2078 PyObject
* obj2
= 0 ;
2080 (char *) "self",(char *) "xs",(char *) "ys", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 arg2
= (double) SWIG_AsDouble(obj1
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2088 arg3
= (double) SWIG_AsDouble(obj2
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 (arg1
)->SetScale(arg2
,arg3
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2108 PyObject
* obj0
= 0 ;
2110 (char *) "self", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 resultobj
= SWIG_FromDouble((double)result
);
2130 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2134 PyObject
* obj0
= 0 ;
2136 (char *) "self", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= SWIG_FromDouble((double)result
);
2156 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2157 PyObject
*resultobj
;
2158 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2165 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 wxPoint
* resultptr
;
2181 resultptr
= new wxPoint((wxPoint
&) result
);
2182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2190 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2191 PyObject
*resultobj
;
2192 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2195 int *arg4
= (int *) 0 ;
2196 int *arg5
= (int *) 0 ;
2199 PyObject
* obj0
= 0 ;
2200 PyObject
* obj1
= 0 ;
2201 PyObject
* obj2
= 0 ;
2205 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 arg2
= (int) SWIG_AsInt(obj1
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2210 arg3
= (int) SWIG_AsInt(obj2
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 Py_INCREF(Py_None
); resultobj
= Py_None
;
2221 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2222 resultobj
= t_output_helper(resultobj
,o
);
2225 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2234 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2239 argc
= PyObject_Length(args
);
2240 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2241 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2247 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2256 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2259 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2275 _v
= SWIG_CheckInt(argv
[1]);
2277 _v
= SWIG_CheckInt(argv
[2]);
2279 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2285 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2290 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2291 PyObject
*resultobj
;
2292 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2296 PyObject
* obj0
= 0 ;
2297 PyObject
* obj1
= 0 ;
2299 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 wxPoint
* resultptr
;
2315 resultptr
= new wxPoint((wxPoint
&) result
);
2316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2324 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2325 PyObject
*resultobj
;
2326 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2329 int *arg4
= (int *) 0 ;
2330 int *arg5
= (int *) 0 ;
2333 PyObject
* obj0
= 0 ;
2334 PyObject
* obj1
= 0 ;
2335 PyObject
* obj2
= 0 ;
2339 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2342 arg2
= (int) SWIG_AsInt(obj1
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2344 arg3
= (int) SWIG_AsInt(obj2
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2355 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2356 resultobj
= t_output_helper(resultobj
,o
);
2359 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2360 resultobj
= t_output_helper(resultobj
,o
);
2368 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2373 argc
= PyObject_Length(args
);
2374 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2375 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2381 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2390 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2393 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2401 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2409 _v
= SWIG_CheckInt(argv
[1]);
2411 _v
= SWIG_CheckInt(argv
[2]);
2413 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2419 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2424 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->AdjustScrollbars();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2452 wxScrollWinEvent
*arg2
= 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "event", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2467 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 resultobj
= SWIG_FromInt((int)result
);
2484 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2487 wxWindow
*arg2
= (wxWindow
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "self",(char *) "target", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 (arg1
)->SetTargetWindow(arg2
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2519 (char *) "self", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= wxPyMake_wxObject(result
, 0);
2541 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2548 (char *) "self",(char *) "dc", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2558 PyErr_SetString(PyExc_TypeError
,"null reference");
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->DoPrepareDC(*arg2
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2575 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2578 wxVisualAttributes result
;
2579 PyObject
* obj0
= 0 ;
2581 (char *) "variant", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2586 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2590 if (!wxPyCheckForApp()) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 wxVisualAttributes
* resultptr
;
2599 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2608 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2611 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2613 return Py_BuildValue((char *)"");
2615 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2616 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2621 static PyObject
*_wrap_FrameNameStr_get() {
2626 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2628 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2635 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2636 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2641 static PyObject
*_wrap_DialogNameStr_get() {
2646 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2648 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2655 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2656 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2661 static PyObject
*_wrap_StatusLineNameStr_get() {
2666 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2668 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2675 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2676 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2681 static PyObject
*_wrap_ToolBarNameStr_get() {
2686 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2688 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2695 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
*resultobj
;
2697 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2698 bool arg2
= (bool) True
;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2702 (char *) "self",(char *) "maximize", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2709 arg2
= (bool) SWIG_AsBool(obj1
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 (arg1
)->Maximize(arg2
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 Py_INCREF(Py_None
); resultobj
= Py_None
;
2726 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2731 (char *) "self", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2754 bool arg2
= (bool) True
;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2758 (char *) "self",(char *) "iconize", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 arg2
= (bool) SWIG_AsBool(obj1
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 (arg1
)->Iconize(arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2810 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2814 PyObject
* obj0
= 0 ;
2816 (char *) "self", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2838 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2844 (char *) "self", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2859 resultptr
= new wxIcon((wxIcon
&) result
);
2860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2868 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2872 PyObject
* obj0
= 0 ;
2873 PyObject
* obj1
= 0 ;
2875 (char *) "self",(char *) "icon", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2885 PyErr_SetString(PyExc_TypeError
,"null reference");
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2905 wxIconBundle
*arg2
= 0 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "self",(char *) "icons", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2919 PyErr_SetString(PyExc_TypeError
,"null reference");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2929 Py_INCREF(Py_None
); resultobj
= Py_None
;
2936 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2940 long arg3
= (long) wxFULLSCREEN_ALL
;
2942 PyObject
* obj0
= 0 ;
2943 PyObject
* obj1
= 0 ;
2944 PyObject
* obj2
= 0 ;
2946 (char *) "self",(char *) "show",(char *) "style", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 arg2
= (bool) SWIG_AsBool(obj1
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 arg3
= (long) SWIG_AsLong(obj2
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2974 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2980 (char *) "self", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3002 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
*resultobj
;
3004 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3005 wxString
*arg2
= 0 ;
3006 bool temp2
= False
;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "title", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 arg2
= wxString_in_helper(obj1
);
3018 if (arg2
== NULL
) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 (arg1
)->SetTitle((wxString
const &)*arg2
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3028 Py_INCREF(Py_None
); resultobj
= Py_None
;
3043 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3075 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3078 wxRegion
*arg2
= 0 ;
3080 PyObject
* obj0
= 0 ;
3081 PyObject
* obj1
= 0 ;
3083 (char *) "self",(char *) "region", NULL
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3093 PyErr_SetString(PyExc_TypeError
,"null reference");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3112 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3115 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3117 return Py_BuildValue((char *)"");
3119 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxWindow
*arg1
= (wxWindow
*) 0 ;
3122 int arg2
= (int) (int)-1 ;
3123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3129 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3130 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3131 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3133 bool temp3
= False
;
3136 bool temp7
= False
;
3137 PyObject
* obj0
= 0 ;
3138 PyObject
* obj1
= 0 ;
3139 PyObject
* obj2
= 0 ;
3140 PyObject
* obj3
= 0 ;
3141 PyObject
* obj4
= 0 ;
3142 PyObject
* obj5
= 0 ;
3143 PyObject
* obj6
= 0 ;
3145 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg2
= (int const) SWIG_AsInt(obj1
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3157 arg3
= wxString_in_helper(obj2
);
3158 if (arg3
== NULL
) SWIG_fail
;
3165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3175 arg6
= (long) SWIG_AsLong(obj5
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3180 arg7
= wxString_in_helper(obj6
);
3181 if (arg7
== NULL
) SWIG_fail
;
3186 if (!wxPyCheckForApp()) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3216 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3225 if (!wxPyCheckForApp()) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (wxFrame
*)new wxFrame();
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3239 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 wxFrame
*arg1
= (wxFrame
*) 0 ;
3242 wxWindow
*arg2
= (wxWindow
*) 0 ;
3243 int arg3
= (int) (int)-1 ;
3244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3246 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3247 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3248 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3249 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3250 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3251 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3254 bool temp4
= False
;
3257 bool temp8
= False
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3263 PyObject
* obj5
= 0 ;
3264 PyObject
* obj6
= 0 ;
3265 PyObject
* obj7
= 0 ;
3267 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3276 arg3
= (int const) SWIG_AsInt(obj2
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3281 arg4
= wxString_in_helper(obj3
);
3282 if (arg4
== NULL
) SWIG_fail
;
3289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3299 arg7
= (long) SWIG_AsLong(obj6
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3304 arg8
= wxString_in_helper(obj7
);
3305 if (arg8
== NULL
) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3341 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxFrame
*arg1
= (wxFrame
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3347 (char *) "self", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 wxPoint
* resultptr
;
3362 resultptr
= new wxPoint((wxPoint
&) result
);
3363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3371 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 (arg1
)->SendSizeEvent();
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 Py_INCREF(Py_None
); resultobj
= Py_None
;
3396 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxFrame
*arg1
= (wxFrame
*) 0 ;
3399 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "menubar", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetMenuBar(arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxFrame
*arg1
= (wxFrame
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3431 (char *) "self", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3445 resultobj
= wxPyMake_wxObject(result
, 0);
3453 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxFrame
*arg1
= (wxFrame
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "winid", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 arg2
= (int) SWIG_AsInt(obj1
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxFrame
*arg1
= (wxFrame
*) 0 ;
3488 int arg2
= (int) 1 ;
3489 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3490 int arg4
= (int) 0 ;
3491 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3492 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3493 wxStatusBar
*result
;
3494 bool temp5
= False
;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3497 PyObject
* obj2
= 0 ;
3498 PyObject
* obj3
= 0 ;
3499 PyObject
* obj4
= 0 ;
3501 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 arg2
= (int) SWIG_AsInt(obj1
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 arg3
= (long) SWIG_AsLong(obj2
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 arg4
= (int) SWIG_AsInt(obj3
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3521 arg5
= wxString_in_helper(obj4
);
3522 if (arg5
== NULL
) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= wxPyMake_wxObject(result
, 0);
3550 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxFrame
*arg1
= (wxFrame
*) 0 ;
3553 wxStatusBar
*result
;
3554 PyObject
* obj0
= 0 ;
3556 (char *) "self", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= wxPyMake_wxObject(result
, 0);
3578 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxFrame
*arg1
= (wxFrame
*) 0 ;
3581 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3583 PyObject
* obj1
= 0 ;
3585 (char *) "self",(char *) "statBar", NULL
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 (arg1
)->SetStatusBar(arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3607 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxFrame
*arg1
= (wxFrame
*) 0 ;
3610 wxString
*arg2
= 0 ;
3611 int arg3
= (int) 0 ;
3612 bool temp2
= False
;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3615 PyObject
* obj2
= 0 ;
3617 (char *) "self",(char *) "text",(char *) "number", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 arg2
= wxString_in_helper(obj1
);
3625 if (arg2
== NULL
) SWIG_fail
;
3629 arg3
= (int) SWIG_AsInt(obj2
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3654 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxFrame
*arg1
= (wxFrame
*) 0 ;
3658 int *arg3
= (int *) 0 ;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3662 (char *) "self",(char *) "widths", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg2
= PyList_Size(obj1
);
3670 arg3
= int_LIST_helper(obj1
);
3671 if (arg3
== NULL
) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 if (arg3
) delete [] arg3
;
3687 if (arg3
) delete [] arg3
;
3693 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxFrame
*arg1
= (wxFrame
*) 0 ;
3696 wxString
*arg2
= 0 ;
3697 int arg3
= (int) 0 ;
3698 bool temp2
= False
;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "text",(char *) "number", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3710 arg2
= wxString_in_helper(obj1
);
3711 if (arg2
== NULL
) SWIG_fail
;
3715 arg3
= (int) SWIG_AsInt(obj2
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxFrame
*arg1
= (wxFrame
*) 0 ;
3743 int arg2
= (int) 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "number", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 arg2
= (int) SWIG_AsInt(obj1
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 (arg1
)->PopStatusText(arg2
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 Py_INCREF(Py_None
); resultobj
= Py_None
;
3771 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxFrame
*arg1
= (wxFrame
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3778 (char *) "self",(char *) "n", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int) SWIG_AsInt(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 (arg1
)->SetStatusBarPane(arg2
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxFrame
*arg1
= (wxFrame
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_FromInt((int)result
);
3826 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxFrame
*arg1
= (wxFrame
*) 0 ;
3829 long arg2
= (long) -1 ;
3830 int arg3
= (int) -1 ;
3831 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3832 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3834 bool temp4
= False
;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3837 PyObject
* obj2
= 0 ;
3838 PyObject
* obj3
= 0 ;
3840 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 arg2
= (long) SWIG_AsLong(obj1
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 arg3
= (int) SWIG_AsInt(obj2
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3856 arg4
= wxString_in_helper(obj3
);
3857 if (arg4
== NULL
) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= wxPyMake_wxObject(result
, 0);
3885 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxFrame
*arg1
= (wxFrame
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= wxPyMake_wxObject(result
, 0);
3913 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxFrame
*arg1
= (wxFrame
*) 0 ;
3916 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3918 PyObject
* obj1
= 0 ;
3920 (char *) "self",(char *) "toolbar", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 (arg1
)->SetToolBar(arg2
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 Py_INCREF(Py_None
); resultobj
= Py_None
;
3942 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxFrame
*arg1
= (wxFrame
*) 0 ;
3945 wxString
*arg2
= 0 ;
3947 bool temp2
= False
;
3948 PyObject
* obj0
= 0 ;
3949 PyObject
* obj1
= 0 ;
3950 PyObject
* obj2
= 0 ;
3952 (char *) "self",(char *) "text",(char *) "show", NULL
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 arg2
= wxString_in_helper(obj1
);
3960 if (arg2
== NULL
) SWIG_fail
;
3963 arg3
= (bool) SWIG_AsBool(obj2
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxFrame
*arg1
= (wxFrame
*) 0 ;
3990 wxMenu
*arg2
= (wxMenu
*) NULL
;
3991 PyObject
* obj0
= 0 ;
3992 PyObject
* obj1
= 0 ;
3994 (char *) "self",(char *) "menu", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 (arg1
)->DoMenuUpdates(arg2
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4021 wxVisualAttributes result
;
4022 PyObject
* obj0
= 0 ;
4024 (char *) "variant", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4029 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 if (!wxPyCheckForApp()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4041 wxVisualAttributes
* resultptr
;
4042 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4051 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4054 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4056 return Py_BuildValue((char *)"");
4058 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxWindow
*arg1
= (wxWindow
*) 0 ;
4061 int arg2
= (int) (int)-1 ;
4062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4068 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4069 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4072 bool temp3
= False
;
4075 bool temp7
= False
;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4078 PyObject
* obj2
= 0 ;
4079 PyObject
* obj3
= 0 ;
4080 PyObject
* obj4
= 0 ;
4081 PyObject
* obj5
= 0 ;
4082 PyObject
* obj6
= 0 ;
4084 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 arg2
= (int const) SWIG_AsInt(obj1
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 arg3
= wxString_in_helper(obj2
);
4097 if (arg3
== NULL
) SWIG_fail
;
4104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4114 arg6
= (long) SWIG_AsLong(obj5
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4119 arg7
= wxString_in_helper(obj6
);
4120 if (arg7
== NULL
) SWIG_fail
;
4125 if (!wxPyCheckForApp()) SWIG_fail
;
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4155 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4164 if (!wxPyCheckForApp()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (wxDialog
*)new wxDialog();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4178 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxDialog
*arg1
= (wxDialog
*) 0 ;
4181 wxWindow
*arg2
= (wxWindow
*) 0 ;
4182 int arg3
= (int) (int)-1 ;
4183 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4184 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4189 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4190 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4193 bool temp4
= False
;
4196 bool temp8
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4199 PyObject
* obj2
= 0 ;
4200 PyObject
* obj3
= 0 ;
4201 PyObject
* obj4
= 0 ;
4202 PyObject
* obj5
= 0 ;
4203 PyObject
* obj6
= 0 ;
4204 PyObject
* obj7
= 0 ;
4206 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 arg3
= (int const) SWIG_AsInt(obj2
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4220 arg4
= wxString_in_helper(obj3
);
4221 if (arg4
== NULL
) SWIG_fail
;
4228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4238 arg7
= (long) SWIG_AsLong(obj6
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4243 arg8
= wxString_in_helper(obj7
);
4244 if (arg8
== NULL
) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4280 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxDialog
*arg1
= (wxDialog
*) 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4287 (char *) "self",(char *) "returnCode", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4293 arg2
= (int) SWIG_AsInt(obj1
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 (arg1
)->SetReturnCode(arg2
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxDialog
*arg1
= (wxDialog
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_FromInt((int)result
);
4335 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxDialog
*arg1
= (wxDialog
*) 0 ;
4338 wxString
*arg2
= 0 ;
4340 bool temp2
= False
;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "message", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4351 arg2
= wxString_in_helper(obj1
);
4352 if (arg2
== NULL
) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= wxPyMake_wxSizer(result
, 0);
4379 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 wxDialog
*arg1
= (wxDialog
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4387 (char *) "self",(char *) "flags", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4393 arg2
= (long) SWIG_AsLong(obj1
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= wxPyMake_wxSizer(result
, 0);
4411 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxDialog
*arg1
= (wxDialog
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4417 (char *) "self", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4439 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxDialog
*arg1
= (wxDialog
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)(arg1
)->ShowModal();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_FromInt((int)result
);
4465 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxDialog
*arg1
= (wxDialog
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4472 (char *) "self",(char *) "retCode", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4478 arg2
= (int) SWIG_AsInt(obj1
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 (arg1
)->EndModal(arg2
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4497 wxVisualAttributes result
;
4498 PyObject
* obj0
= 0 ;
4500 (char *) "variant", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4505 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 if (!wxPyCheckForApp()) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 wxVisualAttributes
* resultptr
;
4518 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4527 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4532 return Py_BuildValue((char *)"");
4534 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxWindow
*arg1
= (wxWindow
*) 0 ;
4537 int arg2
= (int) (int)-1 ;
4538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4544 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4545 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4547 wxMiniFrame
*result
;
4548 bool temp3
= False
;
4551 bool temp7
= False
;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4554 PyObject
* obj2
= 0 ;
4555 PyObject
* obj3
= 0 ;
4556 PyObject
* obj4
= 0 ;
4557 PyObject
* obj5
= 0 ;
4558 PyObject
* obj6
= 0 ;
4560 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 arg2
= (int const) SWIG_AsInt(obj1
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 arg3
= wxString_in_helper(obj2
);
4573 if (arg3
== NULL
) SWIG_fail
;
4580 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4586 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4590 arg6
= (long) SWIG_AsLong(obj5
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4595 arg7
= wxString_in_helper(obj6
);
4596 if (arg7
== NULL
) SWIG_fail
;
4601 if (!wxPyCheckForApp()) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4631 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxMiniFrame
*result
;
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxMiniFrame
*)new wxMiniFrame();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4654 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4657 wxWindow
*arg2
= (wxWindow
*) 0 ;
4658 int arg3
= (int) (int)-1 ;
4659 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4660 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4661 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4662 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4663 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4664 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4665 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4666 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4669 bool temp4
= False
;
4672 bool temp8
= False
;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4678 PyObject
* obj5
= 0 ;
4679 PyObject
* obj6
= 0 ;
4680 PyObject
* obj7
= 0 ;
4682 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 arg3
= (int const) SWIG_AsInt(obj2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4696 arg4
= wxString_in_helper(obj3
);
4697 if (arg4
== NULL
) SWIG_fail
;
4704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4710 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4714 arg7
= (long) SWIG_AsLong(obj6
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4719 arg8
= wxString_in_helper(obj7
);
4720 if (arg8
== NULL
) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4756 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxBitmap
*arg1
= 0 ;
4766 wxWindow
*arg2
= (wxWindow
*) 0 ;
4768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4772 long arg6
= (long) wxNO_BORDER
;
4773 wxSplashScreenWindow
*result
;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4778 PyObject
* obj2
= 0 ;
4779 PyObject
* obj3
= 0 ;
4780 PyObject
* obj4
= 0 ;
4781 PyObject
* obj5
= 0 ;
4783 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4791 PyErr_SetString(PyExc_TypeError
,"null reference");
4794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 arg3
= (int) SWIG_AsInt(obj2
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4811 arg6
= (long) SWIG_AsLong(obj5
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 if (!wxPyCheckForApp()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4829 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4832 wxBitmap
*arg2
= 0 ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4836 (char *) "self",(char *) "bitmap", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4846 PyErr_SetString(PyExc_TypeError
,"null reference");
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 Py_INCREF(Py_None
); resultobj
= Py_None
;
4863 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4869 (char *) "self", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4879 result
= (wxBitmap
*) &_result_ref
;
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4886 wxBitmap
* resultptr
= new wxBitmap(*result
);
4887 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4895 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4898 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4900 return Py_BuildValue((char *)"");
4902 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxBitmap
*arg1
= 0 ;
4907 wxWindow
*arg4
= (wxWindow
*) 0 ;
4908 int arg5
= (int) -1 ;
4909 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4910 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4911 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4912 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4913 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4914 wxSplashScreen
*result
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4920 PyObject
* obj3
= 0 ;
4921 PyObject
* obj4
= 0 ;
4922 PyObject
* obj5
= 0 ;
4923 PyObject
* obj6
= 0 ;
4924 PyObject
* obj7
= 0 ;
4926 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4934 PyErr_SetString(PyExc_TypeError
,"null reference");
4937 arg2
= (long) SWIG_AsLong(obj1
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4939 arg3
= (int) SWIG_AsInt(obj2
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4941 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4944 arg5
= (int) SWIG_AsInt(obj4
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4950 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4956 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4960 arg8
= (long) SWIG_AsLong(obj7
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 if (!wxPyCheckForApp()) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4978 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_FromLong((long)result
);
5004 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5007 wxSplashScreenWindow
*result
;
5008 PyObject
* obj0
= 0 ;
5010 (char *) "self", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5030 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5036 (char *) "self", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_FromInt((int)result
);
5056 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5059 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5061 return Py_BuildValue((char *)"");
5063 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxWindow
*arg1
= (wxWindow
*) 0 ;
5066 int arg2
= (int) -1 ;
5067 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5068 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5069 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5070 wxStatusBar
*result
;
5071 bool temp4
= False
;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 PyObject
* obj2
= 0 ;
5075 PyObject
* obj3
= 0 ;
5077 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5084 arg2
= (int) SWIG_AsInt(obj1
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 arg3
= (long) SWIG_AsLong(obj2
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5093 arg4
= wxString_in_helper(obj3
);
5094 if (arg4
== NULL
) SWIG_fail
;
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5121 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxStatusBar
*result
;
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5130 if (!wxPyCheckForApp()) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxStatusBar
*)new wxStatusBar();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5144 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5147 wxWindow
*arg2
= (wxWindow
*) 0 ;
5148 int arg3
= (int) -1 ;
5149 long arg4
= (long) wxST_SIZEGRIP
;
5150 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5151 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5153 bool temp5
= False
;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5158 PyObject
* obj4
= 0 ;
5160 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 arg3
= (int) SWIG_AsInt(obj2
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 arg4
= (long) SWIG_AsLong(obj3
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5178 arg5
= wxString_in_helper(obj4
);
5179 if (arg5
== NULL
) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5207 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5210 int arg2
= (int) 1 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "number", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg2
= (int) SWIG_AsInt(obj1
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->SetFieldsCount(arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5242 PyObject
* obj0
= 0 ;
5244 (char *) "self", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_FromInt((int)result
);
5264 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5267 wxString
*arg2
= 0 ;
5268 int arg3
= (int) 0 ;
5269 bool temp2
= False
;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5274 (char *) "self",(char *) "text",(char *) "number", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5281 arg2
= wxString_in_helper(obj1
);
5282 if (arg2
== NULL
) SWIG_fail
;
5286 arg3
= (int) SWIG_AsInt(obj2
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5314 int arg2
= (int) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "number", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 arg2
= (int) SWIG_AsInt(obj1
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5349 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5352 wxString
*arg2
= 0 ;
5353 int arg3
= (int) 0 ;
5354 bool temp2
= False
;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5357 PyObject
* obj2
= 0 ;
5359 (char *) "self",(char *) "text",(char *) "number", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 arg2
= wxString_in_helper(obj1
);
5367 if (arg2
== NULL
) SWIG_fail
;
5371 arg3
= (int) SWIG_AsInt(obj2
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5399 int arg2
= (int) 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5403 (char *) "self",(char *) "number", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5410 arg2
= (int) SWIG_AsInt(obj1
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 (arg1
)->PopStatusText(arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5431 int *arg3
= (int *) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5435 (char *) "self",(char *) "widths", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5442 arg2
= PyList_Size(obj1
);
5443 arg3
= int_LIST_helper(obj1
);
5444 if (arg3
== NULL
) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 if (arg3
) delete [] arg3
;
5460 if (arg3
) delete [] arg3
;
5466 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5474 (char *) "self",(char *) "i", NULL
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 arg2
= (int) SWIG_AsInt(obj1
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5491 resultptr
= new wxRect((wxRect
&) result
);
5492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5500 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5507 (char *) "self",(char *) "height", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5513 arg2
= (int) SWIG_AsInt(obj1
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetMinHeight(arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "self", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_FromInt((int)result
);
5555 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_FromInt((int)result
);
5581 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5584 wxVisualAttributes result
;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "variant", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5592 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5596 if (!wxPyCheckForApp()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 wxVisualAttributes
* resultptr
;
5605 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5614 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5617 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5619 return Py_BuildValue((char *)"");
5621 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5622 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5627 static PyObject
*_wrap_SplitterNameStr_get() {
5632 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5634 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5641 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxWindow
*arg1
= (wxWindow
*) 0 ;
5644 int arg2
= (int) -1 ;
5645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5649 long arg5
= (long) wxSP_3D
;
5650 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5651 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5652 wxSplitterWindow
*result
;
5655 bool temp6
= False
;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 PyObject
* obj2
= 0 ;
5659 PyObject
* obj3
= 0 ;
5660 PyObject
* obj4
= 0 ;
5661 PyObject
* obj5
= 0 ;
5663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 arg2
= (int) SWIG_AsInt(obj1
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5686 arg5
= (long) SWIG_AsLong(obj4
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5691 arg6
= wxString_in_helper(obj5
);
5692 if (arg6
== NULL
) SWIG_fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5719 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxSplitterWindow
*result
;
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5728 if (!wxPyCheckForApp()) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5742 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5745 wxWindow
*arg2
= (wxWindow
*) 0 ;
5746 int arg3
= (int) -1 ;
5747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5751 long arg6
= (long) wxSP_3D
;
5752 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5753 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5757 bool temp7
= False
;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 PyObject
* obj2
= 0 ;
5761 PyObject
* obj3
= 0 ;
5762 PyObject
* obj4
= 0 ;
5763 PyObject
* obj5
= 0 ;
5764 PyObject
* obj6
= 0 ;
5766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 arg3
= (int) SWIG_AsInt(obj2
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5791 arg6
= (long) SWIG_AsLong(obj5
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5796 arg7
= wxString_in_helper(obj6
);
5797 if (arg7
== NULL
) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5825 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5831 (char *) "self", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= wxPyMake_wxObject(result
, 0);
5853 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= wxPyMake_wxObject(result
, 0);
5881 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5888 (char *) "self",(char *) "mode", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 arg2
= (int) SWIG_AsInt(obj1
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->SetSplitMode(arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 Py_INCREF(Py_None
); resultobj
= Py_None
;
5910 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_FromInt((int)result
);
5936 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5939 wxWindow
*arg2
= (wxWindow
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5943 (char *) "self",(char *) "window", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 (arg1
)->Initialize(arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 Py_INCREF(Py_None
); resultobj
= Py_None
;
5965 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5968 wxWindow
*arg2
= (wxWindow
*) 0 ;
5969 wxWindow
*arg3
= (wxWindow
*) 0 ;
5970 int arg4
= (int) 0 ;
5972 PyObject
* obj0
= 0 ;
5973 PyObject
* obj1
= 0 ;
5974 PyObject
* obj2
= 0 ;
5975 PyObject
* obj3
= 0 ;
5977 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg4
= (int) SWIG_AsInt(obj3
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6007 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6010 wxWindow
*arg2
= (wxWindow
*) 0 ;
6011 wxWindow
*arg3
= (wxWindow
*) 0 ;
6012 int arg4
= (int) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 PyObject
* obj2
= 0 ;
6017 PyObject
* obj3
= 0 ;
6019 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg4
= (int) SWIG_AsInt(obj3
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6052 wxWindow
*arg2
= (wxWindow
*) NULL
;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "toRemove", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->Unsplit(arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6086 wxWindow
*arg2
= (wxWindow
*) 0 ;
6087 wxWindow
*arg3
= (wxWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6091 PyObject
* obj2
= 0 ;
6093 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6119 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->UpdateSize();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6172 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6179 (char *) "self",(char *) "width", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6185 arg2
= (int) SWIG_AsInt(obj1
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->SetSashSize(arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 Py_INCREF(Py_None
); resultobj
= Py_None
;
6201 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "width", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 arg2
= (int) SWIG_AsInt(obj1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->SetBorderSize(arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_FromInt((int)result
);
6256 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_FromInt((int)result
);
6282 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6286 bool arg3
= (bool) True
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6291 (char *) "self",(char *) "position",(char *) "redraw", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 arg2
= (int) SWIG_AsInt(obj1
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 arg3
= (bool) SWIG_AsBool(obj2
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 (arg1
)->SetSashPosition(arg2
,arg3
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6323 (char *) "self", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_FromInt((int)result
);
6343 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6350 (char *) "self",(char *) "min", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 arg2
= (int) SWIG_AsInt(obj1
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->SetMinimumPaneSize(arg2
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6378 (char *) "self", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_FromInt((int)result
);
6398 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6403 int arg4
= (int) 5 ;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6407 PyObject
* obj2
= 0 ;
6408 PyObject
* obj3
= 0 ;
6410 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 arg2
= (int) SWIG_AsInt(obj1
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6418 arg3
= (int) SWIG_AsInt(obj2
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 arg4
= (int) SWIG_AsInt(obj3
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6440 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 (arg1
)->SizeWindows();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "needUpdating", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= (bool) SWIG_AsBool(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->SetNeedUpdating(arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6498 PyObject
* obj0
= 0 ;
6500 (char *) "self", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6522 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6525 wxVisualAttributes result
;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "variant", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6533 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 if (!wxPyCheckForApp()) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 wxVisualAttributes
* resultptr
;
6546 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6555 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6558 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6560 return Py_BuildValue((char *)"");
6562 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6565 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6566 wxSplitterEvent
*result
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "type",(char *) "splitter", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6575 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6596 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6603 (char *) "self",(char *) "pos", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6609 arg2
= (int) SWIG_AsInt(obj1
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 (arg1
)->SetSashPosition(arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= SWIG_FromInt((int)result
);
6651 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= wxPyMake_wxObject(result
, 0);
6679 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "self", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_FromInt((int)result
);
6705 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_FromInt((int)result
);
6731 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6739 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6744 static PyObject
*_wrap_SashNameStr_get() {
6749 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6751 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6758 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6759 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6764 static PyObject
*_wrap_SashLayoutNameStr_get() {
6769 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6771 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6778 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxWindow
*arg1
= (wxWindow
*) 0 ;
6781 int arg2
= (int) -1 ;
6782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6786 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6787 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6788 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6789 wxSashWindow
*result
;
6792 bool temp6
= False
;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 PyObject
* obj2
= 0 ;
6796 PyObject
* obj3
= 0 ;
6797 PyObject
* obj4
= 0 ;
6798 PyObject
* obj5
= 0 ;
6800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6807 arg2
= (int) SWIG_AsInt(obj1
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6823 arg5
= (long) SWIG_AsLong(obj4
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6828 arg6
= wxString_in_helper(obj5
);
6829 if (arg6
== NULL
) SWIG_fail
;
6834 if (!wxPyCheckForApp()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6856 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxSashWindow
*result
;
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6865 if (!wxPyCheckForApp()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (wxSashWindow
*)new wxSashWindow();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6879 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6882 wxWindow
*arg2
= (wxWindow
*) 0 ;
6883 int arg3
= (int) -1 ;
6884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6888 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6889 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6894 bool temp7
= False
;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 PyObject
* obj2
= 0 ;
6898 PyObject
* obj3
= 0 ;
6899 PyObject
* obj4
= 0 ;
6900 PyObject
* obj5
= 0 ;
6901 PyObject
* obj6
= 0 ;
6903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6912 arg3
= (int) SWIG_AsInt(obj2
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6928 arg6
= (long) SWIG_AsLong(obj5
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6933 arg7
= wxString_in_helper(obj6
);
6934 if (arg7
== NULL
) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6962 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6971 (char *) "self",(char *) "edge",(char *) "sash", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6979 arg3
= (bool) SWIG_AsBool(obj2
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7003 (char *) "self",(char *) "edge", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7027 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7033 PyObject
* obj1
= 0 ;
7034 PyObject
* obj2
= 0 ;
7036 (char *) "self",(char *) "edge",(char *) "border", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7044 arg3
= (bool) SWIG_AsBool(obj2
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7068 (char *) "self",(char *) "edge", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7092 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "edge", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_FromInt((int)result
);
7122 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7129 (char *) "self",(char *) "width", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 arg2
= (int) SWIG_AsInt(obj1
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetDefaultBorderSize(arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_FromInt((int)result
);
7177 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "width", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= (int) SWIG_AsInt(obj1
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 (arg1
)->SetExtraBorderSize(arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "self", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_FromInt((int)result
);
7232 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7239 (char *) "self",(char *) "min", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 arg2
= (int) SWIG_AsInt(obj1
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetMinimumSizeX(arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7268 (char *) "self",(char *) "min", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7274 arg2
= (int) SWIG_AsInt(obj1
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 (arg1
)->SetMinimumSizeY(arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7290 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= SWIG_FromInt((int)result
);
7316 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_FromInt((int)result
);
7342 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7347 PyObject
* obj1
= 0 ;
7349 (char *) "self",(char *) "max", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 arg2
= (int) SWIG_AsInt(obj1
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 (arg1
)->SetMaximumSizeX(arg2
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 Py_INCREF(Py_None
); resultobj
= Py_None
;
7371 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7378 (char *) "self",(char *) "max", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 arg2
= (int) SWIG_AsInt(obj1
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 (arg1
)->SetMaximumSizeY(arg2
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7400 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7406 (char *) "self", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_FromInt((int)result
);
7426 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_FromInt((int)result
);
7452 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7457 int arg4
= (int) 2 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7464 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 arg2
= (int) SWIG_AsInt(obj1
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7472 arg3
= (int) SWIG_AsInt(obj2
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 arg4
= (int) SWIG_AsInt(obj3
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_FromInt((int)result
);
7492 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 (arg1
)->SizeWindows();
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7517 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7520 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7522 return Py_BuildValue((char *)"");
7524 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 int arg1
= (int) 0 ;
7527 int arg2
= (int) wxSASH_NONE
;
7528 wxSashEvent
*result
;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "id",(char *) "edge", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7537 arg1
= (int) SWIG_AsInt(obj0
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7558 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7565 (char *) "self",(char *) "edge", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 Py_INCREF(Py_None
); resultobj
= Py_None
;
7587 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7593 (char *) "self", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_FromInt((int)result
);
7613 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7621 (char *) "self",(char *) "rect", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7651 (char *) "self", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 resultptr
= new wxRect((wxRect
&) result
);
7667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7675 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7682 (char *) "self",(char *) "status", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7688 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_FromInt((int)result
);
7730 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7733 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7735 return Py_BuildValue((char *)"");
7737 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 int arg1
= (int) 0 ;
7740 wxQueryLayoutInfoEvent
*result
;
7741 PyObject
* obj0
= 0 ;
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7748 arg1
= (int) SWIG_AsInt(obj0
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7765 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "length", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 arg2
= (int) SWIG_AsInt(obj1
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 (arg1
)->SetRequestedLength(arg2
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 Py_INCREF(Py_None
); resultobj
= Py_None
;
7794 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "self", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_FromInt((int)result
);
7820 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7827 (char *) "self",(char *) "flags", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 arg2
= (int) SWIG_AsInt(obj1
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetFlags(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= SWIG_FromInt((int)result
);
7875 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7883 (char *) "self",(char *) "size", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 (arg1
)->SetSize((wxSize
const &)*arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7928 resultptr
= new wxSize((wxSize
&) result
);
7929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7937 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7944 (char *) "self",(char *) "orient", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7970 PyObject
* obj0
= 0 ;
7972 (char *) "self", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_FromInt((int)result
);
7992 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7999 (char *) "self",(char *) "align", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_FromInt((int)result
);
8047 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8050 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8052 return Py_BuildValue((char *)"");
8054 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 int arg1
= (int) 0 ;
8057 wxCalculateLayoutEvent
*result
;
8058 PyObject
* obj0
= 0 ;
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8065 arg1
= (int) SWIG_AsInt(obj0
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8082 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8089 (char *) "self",(char *) "flags", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg2
= (int) SWIG_AsInt(obj1
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetFlags(arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_FromInt((int)result
);
8137 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8145 (char *) "self",(char *) "rect", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 (arg1
)->SetRect((wxRect
const &)*arg2
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8190 resultptr
= new wxRect((wxRect
&) result
);
8191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8199 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8202 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8204 return Py_BuildValue((char *)"");
8206 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxWindow
*arg1
= (wxWindow
*) 0 ;
8209 int arg2
= (int) -1 ;
8210 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8211 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8212 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8213 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8214 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8215 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8216 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8217 wxSashLayoutWindow
*result
;
8220 bool temp6
= False
;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8223 PyObject
* obj2
= 0 ;
8224 PyObject
* obj3
= 0 ;
8225 PyObject
* obj4
= 0 ;
8226 PyObject
* obj5
= 0 ;
8228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 arg2
= (int) SWIG_AsInt(obj1
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8251 arg5
= (long) SWIG_AsLong(obj4
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8256 arg6
= wxString_in_helper(obj5
);
8257 if (arg6
== NULL
) SWIG_fail
;
8262 if (!wxPyCheckForApp()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8284 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxSashLayoutWindow
*result
;
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8293 if (!wxPyCheckForApp()) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8307 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8310 wxWindow
*arg2
= (wxWindow
*) 0 ;
8311 int arg3
= (int) -1 ;
8312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8316 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8317 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8318 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8322 bool temp7
= False
;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 PyObject
* obj2
= 0 ;
8326 PyObject
* obj3
= 0 ;
8327 PyObject
* obj4
= 0 ;
8328 PyObject
* obj5
= 0 ;
8329 PyObject
* obj6
= 0 ;
8331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 arg3
= (int) SWIG_AsInt(obj2
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8346 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8352 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8356 arg6
= (long) SWIG_AsLong(obj5
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8361 arg7
= wxString_in_helper(obj6
);
8362 if (arg7
== NULL
) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (int)(arg1
)->GetAlignment();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_FromInt((int)result
);
8416 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (int)(arg1
)->GetOrientation();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_FromInt((int)result
);
8442 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "self",(char *) "alignment", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "size", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8510 (char *) "self",(char *) "orientation", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8516 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8535 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8537 return Py_BuildValue((char *)"");
8539 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxLayoutAlgorithm
*result
;
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8561 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8589 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8590 wxRect
*arg3
= (wxRect
*) NULL
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 PyObject
* obj2
= 0 ;
8596 (char *) "self",(char *) "frame",(char *) "rect", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8624 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8627 wxFrame
*arg2
= (wxFrame
*) 0 ;
8628 wxWindow
*arg3
= (wxWindow
*) NULL
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8632 PyObject
* obj2
= 0 ;
8634 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8665 wxWindow
*arg2
= (wxWindow
*) 0 ;
8666 wxWindow
*arg3
= (wxWindow
*) NULL
;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8672 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8681 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8700 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8705 return Py_BuildValue((char *)"");
8707 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxWindow
*arg1
= (wxWindow
*) 0 ;
8710 int arg2
= (int) wxBORDER_NONE
;
8711 wxPopupWindow
*result
;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "parent",(char *) "flags", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 arg2
= (int) SWIG_AsInt(obj1
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 if (!wxPyCheckForApp()) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8740 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxPopupWindow
*result
;
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8749 if (!wxPyCheckForApp()) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (wxPopupWindow
*)new wxPopupWindow();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8763 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8766 wxWindow
*arg2
= (wxWindow
*) 0 ;
8767 int arg3
= (int) wxBORDER_NONE
;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8773 (char *) "self",(char *) "parent",(char *) "flags", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 arg3
= (int) SWIG_AsInt(obj2
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8801 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 PyObject
* obj2
= 0 ;
8812 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8820 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8824 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8843 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8845 return Py_BuildValue((char *)"");
8847 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxWindow
*arg1
= (wxWindow
*) 0 ;
8850 int arg2
= (int) wxBORDER_NONE
;
8851 wxPyPopupTransientWindow
*result
;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8855 (char *) "parent",(char *) "style", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 arg2
= (int) SWIG_AsInt(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 if (!wxPyCheckForApp()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8880 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxPyPopupTransientWindow
*result
;
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8889 if (!wxPyCheckForApp()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8903 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8906 PyObject
*arg2
= (PyObject
*) 0 ;
8907 PyObject
*arg3
= (PyObject
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8910 PyObject
* obj2
= 0 ;
8912 (char *) "self",(char *) "self",(char *) "_class", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8937 wxWindow
*arg2
= (wxWindow
*) NULL
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "self",(char *) "focus", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 (arg1
)->Popup(arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 Py_INCREF(Py_None
); resultobj
= Py_None
;
8965 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8990 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8993 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8995 return Py_BuildValue((char *)"");
8997 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxWindow
*arg1
= (wxWindow
*) 0 ;
9000 wxString
*arg2
= 0 ;
9001 int arg3
= (int) 100 ;
9002 wxRect
*arg4
= (wxRect
*) NULL
;
9003 wxTipWindow
*result
;
9004 bool temp2
= False
;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 PyObject
* obj2
= 0 ;
9008 PyObject
* obj3
= 0 ;
9010 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 arg2
= wxString_in_helper(obj1
);
9018 if (arg2
== NULL
) SWIG_fail
;
9022 arg3
= (int) SWIG_AsInt(obj2
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9026 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 if (!wxPyCheckForApp()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9052 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "self",(char *) "rectBound", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9084 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9112 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9114 return Py_BuildValue((char *)"");
9116 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxWindow
*arg1
= (wxWindow
*) 0 ;
9119 int arg2
= (int) wxID_ANY
;
9120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9124 long arg5
= (long) 0 ;
9125 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9126 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9127 wxPyVScrolledWindow
*result
;
9130 bool temp6
= False
;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 PyObject
* obj2
= 0 ;
9134 PyObject
* obj3
= 0 ;
9135 PyObject
* obj4
= 0 ;
9136 PyObject
* obj5
= 0 ;
9138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9145 arg2
= (int) SWIG_AsInt(obj1
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9161 arg5
= (long) SWIG_AsLong(obj4
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9166 arg6
= wxString_in_helper(obj5
);
9167 if (arg6
== NULL
) SWIG_fail
;
9172 if (!wxPyCheckForApp()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9194 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxPyVScrolledWindow
*result
;
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9203 if (!wxPyCheckForApp()) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9217 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9220 PyObject
*arg2
= (PyObject
*) 0 ;
9221 PyObject
*arg3
= (PyObject
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9226 (char *) "self",(char *) "self",(char *) "_class", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9251 wxWindow
*arg2
= (wxWindow
*) 0 ;
9252 int arg3
= (int) wxID_ANY
;
9253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9257 long arg6
= (long) 0 ;
9258 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9263 bool temp7
= False
;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 PyObject
* obj2
= 0 ;
9267 PyObject
* obj3
= 0 ;
9268 PyObject
* obj4
= 0 ;
9269 PyObject
* obj5
= 0 ;
9270 PyObject
* obj6
= 0 ;
9272 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 arg3
= (int) SWIG_AsInt(obj2
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9297 arg6
= (long) SWIG_AsLong(obj5
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9302 arg7
= wxString_in_helper(obj6
);
9303 if (arg7
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "count", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 (arg1
)->SetLineCount(arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 Py_INCREF(Py_None
); resultobj
= Py_None
;
9360 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "self",(char *) "line", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9392 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9400 (char *) "self",(char *) "lines", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 arg2
= (int) SWIG_AsInt(obj1
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (bool)(arg1
)->ScrollLines(arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9424 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9432 (char *) "self",(char *) "pages", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 arg2
= (int) SWIG_AsInt(obj1
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)(arg1
)->ScrollPages(arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9456 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "line", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->RefreshLine(arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "from",(char *) "to", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9502 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 (arg1
)->RefreshLines(arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 PyObject
* obj2
= 0 ;
9528 (char *) "self",(char *) "x",(char *) "y", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 arg2
= (int) SWIG_AsInt(obj1
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9536 arg3
= (int) SWIG_AsInt(obj2
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_FromInt((int)result
);
9552 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "pt", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_FromInt((int)result
);
9585 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 (arg1
)->RefreshAll();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 Py_INCREF(Py_None
); resultobj
= Py_None
;
9610 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 (char *) "self", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9636 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9662 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "self", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9688 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "line", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9720 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9723 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9725 return Py_BuildValue((char *)"");
9727 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9728 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9733 static PyObject
*_wrap_VListBoxNameStr_get() {
9738 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9740 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9747 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxWindow
*arg1
= (wxWindow
*) 0 ;
9750 int arg2
= (int) wxID_ANY
;
9751 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9752 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9753 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9754 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9755 long arg5
= (long) 0 ;
9756 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9757 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9758 wxPyVListBox
*result
;
9761 bool temp6
= False
;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9765 PyObject
* obj3
= 0 ;
9766 PyObject
* obj4
= 0 ;
9767 PyObject
* obj5
= 0 ;
9769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9776 arg2
= (int) SWIG_AsInt(obj1
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9792 arg5
= (long) SWIG_AsLong(obj4
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9797 arg6
= wxString_in_helper(obj5
);
9798 if (arg6
== NULL
) SWIG_fail
;
9803 if (!wxPyCheckForApp()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9825 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxPyVListBox
*result
;
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9834 if (!wxPyCheckForApp()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (wxPyVListBox
*)new wxPyVListBox();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9848 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9851 PyObject
*arg2
= (PyObject
*) 0 ;
9852 PyObject
*arg3
= (PyObject
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9855 PyObject
* obj2
= 0 ;
9857 (char *) "self",(char *) "self",(char *) "_class", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 Py_INCREF(Py_None
); resultobj
= Py_None
;
9879 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9882 wxWindow
*arg2
= (wxWindow
*) 0 ;
9883 int arg3
= (int) wxID_ANY
;
9884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9888 long arg6
= (long) 0 ;
9889 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9894 bool temp7
= False
;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9898 PyObject
* obj3
= 0 ;
9899 PyObject
* obj4
= 0 ;
9900 PyObject
* obj5
= 0 ;
9901 PyObject
* obj6
= 0 ;
9903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 arg3
= (int) SWIG_AsInt(obj2
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9928 arg6
= (long) SWIG_AsLong(obj5
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9933 arg7
= wxString_in_helper(obj6
);
9934 if (arg7
== NULL
) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9962 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9968 (char *) "self", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9988 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10016 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_FromInt((int)result
);
10042 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self",(char *) "item", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10056 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10074 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "item", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10088 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10106 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10132 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= result
;
10158 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10161 unsigned long arg2
;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "cookie", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= result
;
10188 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 wxPoint
* resultptr
;
10209 resultptr
= new wxPoint((wxPoint
&) result
);
10210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10218 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10234 result
= (wxColour
*) &_result_ref
;
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10247 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "count", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->SetItemCount(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self",(char *) "selection", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10314 arg2
= (int) SWIG_AsInt(obj1
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 (arg1
)->SetSelection(arg2
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 Py_INCREF(Py_None
); resultobj
= Py_None
;
10330 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10334 bool arg3
= (bool) True
;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 PyObject
* obj2
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self",(char *) "item",(char *) "select", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 arg3
= (bool) SWIG_AsBool(obj2
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "from",(char *) "to", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10386 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10404 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "item", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->Toggle(arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 Py_INCREF(Py_None
); resultobj
= Py_None
;
10433 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (bool)(arg1
)->SelectAll();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (bool)(arg1
)->DeselectAll();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10489 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10492 wxPoint
*arg2
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "pt", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 Py_INCREF(Py_None
); resultobj
= Py_None
;
10521 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "x",(char *) "y", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (int) SWIG_AsInt(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (int) SWIG_AsInt(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetMargins(arg2
,arg3
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10557 wxColour
*arg2
= 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "col", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 Py_INCREF(Py_None
); resultobj
= Py_None
;
10586 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10589 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10591 return Py_BuildValue((char *)"");
10593 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxWindow
*arg1
= (wxWindow
*) 0 ;
10596 int arg2
= (int) wxID_ANY
;
10597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10601 long arg5
= (long) 0 ;
10602 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10604 wxPyHtmlListBox
*result
;
10607 bool temp6
= False
;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 PyObject
* obj3
= 0 ;
10612 PyObject
* obj4
= 0 ;
10613 PyObject
* obj5
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 arg2
= (int) SWIG_AsInt(obj1
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10638 arg5
= (long) SWIG_AsLong(obj4
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10643 arg6
= wxString_in_helper(obj5
);
10644 if (arg6
== NULL
) SWIG_fail
;
10649 if (!wxPyCheckForApp()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10671 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxPyHtmlListBox
*result
;
10674 char *kwnames
[] = {
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10680 if (!wxPyCheckForApp()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10694 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10697 PyObject
*arg2
= (PyObject
*) 0 ;
10698 PyObject
*arg3
= (PyObject
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "self",(char *) "_class", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10728 wxWindow
*arg2
= (wxWindow
*) 0 ;
10729 int arg3
= (int) wxID_ANY
;
10730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10734 long arg6
= (long) 0 ;
10735 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10736 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10740 bool temp7
= False
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 PyObject
* obj3
= 0 ;
10745 PyObject
* obj4
= 0 ;
10746 PyObject
* obj5
= 0 ;
10747 PyObject
* obj6
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 arg3
= (int) SWIG_AsInt(obj2
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10774 arg6
= (long) SWIG_AsLong(obj5
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10779 arg7
= wxString_in_helper(obj6
);
10780 if (arg7
== NULL
) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10808 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->RefreshAll();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10833 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "count", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->SetItemCount(arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10865 wxFileSystem
*result
;
10866 PyObject
* obj0
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10878 result
= (wxFileSystem
*) &_result_ref
;
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10891 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10894 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10896 return Py_BuildValue((char *)"");
10898 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxTaskBarIcon
*result
;
10901 char *kwnames
[] = {
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10907 if (!wxPyCheckForApp()) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10921 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10949 PyObject
* obj0
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 wxTaskBarIcon_Destroy(arg1
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 Py_INCREF(Py_None
); resultobj
= Py_None
;
10971 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11034 bool temp3
= False
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 PyObject
* obj2
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11048 if (arg2
== NULL
) {
11049 PyErr_SetString(PyExc_TypeError
,"null reference");
11054 arg3
= wxString_in_helper(obj2
);
11055 if (arg3
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->RemoveIcon();
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11111 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11114 wxMenu
*arg2
= (wxMenu
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "menu", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)(arg1
)->PopupMenu(arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11146 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11148 return Py_BuildValue((char *)"");
11150 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11153 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11154 wxTaskBarIconEvent
*result
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "evtType",(char *) "tbIcon", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11180 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11183 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11185 return Py_BuildValue((char *)"");
11187 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11188 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11193 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11198 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11200 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11207 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11208 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11213 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11218 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11220 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11227 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11228 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11233 static PyObject
*_wrap_DirDialogNameStr_get() {
11238 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11240 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11247 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11248 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11253 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11258 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11260 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11267 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11268 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11273 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11278 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11280 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11287 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11288 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11293 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11298 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11300 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11307 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxColourData
*result
;
11310 char *kwnames
[] = {
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (wxColourData
*)new wxColourData();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11329 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxColourData
*arg1
= (wxColourData
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxColourData
*arg1
= (wxColourData
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (bool)(arg1
)->GetChooseFull();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11382 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxColourData
*arg1
= (wxColourData
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (arg1
)->GetColour();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 wxColour
* resultptr
;
11403 resultptr
= new wxColour((wxColour
&) result
);
11404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11412 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxColourData
*arg1
= (wxColourData
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "i", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11426 arg2
= (int) SWIG_AsInt(obj1
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (arg1
)->GetCustomColour(arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 wxColour
* resultptr
;
11437 resultptr
= new wxColour((wxColour
&) result
);
11438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11446 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxColourData
*arg1
= (wxColourData
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "flag", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 arg2
= (int) SWIG_AsInt(obj1
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 (arg1
)->SetChooseFull(arg2
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 Py_INCREF(Py_None
); resultobj
= Py_None
;
11475 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxColourData
*arg1
= (wxColourData
*) 0 ;
11478 wxColour
*arg2
= 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self",(char *) "colour", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->SetColour((wxColour
const &)*arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 Py_INCREF(Py_None
); resultobj
= Py_None
;
11507 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxColourData
*arg1
= (wxColourData
*) 0 ;
11511 wxColour
*arg3
= 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 PyObject
* obj2
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "i",(char *) "colour", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11523 arg2
= (int) SWIG_AsInt(obj1
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11546 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11548 return Py_BuildValue((char *)"");
11550 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxWindow
*arg1
= (wxWindow
*) 0 ;
11553 wxColourData
*arg2
= (wxColourData
*) NULL
;
11554 wxColourDialog
*result
;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "parent",(char *) "data", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 if (!wxPyCheckForApp()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11583 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11586 wxColourData
*result
;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11599 result
= (wxColourData
*) &_result_ref
;
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11612 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11615 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11617 return Py_BuildValue((char *)"");
11619 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxWindow
*arg1
= (wxWindow
*) 0 ;
11622 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11623 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11626 long arg4
= (long) 0 ;
11627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11631 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11633 wxDirDialog
*result
;
11634 bool temp2
= False
;
11635 bool temp3
= False
;
11638 bool temp7
= False
;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 PyObject
* obj3
= 0 ;
11643 PyObject
* obj4
= 0 ;
11644 PyObject
* obj5
= 0 ;
11645 PyObject
* obj6
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11655 arg2
= wxString_in_helper(obj1
);
11656 if (arg2
== NULL
) SWIG_fail
;
11662 arg3
= wxString_in_helper(obj2
);
11663 if (arg3
== NULL
) SWIG_fail
;
11668 arg4
= (long) SWIG_AsLong(obj3
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11674 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11680 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11685 arg7
= wxString_in_helper(obj6
);
11686 if (arg7
== NULL
) SWIG_fail
;
11691 if (!wxPyCheckForApp()) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11729 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (arg1
)->GetPath();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11761 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (arg1
)->GetMessage();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11793 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (long)(arg1
)->GetStyle();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_FromLong((long)result
);
11819 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11822 wxString
*arg2
= 0 ;
11823 bool temp2
= False
;
11824 PyObject
* obj0
= 0 ;
11825 PyObject
* obj1
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self",(char *) "message", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 arg2
= wxString_in_helper(obj1
);
11835 if (arg2
== NULL
) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 (arg1
)->SetMessage((wxString
const &)*arg2
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11863 wxString
*arg2
= 0 ;
11864 bool temp2
= False
;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "self",(char *) "path", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11875 arg2
= wxString_in_helper(obj1
);
11876 if (arg2
== NULL
) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 (arg1
)->SetPath((wxString
const &)*arg2
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 Py_INCREF(Py_None
); resultobj
= Py_None
;
11901 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11904 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11906 return Py_BuildValue((char *)"");
11908 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxWindow
*arg1
= (wxWindow
*) 0 ;
11911 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11912 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11915 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11916 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11917 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11918 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11919 long arg6
= (long) 0 ;
11920 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11921 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11922 wxFileDialog
*result
;
11923 bool temp2
= False
;
11924 bool temp3
= False
;
11925 bool temp4
= False
;
11926 bool temp5
= False
;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 PyObject
* obj4
= 0 ;
11933 PyObject
* obj5
= 0 ;
11934 PyObject
* obj6
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 arg2
= wxString_in_helper(obj1
);
11945 if (arg2
== NULL
) SWIG_fail
;
11951 arg3
= wxString_in_helper(obj2
);
11952 if (arg3
== NULL
) SWIG_fail
;
11958 arg4
= wxString_in_helper(obj3
);
11959 if (arg4
== NULL
) SWIG_fail
;
11965 arg5
= wxString_in_helper(obj4
);
11966 if (arg5
== NULL
) SWIG_fail
;
11971 arg6
= (long) SWIG_AsLong(obj5
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11977 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11981 if (!wxPyCheckForApp()) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12027 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12030 wxString
*arg2
= 0 ;
12031 bool temp2
= False
;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self",(char *) "message", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12042 arg2
= wxString_in_helper(obj1
);
12043 if (arg2
== NULL
) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->SetMessage((wxString
const &)*arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12071 wxString
*arg2
= 0 ;
12072 bool temp2
= False
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "path", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= wxString_in_helper(obj1
);
12084 if (arg2
== NULL
) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetPath((wxString
const &)*arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12112 wxString
*arg2
= 0 ;
12113 bool temp2
= False
;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "dir", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 arg2
= wxString_in_helper(obj1
);
12125 if (arg2
== NULL
) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 Py_INCREF(Py_None
); resultobj
= Py_None
;
12150 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12153 wxString
*arg2
= 0 ;
12154 bool temp2
= False
;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "name", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 arg2
= wxString_in_helper(obj1
);
12166 if (arg2
== NULL
) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 (arg1
)->SetFilename((wxString
const &)*arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12194 wxString
*arg2
= 0 ;
12195 bool temp2
= False
;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "wildCard", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12206 arg2
= wxString_in_helper(obj1
);
12207 if (arg2
== NULL
) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "style", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 arg2
= (long) SWIG_AsLong(obj1
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->SetStyle(arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "filterIndex", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= (int) SWIG_AsInt(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetFilterIndex(arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12322 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12354 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12386 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12418 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12450 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_FromLong((long)result
);
12476 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_FromInt((int)result
);
12502 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= result
;
12528 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= result
;
12554 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12557 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12559 return Py_BuildValue((char *)"");
12561 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxWindow
*arg1
= (wxWindow
*) 0 ;
12564 wxString
*arg2
= 0 ;
12565 wxString
*arg3
= 0 ;
12566 int arg4
= (int) 0 ;
12567 wxString
*arg5
= (wxString
*) NULL
;
12568 long arg6
= (long) wxCHOICEDLG_STYLE
;
12569 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12570 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12571 wxMultiChoiceDialog
*result
;
12572 bool temp2
= False
;
12573 bool temp3
= False
;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 PyObject
* obj3
= 0 ;
12579 PyObject
* obj4
= 0 ;
12580 PyObject
* obj5
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 arg2
= wxString_in_helper(obj1
);
12590 if (arg2
== NULL
) SWIG_fail
;
12594 arg3
= wxString_in_helper(obj2
);
12595 if (arg3
== NULL
) SWIG_fail
;
12600 arg4
= PyList_Size(obj3
);
12601 arg5
= wxString_LIST_helper(obj3
);
12602 if (arg5
== NULL
) SWIG_fail
;
12606 arg6
= (long) SWIG_AsLong(obj4
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12612 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12616 if (!wxPyCheckForApp()) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12633 if (arg5
) delete [] arg5
;
12646 if (arg5
) delete [] arg5
;
12652 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12655 wxArrayInt
*arg2
= 0 ;
12656 bool temp2
= False
;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self",(char *) "selections", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12667 if (! PySequence_Check(obj1
)) {
12668 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12671 arg2
= new wxArrayInt
;
12673 int i
, len
=PySequence_Length(obj1
);
12674 for (i
=0; i
<len
; i
++) {
12675 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12676 PyObject
* number
= PyNumber_Int(item
);
12677 arg2
->Add(PyInt_AS_LONG(number
));
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12691 if (temp2
) delete arg2
;
12696 if (temp2
) delete arg2
;
12702 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= result
;
12728 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12731 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12733 return Py_BuildValue((char *)"");
12735 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxWindow
*arg1
= (wxWindow
*) 0 ;
12738 wxString
*arg2
= 0 ;
12739 wxString
*arg3
= 0 ;
12741 wxString
*arg5
= (wxString
*) 0 ;
12742 long arg6
= (long) wxCHOICEDLG_STYLE
;
12743 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12744 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12745 wxSingleChoiceDialog
*result
;
12746 bool temp2
= False
;
12747 bool temp3
= False
;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 PyObject
* obj2
= 0 ;
12752 PyObject
* obj3
= 0 ;
12753 PyObject
* obj4
= 0 ;
12754 PyObject
* obj5
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 arg2
= wxString_in_helper(obj1
);
12764 if (arg2
== NULL
) SWIG_fail
;
12768 arg3
= wxString_in_helper(obj2
);
12769 if (arg3
== NULL
) SWIG_fail
;
12773 arg4
= PyList_Size(obj3
);
12774 arg5
= wxString_LIST_helper(obj3
);
12775 if (arg5
== NULL
) SWIG_fail
;
12778 arg6
= (long) SWIG_AsLong(obj4
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12784 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12788 if (!wxPyCheckForApp()) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12805 if (arg5
) delete [] arg5
;
12818 if (arg5
) delete [] arg5
;
12824 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= (int)(arg1
)->GetSelection();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_FromInt((int)result
);
12850 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= (arg1
)->GetStringSelection();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12882 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "sel", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 arg2
= (int) SWIG_AsInt(obj1
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->SetSelection(arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12914 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12916 return Py_BuildValue((char *)"");
12918 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxWindow
*arg1
= (wxWindow
*) 0 ;
12921 wxString
*arg2
= 0 ;
12922 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12924 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12926 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12927 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12928 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12929 wxTextEntryDialog
*result
;
12930 bool temp2
= False
;
12931 bool temp3
= False
;
12932 bool temp4
= False
;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 PyObject
* obj2
= 0 ;
12937 PyObject
* obj3
= 0 ;
12938 PyObject
* obj4
= 0 ;
12939 PyObject
* obj5
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12948 arg2
= wxString_in_helper(obj1
);
12949 if (arg2
== NULL
) SWIG_fail
;
12954 arg3
= wxString_in_helper(obj2
);
12955 if (arg3
== NULL
) SWIG_fail
;
12961 arg4
= wxString_in_helper(obj3
);
12962 if (arg4
== NULL
) SWIG_fail
;
12967 arg5
= (long) SWIG_AsLong(obj4
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12973 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12977 if (!wxPyCheckForApp()) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13015 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (arg1
)->GetValue();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13047 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13050 wxString
*arg2
= 0 ;
13051 bool temp2
= False
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "value", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 arg2
= wxString_in_helper(obj1
);
13063 if (arg2
== NULL
) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->SetValue((wxString
const &)*arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13088 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13091 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13093 return Py_BuildValue((char *)"");
13095 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxFontData
*result
;
13098 char *kwnames
[] = {
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (wxFontData
*)new wxFontData();
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13117 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxFontData
*arg1
= (wxFontData
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxFontData
*arg1
= (wxFontData
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self",(char *) "enable", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 arg2
= (bool) SWIG_AsBool(obj1
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->EnableEffects(arg2
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxFontData
*arg1
= (wxFontData
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (bool)(arg1
)->GetAllowSymbols();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13199 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxFontData
*arg1
= (wxFontData
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (arg1
)->GetColour();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 wxColour
* resultptr
;
13220 resultptr
= new wxColour((wxColour
&) result
);
13221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13229 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxFontData
*arg1
= (wxFontData
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (arg1
)->GetChosenFont();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 wxFont
* resultptr
;
13250 resultptr
= new wxFont((wxFont
&) result
);
13251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13259 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxFontData
*arg1
= (wxFontData
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)(arg1
)->GetEnableEffects();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxFontData
*arg1
= (wxFontData
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (arg1
)->GetInitialFont();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 wxFont
* resultptr
;
13308 resultptr
= new wxFont((wxFont
&) result
);
13309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13317 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxFontData
*arg1
= (wxFontData
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (bool)(arg1
)->GetShowHelp();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13345 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxFontData
*arg1
= (wxFontData
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "allowSymbols", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13358 arg2
= (bool) SWIG_AsBool(obj1
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->SetAllowSymbols(arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxFontData
*arg1
= (wxFontData
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "font", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13390 if (arg2
== NULL
) {
13391 PyErr_SetString(PyExc_TypeError
,"null reference");
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxFontData
*arg1
= (wxFontData
*) 0 ;
13411 wxColour
*arg2
= 0 ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "colour", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetColour((wxColour
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxFontData
*arg1
= (wxFontData
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "font", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13456 if (arg2
== NULL
) {
13457 PyErr_SetString(PyExc_TypeError
,"null reference");
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 Py_INCREF(Py_None
); resultobj
= Py_None
;
13474 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxFontData
*arg1
= (wxFontData
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 PyObject
* obj2
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "min",(char *) "max", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 arg2
= (int) SWIG_AsInt(obj1
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13491 arg3
= (int) SWIG_AsInt(obj2
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->SetRange(arg2
,arg3
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxFontData
*arg1
= (wxFontData
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "showHelp", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 arg2
= (bool) SWIG_AsBool(obj1
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->SetShowHelp(arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13536 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13539 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13541 return Py_BuildValue((char *)"");
13543 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxWindow
*arg1
= (wxWindow
*) 0 ;
13546 wxFontData
*arg2
= 0 ;
13547 wxFontDialog
*result
;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "parent",(char *) "data", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13560 if (arg2
== NULL
) {
13561 PyErr_SetString(PyExc_TypeError
,"null reference");
13565 if (!wxPyCheckForApp()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13579 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13582 wxFontData
*result
;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13595 result
= (wxFontData
*) &_result_ref
;
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13608 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13611 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13613 return Py_BuildValue((char *)"");
13615 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxWindow
*arg1
= (wxWindow
*) 0 ;
13618 wxString
*arg2
= 0 ;
13619 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13621 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13622 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13623 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13624 wxMessageDialog
*result
;
13625 bool temp2
= False
;
13626 bool temp3
= False
;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 PyObject
* obj2
= 0 ;
13631 PyObject
* obj3
= 0 ;
13632 PyObject
* obj4
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13641 arg2
= wxString_in_helper(obj1
);
13642 if (arg2
== NULL
) SWIG_fail
;
13647 arg3
= wxString_in_helper(obj2
);
13648 if (arg3
== NULL
) SWIG_fail
;
13653 arg4
= (long) SWIG_AsLong(obj3
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13659 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13663 if (!wxPyCheckForApp()) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13693 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13696 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13698 return Py_BuildValue((char *)"");
13700 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxString
*arg1
= 0 ;
13703 wxString
*arg2
= 0 ;
13704 int arg3
= (int) 100 ;
13705 wxWindow
*arg4
= (wxWindow
*) NULL
;
13706 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13707 wxProgressDialog
*result
;
13708 bool temp1
= False
;
13709 bool temp2
= False
;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 PyObject
* obj2
= 0 ;
13713 PyObject
* obj3
= 0 ;
13714 PyObject
* obj4
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13721 arg1
= wxString_in_helper(obj0
);
13722 if (arg1
== NULL
) SWIG_fail
;
13726 arg2
= wxString_in_helper(obj1
);
13727 if (arg2
== NULL
) SWIG_fail
;
13731 arg3
= (int) SWIG_AsInt(obj2
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13735 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 arg5
= (int) SWIG_AsInt(obj4
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13743 if (!wxPyCheckForApp()) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13773 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13777 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13778 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13780 bool temp3
= False
;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 PyObject
* obj2
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 arg2
= (int) SWIG_AsInt(obj1
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 arg3
= wxString_in_helper(obj2
);
13796 if (arg3
== NULL
) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13824 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 Py_INCREF(Py_None
); resultobj
= Py_None
;
13849 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13852 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13854 return Py_BuildValue((char *)"");
13856 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13859 int arg2
= (int) 0 ;
13860 wxFindDialogEvent
*result
;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "commandType",(char *) "id", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13869 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 arg2
= (int) SWIG_AsInt(obj1
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13890 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (int)(arg1
)->GetFlags();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_FromInt((int)result
);
13916 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 wxString
const &_result_ref
= (arg1
)->GetFindString();
13932 result
= (wxString
*) &_result_ref
;
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13942 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13951 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13955 PyObject
* obj0
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13967 result
= (wxString
*) &_result_ref
;
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13986 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13989 wxFindReplaceDialog
*result
;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14012 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "flags", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int) SWIG_AsInt(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 (arg1
)->SetFlags(arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 Py_INCREF(Py_None
); resultobj
= Py_None
;
14041 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14044 wxString
*arg2
= 0 ;
14045 bool temp2
= False
;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "str", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 arg2
= wxString_in_helper(obj1
);
14057 if (arg2
== NULL
) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetFindString((wxString
const &)*arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14085 wxString
*arg2
= 0 ;
14086 bool temp2
= False
;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self",(char *) "str", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 arg2
= wxString_in_helper(obj1
);
14098 if (arg2
== NULL
) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14126 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14128 return Py_BuildValue((char *)"");
14130 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 int arg1
= (int) 0 ;
14133 wxFindReplaceData
*result
;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "flags", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14141 arg1
= (int) SWIG_AsInt(obj0
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14158 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 Py_INCREF(Py_None
); resultobj
= Py_None
;
14183 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 wxString
const &_result_ref
= (arg1
)->GetFindString();
14199 result
= (wxString
*) &_result_ref
;
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14209 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14218 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14234 result
= (wxString
*) &_result_ref
;
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14253 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (int)(arg1
)->GetFlags();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_FromInt((int)result
);
14279 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self",(char *) "flags", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14292 arg2
= (int) SWIG_AsInt(obj1
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 (arg1
)->SetFlags(arg2
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 Py_INCREF(Py_None
); resultobj
= Py_None
;
14308 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14311 wxString
*arg2
= 0 ;
14312 bool temp2
= False
;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "str", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 arg2
= wxString_in_helper(obj1
);
14324 if (arg2
== NULL
) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 (arg1
)->SetFindString((wxString
const &)*arg2
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 Py_INCREF(Py_None
); resultobj
= Py_None
;
14349 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14352 wxString
*arg2
= 0 ;
14353 bool temp2
= False
;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "str", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 arg2
= wxString_in_helper(obj1
);
14365 if (arg2
== NULL
) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 Py_INCREF(Py_None
); resultobj
= Py_None
;
14390 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14393 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14395 return Py_BuildValue((char *)"");
14397 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxWindow
*arg1
= (wxWindow
*) 0 ;
14400 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14401 wxString
*arg3
= 0 ;
14402 int arg4
= (int) 0 ;
14403 wxFindReplaceDialog
*result
;
14404 bool temp3
= False
;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 PyObject
* obj2
= 0 ;
14408 PyObject
* obj3
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 arg3
= wxString_in_helper(obj2
);
14420 if (arg3
== NULL
) SWIG_fail
;
14424 arg4
= (int) SWIG_AsInt(obj3
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 if (!wxPyCheckForApp()) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14450 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFindReplaceDialog
*result
;
14453 char *kwnames
[] = {
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14459 if (!wxPyCheckForApp()) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14473 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14476 wxWindow
*arg2
= (wxWindow
*) 0 ;
14477 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14478 wxString
*arg4
= 0 ;
14479 int arg5
= (int) 0 ;
14481 bool temp4
= False
;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 PyObject
* obj2
= 0 ;
14485 PyObject
* obj3
= 0 ;
14486 PyObject
* obj4
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 arg4
= wxString_in_helper(obj3
);
14500 if (arg4
== NULL
) SWIG_fail
;
14504 arg5
= (int) SWIG_AsInt(obj4
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14534 wxFindReplaceData
*result
;
14535 PyObject
* obj0
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14557 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14560 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "data", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetData(arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14589 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14591 return Py_BuildValue((char *)"");
14593 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxWindow
*arg1
= (wxWindow
*) 0 ;
14596 int arg2
= (int) (int)-1 ;
14597 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14603 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14604 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14606 wxMDIParentFrame
*result
;
14607 bool temp3
= False
;
14610 bool temp7
= False
;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 PyObject
* obj2
= 0 ;
14614 PyObject
* obj3
= 0 ;
14615 PyObject
* obj4
= 0 ;
14616 PyObject
* obj5
= 0 ;
14617 PyObject
* obj6
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14626 arg2
= (int const) SWIG_AsInt(obj1
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14631 arg3
= wxString_in_helper(obj2
);
14632 if (arg3
== NULL
) SWIG_fail
;
14639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14649 arg6
= (long) SWIG_AsLong(obj5
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14654 arg7
= wxString_in_helper(obj6
);
14655 if (arg7
== NULL
) SWIG_fail
;
14660 if (!wxPyCheckForApp()) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14690 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxMDIParentFrame
*result
;
14693 char *kwnames
[] = {
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14699 if (!wxPyCheckForApp()) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14713 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14716 wxWindow
*arg2
= (wxWindow
*) 0 ;
14717 int arg3
= (int) (int)-1 ;
14718 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14720 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14721 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14722 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14723 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14724 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14725 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14726 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14728 bool temp4
= False
;
14731 bool temp8
= False
;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 PyObject
* obj2
= 0 ;
14735 PyObject
* obj3
= 0 ;
14736 PyObject
* obj4
= 0 ;
14737 PyObject
* obj5
= 0 ;
14738 PyObject
* obj6
= 0 ;
14739 PyObject
* obj7
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 arg3
= (int const) SWIG_AsInt(obj2
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14755 arg4
= wxString_in_helper(obj3
);
14756 if (arg4
== NULL
) SWIG_fail
;
14763 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14769 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14773 arg7
= (long) SWIG_AsLong(obj6
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14778 arg8
= wxString_in_helper(obj7
);
14779 if (arg8
== NULL
) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 (arg1
)->ActivateNext();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14840 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->ActivatePrevious();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 Py_INCREF(Py_None
); resultobj
= Py_None
;
14865 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->ArrangeIcons();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 Py_INCREF(Py_None
); resultobj
= Py_None
;
14915 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14918 wxMDIChildFrame
*result
;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= wxPyMake_wxObject(result
, 0);
14943 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14946 wxMDIClientWindow
*result
;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= wxPyMake_wxObject(result
, 0);
14971 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxWindow
*)(arg1
)->GetToolBar();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= wxPyMake_wxObject(result
, 0);
14999 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15027 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15029 return Py_BuildValue((char *)"");
15031 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15034 int arg2
= (int) (int)-1 ;
15035 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15036 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15041 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15042 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15043 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15044 wxMDIChildFrame
*result
;
15045 bool temp3
= False
;
15048 bool temp7
= False
;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 PyObject
* obj2
= 0 ;
15052 PyObject
* obj3
= 0 ;
15053 PyObject
* obj4
= 0 ;
15054 PyObject
* obj5
= 0 ;
15055 PyObject
* obj6
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg2
= (int const) SWIG_AsInt(obj1
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15069 arg3
= wxString_in_helper(obj2
);
15070 if (arg3
== NULL
) SWIG_fail
;
15077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15087 arg6
= (long) SWIG_AsLong(obj5
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15092 arg7
= wxString_in_helper(obj6
);
15093 if (arg7
== NULL
) SWIG_fail
;
15098 if (!wxPyCheckForApp()) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15128 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxMDIChildFrame
*result
;
15131 char *kwnames
[] = {
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15137 if (!wxPyCheckForApp()) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15151 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15154 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15155 int arg3
= (int) (int)-1 ;
15156 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15162 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15163 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15164 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15166 bool temp4
= False
;
15169 bool temp8
= False
;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 PyObject
* obj2
= 0 ;
15173 PyObject
* obj3
= 0 ;
15174 PyObject
* obj4
= 0 ;
15175 PyObject
* obj5
= 0 ;
15176 PyObject
* obj6
= 0 ;
15177 PyObject
* obj7
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 arg3
= (int const) SWIG_AsInt(obj2
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15193 arg4
= wxString_in_helper(obj3
);
15194 if (arg4
== NULL
) SWIG_fail
;
15201 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15207 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15211 arg7
= (long) SWIG_AsLong(obj6
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15216 arg8
= wxString_in_helper(obj7
);
15217 if (arg8
== NULL
) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15253 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->Activate();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "maximize", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 arg2
= (bool) SWIG_AsBool(obj1
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->Maximize(arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 Py_INCREF(Py_None
); resultobj
= Py_None
;
15332 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15335 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15337 return Py_BuildValue((char *)"");
15339 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15342 long arg2
= (long) 0 ;
15343 wxMDIClientWindow
*result
;
15344 PyObject
* obj0
= 0 ;
15345 PyObject
* obj1
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "parent",(char *) "style", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 arg2
= (long) SWIG_AsLong(obj1
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 if (!wxPyCheckForApp()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15372 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxMDIClientWindow
*result
;
15375 char *kwnames
[] = {
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15381 if (!wxPyCheckForApp()) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15395 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15398 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15399 long arg3
= (long) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "parent",(char *) "style", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 arg3
= (long) SWIG_AsLong(obj2
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15436 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15438 return Py_BuildValue((char *)"");
15440 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxWindow
*arg1
= (wxWindow
*) 0 ;
15443 int arg2
= (int) (int)-1 ;
15444 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15445 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15446 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15447 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15448 long arg5
= (long) 0 ;
15449 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15450 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15451 wxPyWindow
*result
;
15454 bool temp6
= False
;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 PyObject
* obj3
= 0 ;
15459 PyObject
* obj4
= 0 ;
15460 PyObject
* obj5
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15469 arg2
= (int const) SWIG_AsInt(obj1
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15481 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15485 arg5
= (long) SWIG_AsLong(obj4
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15490 arg6
= wxString_in_helper(obj5
);
15491 if (arg6
== NULL
) SWIG_fail
;
15496 if (!wxPyCheckForApp()) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15518 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxPyWindow
*result
;
15521 char *kwnames
[] = {
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15527 if (!wxPyCheckForApp()) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (wxPyWindow
*)new wxPyWindow();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15541 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15544 PyObject
*arg2
= (PyObject
*) 0 ;
15545 PyObject
*arg3
= (PyObject
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "self",(char *) "_class", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "size", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 PyObject
* obj3
= 0 ;
15615 PyObject
* obj4
= 0 ;
15616 char *kwnames
[] = {
15617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 arg2
= (int) SWIG_AsInt(obj1
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15625 arg3
= (int) SWIG_AsInt(obj2
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15627 arg4
= (int) SWIG_AsInt(obj3
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15629 arg5
= (int) SWIG_AsInt(obj4
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15652 int arg6
= (int) wxSIZE_AUTO
;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 PyObject
* obj2
= 0 ;
15656 PyObject
* obj3
= 0 ;
15657 PyObject
* obj4
= 0 ;
15658 PyObject
* obj5
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 arg2
= (int) SWIG_AsInt(obj1
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15668 arg3
= (int) SWIG_AsInt(obj2
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15670 arg4
= (int) SWIG_AsInt(obj3
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15672 arg5
= (int) SWIG_AsInt(obj4
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 arg6
= (int) SWIG_AsInt(obj5
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 Py_INCREF(Py_None
); resultobj
= Py_None
;
15692 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 PyObject
* obj2
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "width",(char *) "height", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15707 arg2
= (int) SWIG_AsInt(obj1
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15709 arg3
= (int) SWIG_AsInt(obj2
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 Py_INCREF(Py_None
); resultobj
= Py_None
;
15725 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "x",(char *) "y", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15740 arg2
= (int) SWIG_AsInt(obj1
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15742 arg3
= (int) SWIG_AsInt(obj2
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 Py_INCREF(Py_None
); resultobj
= Py_None
;
15758 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15761 int *arg2
= (int *) 0 ;
15762 int *arg3
= (int *) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 Py_INCREF(Py_None
); resultobj
= Py_None
;
15784 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15785 resultobj
= t_output_helper(resultobj
,o
);
15788 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15789 resultobj
= t_output_helper(resultobj
,o
);
15797 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15800 int *arg2
= (int *) 0 ;
15801 int *arg3
= (int *) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15824 resultobj
= t_output_helper(resultobj
,o
);
15827 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15828 resultobj
= t_output_helper(resultobj
,o
);
15836 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15839 int *arg2
= (int *) 0 ;
15840 int *arg3
= (int *) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15863 resultobj
= t_output_helper(resultobj
,o
);
15866 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15867 resultobj
= t_output_helper(resultobj
,o
);
15875 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 wxSize
* resultptr
;
15896 resultptr
= new wxSize((wxSize
&) result
);
15897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15905 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 wxSize
* resultptr
;
15926 resultptr
= new wxSize((wxSize
&) result
);
15927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15935 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 (arg1
)->base_InitDialog();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= (bool)(arg1
)->base_TransferDataToWindow();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15988 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16016 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)(arg1
)->base_Validate();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16072 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 wxSize
* resultptr
;
16121 resultptr
= new wxSize((wxSize
&) result
);
16122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16130 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16133 wxWindow
*arg2
= (wxWindow
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "child", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 (arg1
)->base_AddChild(arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 Py_INCREF(Py_None
); resultobj
= Py_None
;
16159 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16162 wxWindow
*arg2
= (wxWindow
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "child", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 (arg1
)->base_RemoveChild(arg2
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16216 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16219 wxColour
*arg2
= 0 ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "c", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 Py_INCREF(Py_None
); resultobj
= Py_None
;
16248 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
;
16250 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16251 wxVisualAttributes result
;
16252 PyObject
* obj0
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (arg1
)->base_GetDefaultAttributes();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 wxVisualAttributes
* resultptr
;
16269 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16278 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16281 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16283 return Py_BuildValue((char *)"");
16285 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxWindow
*arg1
= (wxWindow
*) 0 ;
16288 int arg2
= (int) (int)-1 ;
16289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16293 long arg5
= (long) 0 ;
16294 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16299 bool temp6
= False
;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 PyObject
* obj3
= 0 ;
16304 PyObject
* obj4
= 0 ;
16305 PyObject
* obj5
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 arg2
= (int const) SWIG_AsInt(obj1
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16330 arg5
= (long) SWIG_AsLong(obj4
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16335 arg6
= wxString_in_helper(obj5
);
16336 if (arg6
== NULL
) SWIG_fail
;
16341 if (!wxPyCheckForApp()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16363 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16366 char *kwnames
[] = {
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16372 if (!wxPyCheckForApp()) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (wxPyPanel
*)new wxPyPanel();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16386 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16389 PyObject
*arg2
= (PyObject
*) 0 ;
16390 PyObject
*arg3
= (PyObject
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 PyObject
* obj2
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "self",(char *) "_class", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 Py_INCREF(Py_None
); resultobj
= Py_None
;
16417 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self",(char *) "size", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16433 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 PyObject
* obj3
= 0 ;
16460 PyObject
* obj4
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 arg2
= (int) SWIG_AsInt(obj1
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16470 arg3
= (int) SWIG_AsInt(obj2
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16472 arg4
= (int) SWIG_AsInt(obj3
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16474 arg5
= (int) SWIG_AsInt(obj4
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16497 int arg6
= (int) wxSIZE_AUTO
;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 PyObject
* obj2
= 0 ;
16501 PyObject
* obj3
= 0 ;
16502 PyObject
* obj4
= 0 ;
16503 PyObject
* obj5
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 arg2
= (int) SWIG_AsInt(obj1
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16513 arg3
= (int) SWIG_AsInt(obj2
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16515 arg4
= (int) SWIG_AsInt(obj3
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16517 arg5
= (int) SWIG_AsInt(obj4
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 arg6
= (int) SWIG_AsInt(obj5
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 Py_INCREF(Py_None
); resultobj
= Py_None
;
16537 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 PyObject
* obj2
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "width",(char *) "height", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16552 arg2
= (int) SWIG_AsInt(obj1
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16554 arg3
= (int) SWIG_AsInt(obj2
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16570 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 PyObject
* obj2
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "x",(char *) "y", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 arg2
= (int) SWIG_AsInt(obj1
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16587 arg3
= (int) SWIG_AsInt(obj2
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16606 int *arg2
= (int *) 0 ;
16607 int *arg3
= (int *) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 Py_INCREF(Py_None
); resultobj
= Py_None
;
16629 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16630 resultobj
= t_output_helper(resultobj
,o
);
16633 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16634 resultobj
= t_output_helper(resultobj
,o
);
16642 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16645 int *arg2
= (int *) 0 ;
16646 int *arg3
= (int *) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 Py_INCREF(Py_None
); resultobj
= Py_None
;
16668 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16669 resultobj
= t_output_helper(resultobj
,o
);
16672 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16673 resultobj
= t_output_helper(resultobj
,o
);
16681 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16684 int *arg2
= (int *) 0 ;
16685 int *arg3
= (int *) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 Py_INCREF(Py_None
); resultobj
= Py_None
;
16707 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16708 resultobj
= t_output_helper(resultobj
,o
);
16711 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16712 resultobj
= t_output_helper(resultobj
,o
);
16720 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 wxSize
* resultptr
;
16741 resultptr
= new wxSize((wxSize
&) result
);
16742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16750 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 wxSize
* resultptr
;
16771 resultptr
= new wxSize((wxSize
&) result
);
16772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16780 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 (arg1
)->base_InitDialog();
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)(arg1
)->base_TransferDataToWindow();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16861 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)(arg1
)->base_Validate();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16945 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 wxSize
* resultptr
;
16966 resultptr
= new wxSize((wxSize
&) result
);
16967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16975 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16978 wxWindow
*arg2
= (wxWindow
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self",(char *) "child", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->base_AddChild(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17007 wxWindow
*arg2
= (wxWindow
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "child", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->base_RemoveChild(arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17033 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17037 PyObject
* obj0
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17061 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17064 wxColour
*arg2
= 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "c", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 Py_INCREF(Py_None
); resultobj
= Py_None
;
17093 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17096 wxVisualAttributes result
;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (arg1
)->base_GetDefaultAttributes();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 wxVisualAttributes
* resultptr
;
17114 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17123 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17126 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17128 return Py_BuildValue((char *)"");
17130 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxWindow
*arg1
= (wxWindow
*) 0 ;
17133 int arg2
= (int) (int)-1 ;
17134 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17135 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17136 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17137 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17138 long arg5
= (long) 0 ;
17139 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17140 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17141 wxPyScrolledWindow
*result
;
17144 bool temp6
= False
;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 PyObject
* obj3
= 0 ;
17149 PyObject
* obj4
= 0 ;
17150 PyObject
* obj5
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17159 arg2
= (int const) SWIG_AsInt(obj1
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17165 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17171 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17175 arg5
= (long) SWIG_AsLong(obj4
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17180 arg6
= wxString_in_helper(obj5
);
17181 if (arg6
== NULL
) SWIG_fail
;
17186 if (!wxPyCheckForApp()) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17208 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxPyScrolledWindow
*result
;
17211 char *kwnames
[] = {
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17217 if (!wxPyCheckForApp()) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17231 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17234 PyObject
*arg2
= (PyObject
*) 0 ;
17235 PyObject
*arg3
= (PyObject
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 PyObject
* obj2
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self",(char *) "self",(char *) "_class", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 Py_INCREF(Py_None
); resultobj
= Py_None
;
17262 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self",(char *) "size", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17278 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 Py_INCREF(Py_None
); resultobj
= Py_None
;
17294 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 PyObject
* obj2
= 0 ;
17304 PyObject
* obj3
= 0 ;
17305 PyObject
* obj4
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 arg2
= (int) SWIG_AsInt(obj1
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17315 arg3
= (int) SWIG_AsInt(obj2
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17317 arg4
= (int) SWIG_AsInt(obj3
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17319 arg5
= (int) SWIG_AsInt(obj4
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17342 int arg6
= (int) wxSIZE_AUTO
;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 PyObject
* obj2
= 0 ;
17346 PyObject
* obj3
= 0 ;
17347 PyObject
* obj4
= 0 ;
17348 PyObject
* obj5
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17356 arg2
= (int) SWIG_AsInt(obj1
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17358 arg3
= (int) SWIG_AsInt(obj2
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17360 arg4
= (int) SWIG_AsInt(obj3
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17362 arg5
= (int) SWIG_AsInt(obj4
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 arg6
= (int) SWIG_AsInt(obj5
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 Py_INCREF(Py_None
); resultobj
= Py_None
;
17382 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 PyObject
* obj2
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "width",(char *) "height", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 arg2
= (int) SWIG_AsInt(obj1
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17399 arg3
= (int) SWIG_AsInt(obj2
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 Py_INCREF(Py_None
); resultobj
= Py_None
;
17415 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 PyObject
* obj2
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "x",(char *) "y", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 arg2
= (int) SWIG_AsInt(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17432 arg3
= (int) SWIG_AsInt(obj2
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17451 int *arg2
= (int *) 0 ;
17452 int *arg3
= (int *) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17474 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17475 resultobj
= t_output_helper(resultobj
,o
);
17478 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17479 resultobj
= t_output_helper(resultobj
,o
);
17487 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17490 int *arg2
= (int *) 0 ;
17491 int *arg3
= (int *) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 Py_INCREF(Py_None
); resultobj
= Py_None
;
17513 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17514 resultobj
= t_output_helper(resultobj
,o
);
17517 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17518 resultobj
= t_output_helper(resultobj
,o
);
17526 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17529 int *arg2
= (int *) 0 ;
17530 int *arg3
= (int *) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 Py_INCREF(Py_None
); resultobj
= Py_None
;
17552 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17553 resultobj
= t_output_helper(resultobj
,o
);
17556 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17557 resultobj
= t_output_helper(resultobj
,o
);
17565 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 wxSize
* resultptr
;
17586 resultptr
= new wxSize((wxSize
&) result
);
17587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17595 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 wxSize
* resultptr
;
17616 resultptr
= new wxSize((wxSize
&) result
);
17617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17625 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "self", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->base_InitDialog();
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->base_TransferDataToWindow();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17706 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)(arg1
)->base_Validate();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17734 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17762 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17794 PyObject
* obj0
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 wxSize
* resultptr
;
17811 resultptr
= new wxSize((wxSize
&) result
);
17812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17820 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17823 wxWindow
*arg2
= (wxWindow
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "child", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 (arg1
)->base_AddChild(arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17852 wxWindow
*arg2
= (wxWindow
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "child", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->base_RemoveChild(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17906 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
;
17908 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17909 wxColour
*arg2
= 0 ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "c", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17941 wxVisualAttributes result
;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (arg1
)->base_GetDefaultAttributes();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 wxVisualAttributes
* resultptr
;
17959 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17968 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17971 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17973 return Py_BuildValue((char *)"");
17975 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17976 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17981 static PyObject
*_wrap_PrintoutTitleStr_get() {
17986 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17988 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17995 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17996 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18001 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18006 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18008 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18015 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18016 PyObject
*resultobj
;
18017 wxPrintData
*result
;
18019 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (wxPrintData
*)new wxPrintData();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18034 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18035 PyObject
*resultobj
;
18036 wxPrintData
*arg1
= 0 ;
18037 wxPrintData
*result
;
18038 PyObject
* obj0
= 0 ;
18040 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18044 if (arg1
== NULL
) {
18045 PyErr_SetString(PyExc_TypeError
,"null reference");
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18062 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18067 argc
= PyObject_Length(args
);
18068 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18069 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18072 return _wrap_new_PrintData__SWIG_0(self
,args
);
18078 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18086 return _wrap_new_PrintData__SWIG_1(self
,args
);
18090 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18095 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (int)(arg1
)->GetNoCopies();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_FromInt((int)result
);
18146 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (bool)(arg1
)->GetCollate();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18174 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)(arg1
)->GetOrientation();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_FromInt((int)result
);
18200 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (bool)(arg1
)->Ok();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18228 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18244 result
= (wxString
*) &_result_ref
;
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18254 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18263 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (bool)(arg1
)->GetColour();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18291 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (int)(arg1
)->GetDuplex();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_FromInt((int)result
);
18317 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (int)(arg1
)->GetPaperId();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_FromInt((int)result
);
18343 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18359 result
= (wxSize
*) &_result_ref
;
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18372 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "self", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (int)(arg1
)->GetQuality();
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_FromInt((int)result
);
18398 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "v", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 arg2
= (int) SWIG_AsInt(obj1
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->SetNoCopies(arg2
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "flag", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= (bool) SWIG_AsBool(obj1
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->SetCollate(arg2
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 Py_INCREF(Py_None
); resultobj
= Py_None
;
18456 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "orient", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 arg2
= (int) SWIG_AsInt(obj1
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->SetOrientation(arg2
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 Py_INCREF(Py_None
); resultobj
= Py_None
;
18485 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18488 wxString
*arg2
= 0 ;
18489 bool temp2
= False
;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self",(char *) "name", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 arg2
= wxString_in_helper(obj1
);
18501 if (arg2
== NULL
) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 Py_INCREF(Py_None
); resultobj
= Py_None
;
18526 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "colour", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 arg2
= (bool) SWIG_AsBool(obj1
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->SetColour(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "duplex", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 Py_INCREF(Py_None
); resultobj
= Py_None
;
18584 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self",(char *) "sizeId", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 Py_INCREF(Py_None
); resultobj
= Py_None
;
18613 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self",(char *) "sz", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "quality", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 arg2
= (int) SWIG_AsInt(obj1
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->SetQuality(arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18690 result
= (wxString
*) &_result_ref
;
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18700 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18709 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18725 result
= (wxString
*) &_result_ref
;
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18744 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18760 result
= (wxString
*) &_result_ref
;
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18770 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18779 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 wxString
const &_result_ref
= (arg1
)->GetFilename();
18795 result
= (wxString
*) &_result_ref
;
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18805 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18814 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18830 result
= (wxString
*) &_result_ref
;
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18840 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18849 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (double)(arg1
)->GetPrinterScaleX();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_FromDouble((double)result
);
18875 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (double)(arg1
)->GetPrinterScaleY();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_FromDouble((double)result
);
18901 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (long)(arg1
)->GetPrinterTranslateX();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_FromLong((long)result
);
18927 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (long)(arg1
)->GetPrinterTranslateY();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_FromLong((long)result
);
18953 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 char *kwnames
[] = {
18959 (char *) "self", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (int)(arg1
)->GetPrintMode();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_FromInt((int)result
);
18979 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18982 wxString
*arg2
= 0 ;
18983 bool temp2
= False
;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "command", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 arg2
= wxString_in_helper(obj1
);
18995 if (arg2
== NULL
) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19020 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19023 wxString
*arg2
= 0 ;
19024 bool temp2
= False
;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "options", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 arg2
= wxString_in_helper(obj1
);
19036 if (arg2
== NULL
) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19061 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19064 wxString
*arg2
= 0 ;
19065 bool temp2
= False
;
19066 PyObject
* obj0
= 0 ;
19067 PyObject
* obj1
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "command", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 arg2
= wxString_in_helper(obj1
);
19077 if (arg2
== NULL
) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19105 wxString
*arg2
= 0 ;
19106 bool temp2
= False
;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 char *kwnames
[] = {
19110 (char *) "self",(char *) "filename", NULL
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 arg2
= wxString_in_helper(obj1
);
19118 if (arg2
== NULL
) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetFilename((wxString
const &)*arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 Py_INCREF(Py_None
); resultobj
= Py_None
;
19143 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19146 wxString
*arg2
= 0 ;
19147 bool temp2
= False
;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "path", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 arg2
= wxString_in_helper(obj1
);
19159 if (arg2
== NULL
) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "x", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 arg2
= (double) SWIG_AsDouble(obj1
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 (arg1
)->SetPrinterScaleX(arg2
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 Py_INCREF(Py_None
); resultobj
= Py_None
;
19213 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "y", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 arg2
= (double) SWIG_AsDouble(obj1
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->SetPrinterScaleY(arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 PyObject
* obj2
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "x",(char *) "y", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 arg2
= (double) SWIG_AsDouble(obj1
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19259 arg3
= (double) SWIG_AsDouble(obj2
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 Py_INCREF(Py_None
); resultobj
= Py_None
;
19275 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "x", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->SetPrinterTranslateX(arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "y", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 arg2
= (long) SWIG_AsLong(obj1
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->SetPrinterTranslateY(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 PyObject
* obj2
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "x",(char *) "y", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 arg2
= (long) SWIG_AsLong(obj1
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19350 arg3
= (long) SWIG_AsLong(obj2
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "printMode", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 Py_INCREF(Py_None
); resultobj
= Py_None
;
19395 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19398 wxOutputStream
*result
;
19399 PyObject
* obj0
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19421 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19424 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "outputstream", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 (arg1
)->SetOutputStream(arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19453 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19455 return Py_BuildValue((char *)"");
19457 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19458 PyObject
*resultobj
;
19459 wxPageSetupDialogData
*result
;
19461 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19476 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19477 PyObject
*resultobj
;
19478 wxPageSetupDialogData
*arg1
= 0 ;
19479 wxPageSetupDialogData
*result
;
19480 PyObject
* obj0
= 0 ;
19482 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19486 if (arg1
== NULL
) {
19487 PyErr_SetString(PyExc_TypeError
,"null reference");
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19504 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19509 argc
= PyObject_Length(args
);
19510 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19511 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19514 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19520 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19528 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19532 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19537 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19562 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self",(char *) "flag", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 arg2
= (bool) SWIG_AsBool(obj1
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->EnableHelp(arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "flag", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= (bool) SWIG_AsBool(obj1
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->EnableMargins(arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "flag", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 arg2
= (bool) SWIG_AsBool(obj1
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->EnableOrientation(arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 Py_INCREF(Py_None
); resultobj
= Py_None
;
19649 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "flag", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 arg2
= (bool) SWIG_AsBool(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->EnablePaper(arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "flag", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 arg2
= (bool) SWIG_AsBool(obj1
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->EnablePrinter(arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (bool)(arg1
)->GetDefaultMinMargins();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19735 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 result
= (bool)(arg1
)->GetEnableMargins();
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19763 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (bool)(arg1
)->GetEnableOrientation();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19791 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (bool)(arg1
)->GetEnablePaper();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19819 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (bool)(arg1
)->GetEnablePrinter();
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19847 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (bool)(arg1
)->GetEnableHelp();
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19875 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (bool)(arg1
)->GetDefaultInfo();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (arg1
)->GetMarginTopLeft();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19923 wxPoint
* resultptr
;
19924 resultptr
= new wxPoint((wxPoint
&) result
);
19925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19933 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (arg1
)->GetMarginBottomRight();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 wxPoint
* resultptr
;
19954 resultptr
= new wxPoint((wxPoint
&) result
);
19955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19963 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (arg1
)->GetMinMarginTopLeft();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 wxPoint
* resultptr
;
19984 resultptr
= new wxPoint((wxPoint
&) result
);
19985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19993 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (arg1
)->GetMinMarginBottomRight();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20013 wxPoint
* resultptr
;
20014 resultptr
= new wxPoint((wxPoint
&) result
);
20015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20023 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 char *kwnames
[] = {
20029 (char *) "self", NULL
20032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (int)(arg1
)->GetPaperId();
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_FromInt((int)result
);
20049 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (arg1
)->GetPaperSize();
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20069 wxSize
* resultptr
;
20070 resultptr
= new wxSize((wxSize
&) result
);
20071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20079 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20082 wxPrintData
*result
;
20083 PyObject
* obj0
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20095 result
= (wxPrintData
*) &_result_ref
;
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20108 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "self", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (bool)(arg1
)->Ok();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20136 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "flag", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 arg2
= (bool) SWIG_AsBool(obj1
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 (arg1
)->SetDefaultInfo(arg2
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 Py_INCREF(Py_None
); resultobj
= Py_None
;
20165 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "flag", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20178 arg2
= (bool) SWIG_AsBool(obj1
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->SetDefaultMinMargins(arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 Py_INCREF(Py_None
); resultobj
= Py_None
;
20194 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20197 wxPoint
*arg2
= 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "pt", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20229 wxPoint
*arg2
= 0 ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "pt", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 Py_INCREF(Py_None
); resultobj
= Py_None
;
20258 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20261 wxPoint
*arg2
= 0 ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self",(char *) "pt", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20293 wxPoint
*arg2
= 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "pt", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 Py_INCREF(Py_None
); resultobj
= Py_None
;
20322 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self",(char *) "id", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20335 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 Py_INCREF(Py_None
); resultobj
= Py_None
;
20351 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "size", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 Py_INCREF(Py_None
); resultobj
= Py_None
;
20383 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20386 wxPrintData
*arg2
= 0 ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "printData", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20399 if (arg2
== NULL
) {
20400 PyErr_SetString(PyExc_TypeError
,"null reference");
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 Py_INCREF(Py_None
); resultobj
= Py_None
;
20417 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20420 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20422 return Py_BuildValue((char *)"");
20424 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxWindow
*arg1
= (wxWindow
*) 0 ;
20427 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20428 wxPageSetupDialog
*result
;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "parent",(char *) "data", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 if (!wxPyCheckForApp()) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20457 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20460 wxPageSetupDialogData
*result
;
20461 PyObject
* obj0
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20473 result
= (wxPageSetupDialogData
*) &_result_ref
;
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20486 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (int)(arg1
)->ShowModal();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_FromInt((int)result
);
20512 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20515 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20517 return Py_BuildValue((char *)"");
20519 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20520 PyObject
*resultobj
;
20521 wxPrintDialogData
*result
;
20523 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20538 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20539 PyObject
*resultobj
;
20540 wxPrintData
*arg1
= 0 ;
20541 wxPrintDialogData
*result
;
20542 PyObject
* obj0
= 0 ;
20544 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20548 if (arg1
== NULL
) {
20549 PyErr_SetString(PyExc_TypeError
,"null reference");
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20566 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20571 argc
= PyObject_Length(args
);
20572 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20573 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20576 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20582 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20590 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20594 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20599 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_FromInt((int)result
);
20650 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_FromInt((int)result
);
20676 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_FromInt((int)result
);
20702 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_FromInt((int)result
);
20728 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_FromInt((int)result
);
20754 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20782 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20810 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20838 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20894 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 char *kwnames
[] = {
20901 (char *) "self",(char *) "v", NULL
20904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 arg2
= (int) SWIG_AsInt(obj1
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->SetFromPage(arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 Py_INCREF(Py_None
); resultobj
= Py_None
;
20923 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "v", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20936 arg2
= (int) SWIG_AsInt(obj1
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetToPage(arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 PyObject
* obj1
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self",(char *) "v", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20965 arg2
= (int) SWIG_AsInt(obj1
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 (arg1
)->SetMinPage(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "v", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20994 arg2
= (int) SWIG_AsInt(obj1
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetMaxPage(arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21010 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self",(char *) "v", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 arg2
= (int) SWIG_AsInt(obj1
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->SetNoCopies(arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "flag", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 arg2
= (bool) SWIG_AsBool(obj1
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 (arg1
)->SetAllPages(arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 Py_INCREF(Py_None
); resultobj
= Py_None
;
21068 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "self",(char *) "flag", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 arg2
= (bool) SWIG_AsBool(obj1
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetSelection(arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self",(char *) "flag", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21110 arg2
= (bool) SWIG_AsBool(obj1
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 (arg1
)->SetCollate(arg2
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 Py_INCREF(Py_None
); resultobj
= Py_None
;
21126 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self",(char *) "flag", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 arg2
= (bool) SWIG_AsBool(obj1
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 (arg1
)->SetPrintToFile(arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 Py_INCREF(Py_None
); resultobj
= Py_None
;
21155 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "flag", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 arg2
= (bool) SWIG_AsBool(obj1
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 (arg1
)->SetSetupDialog(arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self",(char *) "flag", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 arg2
= (bool) SWIG_AsBool(obj1
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 (arg1
)->EnablePrintToFile(arg2
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 Py_INCREF(Py_None
); resultobj
= Py_None
;
21213 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21217 PyObject
* obj0
= 0 ;
21218 PyObject
* obj1
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self",(char *) "flag", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 arg2
= (bool) SWIG_AsBool(obj1
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 (arg1
)->EnableSelection(arg2
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 Py_INCREF(Py_None
); resultobj
= Py_None
;
21242 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "flag", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 arg2
= (bool) SWIG_AsBool(obj1
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->EnablePageNumbers(arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "flag", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 arg2
= (bool) SWIG_AsBool(obj1
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->EnableHelp(arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21328 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21356 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
;
21358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21384 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21388 PyObject
* obj0
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
;
21414 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21440 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21443 wxPrintData
*result
;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21456 result
= (wxPrintData
*) &_result_ref
;
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21469 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21472 wxPrintData
*arg2
= 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "printData", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21485 if (arg2
== NULL
) {
21486 PyErr_SetString(PyExc_TypeError
,"null reference");
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 Py_INCREF(Py_None
); resultobj
= Py_None
;
21503 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21506 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21508 return Py_BuildValue((char *)"");
21510 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxWindow
*arg1
= (wxWindow
*) 0 ;
21513 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21514 wxPrintDialog
*result
;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "parent",(char *) "data", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 if (!wxPyCheckForApp()) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21543 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21546 wxPrintDialogData
*result
;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21559 result
= (wxPrintDialogData
*) &_result_ref
;
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21572 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxDC
*)(arg1
)->GetPrintDC();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= wxPyMake_wxObject(result
, 1);
21600 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (int)(arg1
)->ShowModal();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_FromInt((int)result
);
21626 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21629 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21631 return Py_BuildValue((char *)"");
21633 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21637 PyObject
* obj0
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "data", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 if (!wxPyCheckForApp()) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (wxPrinter
*)new wxPrinter(arg1
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21662 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21665 PyObject
* obj0
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 Py_INCREF(Py_None
); resultobj
= Py_None
;
21687 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21690 wxWindow
*arg2
= (wxWindow
*) 0 ;
21691 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self",(char *) "parent",(char *) "printout", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 Py_INCREF(Py_None
); resultobj
= Py_None
;
21720 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21723 wxPrintDialogData
*result
;
21724 PyObject
* obj0
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21736 result
= (wxPrintDialogData
*) &_result_ref
;
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21749 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21752 wxWindow
*arg2
= (wxWindow
*) 0 ;
21753 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21754 int arg4
= (int) True
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 PyObject
* obj2
= 0 ;
21759 PyObject
* obj3
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg4
= (int) SWIG_AsInt(obj3
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21791 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21794 wxWindow
*arg2
= (wxWindow
*) 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "parent", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= wxPyMake_wxObject(result
, 0);
21823 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21826 wxWindow
*arg2
= (wxWindow
*) 0 ;
21827 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21828 wxString
*arg4
= 0 ;
21829 bool temp4
= False
;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 PyObject
* obj2
= 0 ;
21833 PyObject
* obj3
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 arg4
= wxString_in_helper(obj3
);
21847 if (arg4
== NULL
) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21872 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21875 wxWindow
*arg2
= (wxWindow
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "parent", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 result
= (bool)(arg1
)->Setup(arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)(arg1
)->GetAbort();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21935 char *kwnames
[] = {
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (int)wxPrinter::GetLastError();
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_FromInt((int)result
);
21954 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21957 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21959 return Py_BuildValue((char *)"");
21961 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21964 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21965 wxPyPrintout
*result
;
21966 bool temp1
= False
;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "title", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21975 arg1
= wxString_in_helper(obj0
);
21976 if (arg1
== NULL
) SWIG_fail
;
21981 if (!wxPyCheckForApp()) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= wxPyMake_wxObject(result
, 1);
22005 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22008 PyObject
*arg2
= (PyObject
*) 0 ;
22009 PyObject
*arg3
= (PyObject
*) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 PyObject
* obj2
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self",(char *) "self",(char *) "_class", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 Py_INCREF(Py_None
); resultobj
= Py_None
;
22036 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22068 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (wxDC
*)(arg1
)->GetDC();
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= wxPyMake_wxObject(result
, 0);
22096 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22099 wxDC
*arg2
= (wxDC
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "dc", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 (arg1
)->SetDC(arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 Py_INCREF(Py_None
); resultobj
= Py_None
;
22125 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "w",(char *) "h", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 arg2
= (int) SWIG_AsInt(obj1
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22142 arg3
= (int) SWIG_AsInt(obj2
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 Py_INCREF(Py_None
); resultobj
= Py_None
;
22158 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22161 int *arg2
= (int *) 0 ;
22162 int *arg3
= (int *) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 Py_INCREF(Py_None
); resultobj
= Py_None
;
22184 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22185 resultobj
= t_output_helper(resultobj
,o
);
22188 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22189 resultobj
= t_output_helper(resultobj
,o
);
22197 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "w",(char *) "h", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 arg2
= (int) SWIG_AsInt(obj1
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22214 arg3
= (int) SWIG_AsInt(obj2
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 Py_INCREF(Py_None
); resultobj
= Py_None
;
22230 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22233 int *arg2
= (int *) 0 ;
22234 int *arg3
= (int *) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 Py_INCREF(Py_None
); resultobj
= Py_None
;
22256 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22257 resultobj
= t_output_helper(resultobj
,o
);
22260 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22261 resultobj
= t_output_helper(resultobj
,o
);
22269 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "x",(char *) "y", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 arg2
= (int) SWIG_AsInt(obj1
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22286 arg3
= (int) SWIG_AsInt(obj2
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->SetPPIScreen(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 Py_INCREF(Py_None
); resultobj
= Py_None
;
22302 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22305 int *arg2
= (int *) 0 ;
22306 int *arg3
= (int *) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->GetPPIScreen(arg2
,arg3
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22329 resultobj
= t_output_helper(resultobj
,o
);
22332 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22333 resultobj
= t_output_helper(resultobj
,o
);
22341 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 PyObject
* obj2
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self",(char *) "x",(char *) "y", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 arg2
= (int) SWIG_AsInt(obj1
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22358 arg3
= (int) SWIG_AsInt(obj2
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 Py_INCREF(Py_None
); resultobj
= Py_None
;
22374 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22377 int *arg2
= (int *) 0 ;
22378 int *arg3
= (int *) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22401 resultobj
= t_output_helper(resultobj
,o
);
22404 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22405 resultobj
= t_output_helper(resultobj
,o
);
22413 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (bool)(arg1
)->IsPreview();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22441 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "p", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 arg2
= (bool) SWIG_AsBool(obj1
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 (arg1
)->SetIsPreview(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 Py_INCREF(Py_None
); resultobj
= Py_None
;
22470 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 PyObject
* obj2
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 arg2
= (int) SWIG_AsInt(obj1
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22488 arg3
= (int) SWIG_AsInt(obj2
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22506 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->base_OnEndDocument();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 (arg1
)->base_OnBeginPrinting();
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 Py_INCREF(Py_None
); resultobj
= Py_None
;
22556 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->base_OnEndPrinting();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22581 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->base_OnPreparePrinting();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "page", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22620 arg2
= (int) SWIG_AsInt(obj1
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (bool)(arg1
)->base_HasPage(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22638 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22641 int *arg2
= (int *) 0 ;
22642 int *arg3
= (int *) 0 ;
22643 int *arg4
= (int *) 0 ;
22644 int *arg5
= (int *) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22671 resultobj
= t_output_helper(resultobj
,o
);
22674 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22675 resultobj
= t_output_helper(resultobj
,o
);
22678 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22679 resultobj
= t_output_helper(resultobj
,o
);
22682 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22683 resultobj
= t_output_helper(resultobj
,o
);
22691 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22694 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22696 return Py_BuildValue((char *)"");
22698 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22701 wxWindow
*arg2
= (wxWindow
*) 0 ;
22702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22704 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22705 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22706 long arg5
= (long) 0 ;
22707 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22708 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22709 wxPreviewCanvas
*result
;
22712 bool temp6
= False
;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 PyObject
* obj2
= 0 ;
22716 PyObject
* obj3
= 0 ;
22717 PyObject
* obj4
= 0 ;
22718 PyObject
* obj5
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22741 arg5
= (long) SWIG_AsLong(obj4
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22746 arg6
= wxString_in_helper(obj5
);
22747 if (arg6
== NULL
) SWIG_fail
;
22752 if (!wxPyCheckForApp()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22774 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22777 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22779 return Py_BuildValue((char *)"");
22781 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22784 wxFrame
*arg2
= (wxFrame
*) 0 ;
22785 wxString
*arg3
= 0 ;
22786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22790 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22791 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22793 wxPreviewFrame
*result
;
22794 bool temp3
= False
;
22797 bool temp7
= False
;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 PyObject
* obj3
= 0 ;
22802 PyObject
* obj4
= 0 ;
22803 PyObject
* obj5
= 0 ;
22804 PyObject
* obj6
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22815 arg3
= wxString_in_helper(obj2
);
22816 if (arg3
== NULL
) SWIG_fail
;
22822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22832 arg6
= (long) SWIG_AsLong(obj5
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22837 arg7
= wxString_in_helper(obj6
);
22838 if (arg7
== NULL
) SWIG_fail
;
22843 if (!wxPyCheckForApp()) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22873 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->Initialize();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22898 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->CreateControlBar();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 Py_INCREF(Py_None
); resultobj
= Py_None
;
22923 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 (arg1
)->CreateCanvas();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 Py_INCREF(Py_None
); resultobj
= Py_None
;
22948 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22951 wxPreviewControlBar
*result
;
22952 PyObject
* obj0
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22974 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22977 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22979 return Py_BuildValue((char *)"");
22981 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22985 wxWindow
*arg3
= (wxWindow
*) 0 ;
22986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22990 long arg6
= (long) wxTAB_TRAVERSAL
;
22991 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22993 wxPreviewControlBar
*result
;
22996 bool temp7
= False
;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj2
= 0 ;
23000 PyObject
* obj3
= 0 ;
23001 PyObject
* obj4
= 0 ;
23002 PyObject
* obj5
= 0 ;
23003 PyObject
* obj6
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 arg2
= (long) SWIG_AsLong(obj1
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23028 arg6
= (long) SWIG_AsLong(obj5
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23033 arg7
= wxString_in_helper(obj6
);
23034 if (arg7
== NULL
) SWIG_fail
;
23039 if (!wxPyCheckForApp()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23061 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 result
= (int)(arg1
)->GetZoomControl();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_FromInt((int)result
);
23087 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self",(char *) "zoom", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 arg2
= (int) SWIG_AsInt(obj1
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 (arg1
)->SetZoomControl(arg2
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23119 wxPrintPreview
*result
;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23142 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 Py_INCREF(Py_None
); resultobj
= Py_None
;
23167 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23169 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 (arg1
)->OnPrevious();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 Py_INCREF(Py_None
); resultobj
= Py_None
;
23192 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23217 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 Py_INCREF(Py_None
); resultobj
= Py_None
;
23242 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23270 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23272 return Py_BuildValue((char *)"");
23274 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23275 PyObject
*resultobj
;
23276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23277 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23278 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23279 wxPrintPreview
*result
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 PyObject
* obj2
= 0 ;
23284 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23294 if (!wxPyCheckForApp()) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23308 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23309 PyObject
*resultobj
;
23310 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23311 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23312 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23313 wxPrintPreview
*result
;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23318 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23323 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 if (!wxPyCheckForApp()) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23340 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23345 argc
= PyObject_Length(args
);
23346 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23347 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23349 if ((argc
>= 2) && (argc
<= 3)) {
23353 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23363 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23372 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23376 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23384 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23393 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23403 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23413 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23421 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23427 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23432 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self",(char *) "pageNum", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 arg2
= (int) SWIG_AsInt(obj1
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23464 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (int)(arg1
)->GetCurrentPage();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_FromInt((int)result
);
23490 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23493 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "printout", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 (arg1
)->SetPrintout(arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 Py_INCREF(Py_None
); resultobj
= Py_None
;
23519 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23522 wxPyPrintout
*result
;
23523 PyObject
* obj0
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= wxPyMake_wxObject(result
, 0);
23547 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23550 wxPyPrintout
*result
;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "self", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= wxPyMake_wxObject(result
, 0);
23575 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23578 wxFrame
*arg2
= (wxFrame
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "frame", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SetFrame(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23607 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "canvas", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetCanvas(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (wxFrame
*)(arg1
)->GetFrame();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= wxPyMake_wxObject(result
, 0);
23661 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23664 wxPreviewCanvas
*result
;
23665 PyObject
* obj0
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23687 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23690 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 PyObject
* obj2
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23705 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23708 if (arg3
== NULL
) {
23709 PyErr_SetString(PyExc_TypeError
,"null reference");
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23728 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23731 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 PyObject
* obj2
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23749 if (arg3
== NULL
) {
23750 PyErr_SetString(PyExc_TypeError
,"null reference");
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23769 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self",(char *) "pageNum", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23783 arg2
= (int) SWIG_AsInt(obj1
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (bool)(arg1
)->RenderPage(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23801 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
;
23803 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23804 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self",(char *) "canvas", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 (arg1
)->AdjustScrollbars(arg2
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 Py_INCREF(Py_None
); resultobj
= Py_None
;
23830 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23833 wxPrintDialogData
*result
;
23834 PyObject
* obj0
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23846 result
= (wxPrintDialogData
*) &_result_ref
;
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23859 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "percent", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (int) SWIG_AsInt(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->SetZoom(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (int)(arg1
)->GetZoom();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_FromInt((int)result
);
23914 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 char *kwnames
[] = {
23920 (char *) "self", NULL
23923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (int)(arg1
)->GetMaxPage();
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= SWIG_FromInt((int)result
);
23940 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (int)(arg1
)->GetMinPage();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= SWIG_FromInt((int)result
);
23966 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (bool)(arg1
)->Ok();
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23994 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "ok", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 arg2
= (bool) SWIG_AsBool(obj1
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->SetOk(arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "interactive", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 arg2
= (bool) SWIG_AsBool(obj1
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (bool)(arg1
)->Print(arg2
);
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24055 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 (arg1
)->DetermineScaling();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 Py_INCREF(Py_None
); resultobj
= Py_None
;
24080 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24083 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24085 return Py_BuildValue((char *)"");
24087 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24088 PyObject
*resultobj
;
24089 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24090 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24091 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24092 wxPyPrintPreview
*result
;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 PyObject
* obj2
= 0 ;
24097 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 if (!wxPyCheckForApp()) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24121 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24122 PyObject
*resultobj
;
24123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24124 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24125 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24126 wxPyPrintPreview
*result
;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 PyObject
* obj2
= 0 ;
24131 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24136 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 if (!wxPyCheckForApp()) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24153 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24158 argc
= PyObject_Length(args
);
24159 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24162 if ((argc
>= 2) && (argc
<= 3)) {
24166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24185 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24189 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24197 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24226 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24234 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24240 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24245 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24248 PyObject
*arg2
= (PyObject
*) 0 ;
24249 PyObject
*arg3
= (PyObject
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 PyObject
* obj2
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "self",(char *) "_class", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "pageNum", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 arg2
= (int) SWIG_AsInt(obj1
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24311 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24329 if (arg3
== NULL
) {
24330 PyErr_SetString(PyExc_TypeError
,"null reference");
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24349 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24352 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 PyObject
* obj2
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24370 if (arg3
== NULL
) {
24371 PyErr_SetString(PyExc_TypeError
,"null reference");
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24390 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "pageNum", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 arg2
= (int) SWIG_AsInt(obj1
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24422 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "percent", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 arg2
= (int) SWIG_AsInt(obj1
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->base_SetZoom(arg2
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 Py_INCREF(Py_None
); resultobj
= Py_None
;
24451 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "interactive", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 arg2
= (bool) SWIG_AsBool(obj1
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (bool)(arg1
)->base_Print(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24483 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->base_DetermineScaling();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24511 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24513 return Py_BuildValue((char *)"");
24515 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24518 wxFrame
*arg2
= (wxFrame
*) 0 ;
24519 wxString
*arg3
= 0 ;
24520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24524 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24525 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24526 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24527 wxPyPreviewFrame
*result
;
24528 bool temp3
= False
;
24531 bool temp7
= False
;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 PyObject
* obj2
= 0 ;
24535 PyObject
* obj3
= 0 ;
24536 PyObject
* obj4
= 0 ;
24537 PyObject
* obj5
= 0 ;
24538 PyObject
* obj6
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24549 arg3
= wxString_in_helper(obj2
);
24550 if (arg3
== NULL
) SWIG_fail
;
24556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24566 arg6
= (long) SWIG_AsLong(obj5
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24571 arg7
= wxString_in_helper(obj6
);
24572 if (arg7
== NULL
) SWIG_fail
;
24577 if (!wxPyCheckForApp()) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24607 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24610 PyObject
*arg2
= (PyObject
*) 0 ;
24611 PyObject
*arg3
= (PyObject
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 PyObject
* obj2
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "self",(char *) "_class", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24641 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self",(char *) "canvas", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->SetPreviewCanvas(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24667 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24670 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "bar", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->SetControlBar(arg2
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 Py_INCREF(Py_None
); resultobj
= Py_None
;
24696 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 (arg1
)->base_Initialize();
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 Py_INCREF(Py_None
); resultobj
= Py_None
;
24721 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->base_CreateCanvas();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->base_CreateControlBar();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 Py_INCREF(Py_None
); resultobj
= Py_None
;
24771 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24774 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24776 return Py_BuildValue((char *)"");
24778 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24782 wxWindow
*arg3
= (wxWindow
*) 0 ;
24783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24787 long arg6
= (long) 0 ;
24788 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24790 wxPyPreviewControlBar
*result
;
24793 bool temp7
= False
;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 PyObject
* obj3
= 0 ;
24798 PyObject
* obj4
= 0 ;
24799 PyObject
* obj5
= 0 ;
24800 PyObject
* obj6
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 arg2
= (long) SWIG_AsLong(obj1
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24825 arg6
= (long) SWIG_AsLong(obj5
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24830 arg7
= wxString_in_helper(obj6
);
24831 if (arg7
== NULL
) SWIG_fail
;
24836 if (!wxPyCheckForApp()) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24858 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24861 PyObject
*arg2
= (PyObject
*) 0 ;
24862 PyObject
*arg3
= (PyObject
*) 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "self",(char *) "_class", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24892 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "preview", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 (arg1
)->SetPrintPreview(arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24921 PyObject
* obj0
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 (arg1
)->base_CreateButtons();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 Py_INCREF(Py_None
); resultobj
= Py_None
;
24943 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
;
24945 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self",(char *) "zoom", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 arg2
= (int) SWIG_AsInt(obj1
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->base_SetZoomControl(arg2
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24977 return Py_BuildValue((char *)"");
24979 static PyMethodDef SwigMethods
[] = {
24980 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24986 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
25001 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
25002 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
25009 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
25023 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25047 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25059 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25063 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25067 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25072 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25088 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25116 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25123 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25146 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25154 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25166 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25172 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25181 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25187 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25192 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25198 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25202 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25220 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25246 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25254 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25263 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25265 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25274 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25277 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25284 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25302 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25306 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25311 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25315 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25331 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25334 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25336 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25340 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25349 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25358 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25364 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25376 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25383 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25387 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25413 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25439 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25465 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25466 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25511 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25512 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25536 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25543 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25547 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25548 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25570 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25581 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25586 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25597 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25608 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25620 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25622 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25628 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25638 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25639 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25655 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25656 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25662 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25663 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25665 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25672 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25673 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25675 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25676 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25677 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25678 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25679 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25680 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25681 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25682 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25683 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25684 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25685 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25690 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25692 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25693 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25695 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25698 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25699 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25701 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25702 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25704 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25705 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25707 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25708 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25710 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25711 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25713 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25714 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25716 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25717 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25719 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25722 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25723 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25725 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25726 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25728 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25731 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25732 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25734 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25735 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25737 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25738 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25740 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25741 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25743 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25744 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25746 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25747 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25749 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25750 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25752 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25753 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25755 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25756 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25758 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25759 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25761 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25762 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25764 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25767 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25768 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25770 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25771 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25773 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25774 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25776 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25777 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25779 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25780 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25782 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25783 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25785 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25788 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25789 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25791 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25792 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25794 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25795 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25797 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25798 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25800 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25803 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25804 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25806 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25807 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25809 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25810 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25812 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25813 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25815 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25816 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25818 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25819 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25821 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25824 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25827 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25830 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25831 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25833 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25834 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25836 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25837 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25839 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25840 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25842 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25845 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25848 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25851 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25854 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25857 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25860 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25863 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25864 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25866 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25867 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25869 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25872 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25875 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25878 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25879 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25881 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25884 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25885 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25887 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25888 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25890 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25891 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25893 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25894 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25896 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25899 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25900 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25902 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25903 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25905 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25908 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25909 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25911 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25914 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25917 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25920 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25921 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25923 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25926 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25927 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25929 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25932 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25935 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25938 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25941 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25944 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25945 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25947 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25950 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25953 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25956 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25959 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25962 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25965 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25968 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25971 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25972 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25974 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25975 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25977 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25978 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25980 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25981 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25983 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25984 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25986 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25987 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25989 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25990 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25992 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25993 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25995 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25998 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26001 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26004 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26007 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26010 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26013 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26016 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26019 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26022 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26025 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) ((wxSizer
*) x
));
26028 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26031 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26034 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26037 static void *_p_wxEventTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) ((wxEvent
*) x
));
26040 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) ((wxFontData
*) x
));
26043 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26046 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26049 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26052 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26055 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26058 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26061 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26064 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26067 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26070 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26073 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26076 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26079 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26082 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26085 static void *_p_wxControlTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26088 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26091 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26094 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26097 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26100 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26103 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26106 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) ((wxColourData
*) x
));
26109 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26112 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26115 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26118 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26121 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26124 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26127 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26130 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26133 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26136 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26139 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26142 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26143 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26145 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26146 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26148 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26149 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26151 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26152 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26154 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26157 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26158 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26160 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26161 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26163 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26164 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26166 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26167 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26169 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26170 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26172 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26173 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26175 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26178 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26181 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26182 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26184 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26187 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26190 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26193 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26194 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26196 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26197 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26199 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26200 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26202 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26205 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26206 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26208 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26211 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26212 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26214 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26215 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26217 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26220 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26223 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26224 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26226 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26229 static void *_p_wxImageTo_p_wxObject(void *x
) {
26230 return (void *)((wxObject
*) ((wxImage
*) x
));
26232 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26235 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26236 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26238 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26239 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26241 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26242 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26244 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26247 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26250 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26253 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26254 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26256 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26257 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26259 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26260 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26262 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26263 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26265 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26268 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26271 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26274 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26277 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26280 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26283 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26286 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26289 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26292 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26295 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26298 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26301 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26304 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26307 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26308 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26310 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26311 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26313 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26316 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26319 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26322 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26325 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26328 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26331 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26334 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26335 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26337 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26340 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26341 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26343 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26346 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26347 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26349 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26350 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26352 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26353 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26355 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26358 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26359 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26361 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26364 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26367 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26368 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26370 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26371 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26373 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26376 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26379 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26380 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26382 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26383 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26385 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26388 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26389 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26391 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26392 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26394 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26395 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26397 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26398 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26400 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26401 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26403 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26404 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26406 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26407 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26409 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26410 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26412 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26413 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26415 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26416 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26418 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26419 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26421 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26422 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26424 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26425 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26427 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26428 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26430 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26431 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26433 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26434 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26436 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26437 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26439 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26440 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26442 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26443 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26445 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26446 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26448 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26449 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26451 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26452 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26454 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26455 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26457 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26458 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26460 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26461 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26463 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26464 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26466 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26467 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26469 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26470 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26472 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26473 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26475 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26476 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26478 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26479 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26481 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26482 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26484 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26487 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26490 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26493 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26496 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26499 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26500 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26502 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26503 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26505 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26506 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26508 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26509 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26511 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26512 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26514 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26515 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26517 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26518 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26520 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26521 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26523 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26524 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26526 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26527 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26529 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26530 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26532 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26533 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26535 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26536 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26538 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26539 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26541 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26542 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26544 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26545 return (void *)((wxWindow
*) ((wxControl
*) x
));
26547 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26548 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26550 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26551 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26553 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26554 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26556 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26557 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26559 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26560 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26562 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26563 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26565 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26566 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26568 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26569 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26571 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26572 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26574 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26575 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26577 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26578 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26580 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26581 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26583 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26584 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26586 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26587 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26589 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26590 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26592 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26593 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26595 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26596 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26598 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26599 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26601 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26602 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26604 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26605 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26607 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26608 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26610 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26611 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26613 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26614 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26616 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26617 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26619 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26620 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26622 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26623 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26625 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26626 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26628 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26629 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26631 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26632 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26634 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26635 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26637 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26638 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26640 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26641 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26643 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26644 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26646 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26647 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26649 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26650 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26652 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26653 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26655 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26656 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26658 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26659 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26661 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26662 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26664 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26665 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26667 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26668 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26670 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26671 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26673 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26674 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26676 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26677 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26679 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26680 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26682 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26683 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26685 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26686 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26688 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26689 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26691 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26692 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26694 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26695 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26697 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26698 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26700 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26701 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26703 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26704 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 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}};
26721 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}};
26722 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}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26728 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}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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}};
26743 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}};
26744 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}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
26763 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}};
26764 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}};
26765 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}};
26766 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}};
26767 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}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26779 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}};
26780 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}};
26781 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}};
26782 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}};
26783 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26784 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}};
26785 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}};
26786 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}};
26787 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}};
26788 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}};
26789 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}};
26790 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}};
26791 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}};
26793 static swig_type_info
*swig_types_initial
[] = {
26794 _swigt__p_wxQueryLayoutInfoEvent
,
26795 _swigt__p_wxPreviewFrame
,
26796 _swigt__p_wxPyPreviewFrame
,
26797 _swigt__p_wxPyPanel
,
26799 _swigt__p_wxFontData
,
26801 _swigt__p_wxPrintData
,
26802 _swigt__p_wxTaskBarIcon
,
26803 _swigt__p_wxIconBundle
,
26804 _swigt__p_wxLayoutAlgorithm
,
26805 _swigt__p_wxFindDialogEvent
,
26806 _swigt__p_wxPreviewCanvas
,
26808 _swigt__p_wxSplitterEvent
,
26809 _swigt__p_wxRegion
,
26810 _swigt__p_wxFindReplaceData
,
26815 _swigt__p_wxVisualAttributes
,
26816 _swigt__p_wxMDIChildFrame
,
26817 _swigt__p_wxColourData
,
26818 _swigt__p_wxNotifyEvent
,
26819 _swigt__p_wxPyWindow
,
26820 _swigt__p_wxSplashScreen
,
26821 _swigt__p_wxFindReplaceDialog
,
26822 _swigt__p_wxProgressDialog
,
26823 _swigt__p_wxMessageDialog
,
26824 _swigt__p_wxTextEntryDialog
,
26825 _swigt__p_wxSingleChoiceDialog
,
26826 _swigt__p_wxMultiChoiceDialog
,
26827 _swigt__p_wxFileDialog
,
26828 _swigt__p_wxPrinter
,
26829 _swigt__p_wxArrayInt
,
26830 _swigt__p_wxEvtHandler
,
26831 _swigt__p_wxCalculateLayoutEvent
,
26832 _swigt__p_wxPyHtmlListBox
,
26833 _swigt__p_wxPyVListBox
,
26836 _swigt__p_wxMiniFrame
,
26838 _swigt__p_wxPyPrintout
,
26839 _swigt__p_wxTaskBarIconEvent
,
26840 _swigt__p_wxScrollWinEvent
,
26841 _swigt__p_wxStatusBar
,
26842 _swigt__p_wxMDIParentFrame
,
26844 _swigt__p_wxObject
,
26845 _swigt__p_wxOutputStream
,
26846 _swigt__p_wxPyScrolledWindow
,
26847 _swigt__p_wxMDIClientWindow
,
26848 _swigt__p_wxTipWindow
,
26849 _swigt__p_wxSashLayoutWindow
,
26850 _swigt__p_wxSplitterWindow
,
26851 _swigt__p_wxSplashScreenWindow
,
26852 _swigt__p_wxPyVScrolledWindow
,
26853 _swigt__p_wxPyPopupTransientWindow
,
26854 _swigt__p_wxPopupWindow
,
26855 _swigt__p_wxSashWindow
,
26856 _swigt__p_wxTopLevelWindow
,
26857 _swigt__p_wxWindow
,
26858 _swigt__p_wxScrolledWindow
,
26859 _swigt__p_wxMenuBar
,
26860 _swigt__p_wxPrintPreview
,
26861 _swigt__p_wxSashEvent
,
26862 _swigt__p_wxString
,
26863 _swigt__p_wxPyPrintPreview
,
26864 _swigt__p_wxFontDialog
,
26865 _swigt__p_wxDirDialog
,
26866 _swigt__p_wxColourDialog
,
26867 _swigt__p_wxDialog
,
26869 _swigt__p_wxPageSetupDialog
,
26870 _swigt__p_wxPrintDialog
,
26871 _swigt__p_wxFileSystem
,
26872 _swigt__p_wxBitmap
,
26873 _swigt__p_wxCommandEvent
,
26874 _swigt__p_wxPreviewControlBar
,
26875 _swigt__p_wxPyPreviewControlBar
,
26876 _swigt__p_wxColour
,
26877 _swigt__p_wxToolBar
,
26878 _swigt__p_wxPageSetupDialogData
,
26879 _swigt__p_wxPrintDialogData
,
26884 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26886 static swig_const_info swig_const_table
[] = {
26896 SWIGEXPORT(void) SWIG_init(void) {
26897 static PyObject
*SWIG_globals
= 0;
26898 static int typeinit
= 0;
26901 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26902 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26903 d
= PyModule_GetDict(m
);
26906 for (i
= 0; swig_types_initial
[i
]; i
++) {
26907 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26911 SWIG_InstallConstants(d
,swig_const_table
);
26913 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26914 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26915 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26916 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26917 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26918 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26919 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26920 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26921 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26922 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26923 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26924 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26925 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26926 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26927 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26928 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26929 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26930 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26931 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26932 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26933 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26934 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26935 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26936 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26937 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26938 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26939 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26940 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26941 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26942 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26943 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26944 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26945 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26946 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26947 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26948 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26949 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26950 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26951 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26952 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26953 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26954 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26955 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26956 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26957 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26958 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26959 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26960 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26961 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26962 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26963 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26964 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26965 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26966 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26967 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26968 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26969 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26970 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26971 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26972 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26973 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26974 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26975 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26976 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26977 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26978 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26979 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26980 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26981 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26982 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26983 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26984 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26985 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26986 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26987 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26988 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26989 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26990 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26991 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26992 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26993 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26994 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26995 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26996 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26997 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26998 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26999 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
27000 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
27001 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
27002 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
27003 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27004 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27005 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27007 // Map renamed classes back to their common name for OOR
27008 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27009 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27010 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27012 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27013 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27014 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27015 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27016 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27017 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27018 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27019 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27020 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27021 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27022 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27023 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27024 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27025 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
27026 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
27027 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
27028 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
27029 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
27030 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
27031 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
27032 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
27033 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27034 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27035 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27036 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27037 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27038 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27039 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27040 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27041 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27042 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27043 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27044 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27045 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27046 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27047 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27048 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27049 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27050 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27051 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27052 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27053 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27054 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27055 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27056 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27057 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27058 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27059 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27060 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27061 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27062 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27063 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27064 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27065 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27066 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27067 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27068 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27069 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27070 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27071 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27073 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");