1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_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_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_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
;
1403 resultobj
= wxPyMake_wxObject(result
, 1);
1419 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1428 if (!wxPyCheckForApp()) SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (wxPanel
*)new wxPanel();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= wxPyMake_wxObject(result
, 1);
1444 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxPanel
*arg1
= (wxPanel
*) 0 ;
1447 wxWindow
*arg2
= (wxWindow
*) 0 ;
1448 int arg3
= (int) (int)-1 ;
1449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1453 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1454 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1455 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1459 bool temp7
= False
;
1460 PyObject
* obj0
= 0 ;
1461 PyObject
* obj1
= 0 ;
1462 PyObject
* obj2
= 0 ;
1463 PyObject
* obj3
= 0 ;
1464 PyObject
* obj4
= 0 ;
1465 PyObject
* obj5
= 0 ;
1466 PyObject
* obj6
= 0 ;
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg3
= (int const) SWIG_AsInt(obj2
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1493 arg6
= (long) SWIG_AsLong(obj5
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg7
= wxString_in_helper(obj6
);
1499 if (arg7
== NULL
) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1527 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1529 wxPanel
*arg1
= (wxPanel
*) 0 ;
1530 PyObject
* obj0
= 0 ;
1532 (char *) "self", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 (arg1
)->InitDialog();
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 Py_INCREF(Py_None
); resultobj
= Py_None
;
1552 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1555 wxVisualAttributes result
;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "variant", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1563 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1567 if (!wxPyCheckForApp()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1575 wxVisualAttributes
* resultptr
;
1576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1585 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1590 return Py_BuildValue((char *)"");
1592 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxWindow
*arg1
= (wxWindow
*) 0 ;
1595 int arg2
= (int) (int)-1 ;
1596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1600 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1601 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1603 wxScrolledWindow
*result
;
1606 bool temp6
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 arg2
= (int const) SWIG_AsInt(obj1
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1637 arg5
= (long) SWIG_AsLong(obj4
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1642 arg6
= wxString_in_helper(obj5
);
1643 if (arg6
== NULL
) SWIG_fail
;
1648 if (!wxPyCheckForApp()) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= wxPyMake_wxObject(result
, 1);
1672 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1674 wxScrolledWindow
*result
;
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1681 if (!wxPyCheckForApp()) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 resultobj
= wxPyMake_wxObject(result
, 1);
1697 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1700 wxWindow
*arg2
= (wxWindow
*) 0 ;
1701 int arg3
= (int) (int)-1 ;
1702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1706 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1707 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1708 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1712 bool temp7
= False
;
1713 PyObject
* obj0
= 0 ;
1714 PyObject
* obj1
= 0 ;
1715 PyObject
* obj2
= 0 ;
1716 PyObject
* obj3
= 0 ;
1717 PyObject
* obj4
= 0 ;
1718 PyObject
* obj5
= 0 ;
1719 PyObject
* obj6
= 0 ;
1721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1730 arg3
= (int const) SWIG_AsInt(obj2
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1746 arg6
= (long) SWIG_AsLong(obj5
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1751 arg7
= wxString_in_helper(obj6
);
1752 if (arg7
== NULL
) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1780 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1787 int arg6
= (int) 0 ;
1788 int arg7
= (int) 0 ;
1789 bool arg8
= (bool) False
;
1790 PyObject
* obj0
= 0 ;
1791 PyObject
* obj1
= 0 ;
1792 PyObject
* obj2
= 0 ;
1793 PyObject
* obj3
= 0 ;
1794 PyObject
* obj4
= 0 ;
1795 PyObject
* obj5
= 0 ;
1796 PyObject
* obj6
= 0 ;
1797 PyObject
* obj7
= 0 ;
1799 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1805 arg2
= (int) SWIG_AsInt(obj1
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1807 arg3
= (int) SWIG_AsInt(obj2
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1809 arg4
= (int) SWIG_AsInt(obj3
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1811 arg5
= (int) SWIG_AsInt(obj4
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 arg6
= (int) SWIG_AsInt(obj5
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 arg7
= (int) SWIG_AsInt(obj6
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 arg8
= (bool) SWIG_AsBool(obj7
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1846 PyObject
* obj2
= 0 ;
1848 (char *) "self",(char *) "x",(char *) "y", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1854 arg2
= (int) SWIG_AsInt(obj1
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1856 arg3
= (int) SWIG_AsInt(obj2
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 (arg1
)->Scroll(arg2
,arg3
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1880 (char *) "self",(char *) "orient", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 arg2
= (int) SWIG_AsInt(obj1
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= SWIG_FromInt((int)result
);
1902 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1908 PyObject
* obj1
= 0 ;
1909 PyObject
* obj2
= 0 ;
1911 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 arg2
= (int) SWIG_AsInt(obj1
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1919 arg3
= (int) SWIG_AsInt(obj2
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 Py_INCREF(Py_None
); resultobj
= Py_None
;
1935 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1940 PyObject
* obj0
= 0 ;
1941 PyObject
* obj1
= 0 ;
1942 PyObject
* obj2
= 0 ;
1944 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1950 arg2
= (int) SWIG_AsInt(obj1
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1952 arg3
= (int) SWIG_AsInt(obj2
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 (arg1
)->SetScrollRate(arg2
,arg3
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1971 int *arg2
= (int *) 0 ;
1972 int *arg3
= (int *) 0 ;
1975 PyObject
* obj0
= 0 ;
1977 (char *) "self", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 Py_INCREF(Py_None
); resultobj
= Py_None
;
1994 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1995 resultobj
= t_output_helper(resultobj
,o
);
1998 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1999 resultobj
= t_output_helper(resultobj
,o
);
2007 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2013 PyObject
* obj1
= 0 ;
2014 PyObject
* obj2
= 0 ;
2016 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2022 arg2
= (bool) SWIG_AsBool(obj1
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2024 arg3
= (bool) SWIG_AsBool(obj2
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 (arg1
)->EnableScrolling(arg2
,arg3
);
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 Py_INCREF(Py_None
); resultobj
= Py_None
;
2040 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2043 int *arg2
= (int *) 0 ;
2044 int *arg3
= (int *) 0 ;
2047 PyObject
* obj0
= 0 ;
2049 (char *) "self", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2066 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2067 resultobj
= t_output_helper(resultobj
,o
);
2070 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2071 resultobj
= t_output_helper(resultobj
,o
);
2079 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 PyObject
* obj0
= 0 ;
2085 PyObject
* obj1
= 0 ;
2086 PyObject
* obj2
= 0 ;
2088 (char *) "self",(char *) "xs",(char *) "ys", NULL
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2094 arg2
= (double) SWIG_AsDouble(obj1
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2096 arg3
= (double) SWIG_AsDouble(obj2
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 (arg1
)->SetScale(arg2
,arg3
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 Py_INCREF(Py_None
); resultobj
= Py_None
;
2112 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2118 (char *) "self", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= SWIG_FromDouble((double)result
);
2138 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 resultobj
= SWIG_FromDouble((double)result
);
2164 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2165 PyObject
*resultobj
;
2166 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2173 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2182 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2184 wxPyEndAllowThreads(__tstate
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2188 wxPoint
* resultptr
;
2189 resultptr
= new wxPoint((wxPoint
&) result
);
2190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2198 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2199 PyObject
*resultobj
;
2200 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2203 int *arg4
= (int *) 0 ;
2204 int *arg5
= (int *) 0 ;
2207 PyObject
* obj0
= 0 ;
2208 PyObject
* obj1
= 0 ;
2209 PyObject
* obj2
= 0 ;
2213 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2216 arg2
= (int) SWIG_AsInt(obj1
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2218 arg3
= (int) SWIG_AsInt(obj2
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 Py_INCREF(Py_None
); resultobj
= Py_None
;
2229 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2230 resultobj
= t_output_helper(resultobj
,o
);
2233 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2234 resultobj
= t_output_helper(resultobj
,o
);
2242 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2247 argc
= PyObject_Length(args
);
2248 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2249 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2255 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2264 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2267 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2275 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2283 _v
= SWIG_CheckInt(argv
[1]);
2285 _v
= SWIG_CheckInt(argv
[2]);
2287 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2293 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2298 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2299 PyObject
*resultobj
;
2300 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2307 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2322 wxPoint
* resultptr
;
2323 resultptr
= new wxPoint((wxPoint
&) result
);
2324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2332 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2333 PyObject
*resultobj
;
2334 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2337 int *arg4
= (int *) 0 ;
2338 int *arg5
= (int *) 0 ;
2341 PyObject
* obj0
= 0 ;
2342 PyObject
* obj1
= 0 ;
2343 PyObject
* obj2
= 0 ;
2347 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 arg2
= (int) SWIG_AsInt(obj1
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2352 arg3
= (int) SWIG_AsInt(obj2
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2364 resultobj
= t_output_helper(resultobj
,o
);
2367 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2368 resultobj
= t_output_helper(resultobj
,o
);
2376 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2381 argc
= PyObject_Length(args
);
2382 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2383 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2389 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2398 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2401 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2409 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2417 _v
= SWIG_CheckInt(argv
[1]);
2419 _v
= SWIG_CheckInt(argv
[2]);
2421 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2427 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2432 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
*resultobj
;
2434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2435 PyObject
* obj0
= 0 ;
2437 (char *) "self", NULL
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 (arg1
)->AdjustScrollbars();
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 Py_INCREF(Py_None
); resultobj
= Py_None
;
2457 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2460 wxScrollWinEvent
*arg2
= 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "event", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2475 PyErr_SetString(PyExc_TypeError
,"null reference");
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 resultobj
= SWIG_FromInt((int)result
);
2492 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
*resultobj
;
2494 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2495 wxWindow
*arg2
= (wxWindow
*) 0 ;
2496 PyObject
* obj0
= 0 ;
2497 PyObject
* obj1
= 0 ;
2499 (char *) "self",(char *) "target", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->SetTargetWindow(arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2527 (char *) "self", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= wxPyMake_wxObject(result
, 0);
2549 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2552 wxVisualAttributes result
;
2553 PyObject
* obj0
= 0 ;
2555 (char *) "variant", NULL
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2560 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 if (!wxPyCheckForApp()) SWIG_fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2572 wxVisualAttributes
* resultptr
;
2573 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2582 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2585 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2587 return Py_BuildValue((char *)"");
2589 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2590 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2595 static PyObject
*_wrap_FrameNameStr_get() {
2600 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2602 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2609 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2610 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2615 static PyObject
*_wrap_DialogNameStr_get() {
2620 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2622 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2629 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2630 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2635 static PyObject
*_wrap_StatusLineNameStr_get() {
2640 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2642 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2649 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2650 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2655 static PyObject
*_wrap_ToolBarNameStr_get() {
2660 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2662 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2669 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2672 bool arg2
= (bool) True
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "maximize", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 arg2
= (bool) SWIG_AsBool(obj1
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 (arg1
)->Maximize(arg2
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 Py_INCREF(Py_None
); resultobj
= Py_None
;
2700 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 Py_INCREF(Py_None
); resultobj
= Py_None
;
2725 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2728 bool arg2
= (bool) True
;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2732 (char *) "self",(char *) "iconize", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 arg2
= (bool) SWIG_AsBool(obj1
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 (arg1
)->Iconize(arg2
);
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2784 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2812 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2814 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2816 PyObject
* obj0
= 0 ;
2818 (char *) "self", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2833 resultptr
= new wxIcon((wxIcon
&) result
);
2834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2842 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2847 PyObject
* obj1
= 0 ;
2849 (char *) "self",(char *) "icon", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2859 PyErr_SetString(PyExc_TypeError
,"null reference");
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 Py_INCREF(Py_None
); resultobj
= Py_None
;
2876 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2879 wxIconBundle
*arg2
= 0 ;
2880 PyObject
* obj0
= 0 ;
2881 PyObject
* obj1
= 0 ;
2883 (char *) "self",(char *) "icons", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2893 PyErr_SetString(PyExc_TypeError
,"null reference");
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2903 Py_INCREF(Py_None
); resultobj
= Py_None
;
2910 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2914 long arg3
= (long) wxFULLSCREEN_ALL
;
2916 PyObject
* obj0
= 0 ;
2917 PyObject
* obj1
= 0 ;
2918 PyObject
* obj2
= 0 ;
2920 (char *) "self",(char *) "show",(char *) "style", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2926 arg2
= (bool) SWIG_AsBool(obj1
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2929 arg3
= (long) SWIG_AsLong(obj2
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2948 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2976 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2979 wxString
*arg2
= 0 ;
2980 bool temp2
= False
;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2984 (char *) "self",(char *) "title", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 arg2
= wxString_in_helper(obj1
);
2992 if (arg2
== NULL
) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->SetTitle((wxString
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3049 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3052 wxRegion
*arg2
= 0 ;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "self",(char *) "region", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3067 PyErr_SetString(PyExc_TypeError
,"null reference");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3086 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3089 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3091 return Py_BuildValue((char *)"");
3093 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxWindow
*arg1
= (wxWindow
*) 0 ;
3096 int arg2
= (int) (int)-1 ;
3097 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3103 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3104 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3107 bool temp3
= False
;
3110 bool temp7
= False
;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3113 PyObject
* obj2
= 0 ;
3114 PyObject
* obj3
= 0 ;
3115 PyObject
* obj4
= 0 ;
3116 PyObject
* obj5
= 0 ;
3117 PyObject
* obj6
= 0 ;
3119 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3126 arg2
= (int const) SWIG_AsInt(obj1
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3131 arg3
= wxString_in_helper(obj2
);
3132 if (arg3
== NULL
) SWIG_fail
;
3139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3149 arg6
= (long) SWIG_AsLong(obj5
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3154 arg7
= wxString_in_helper(obj6
);
3155 if (arg7
== NULL
) SWIG_fail
;
3160 if (!wxPyCheckForApp()) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= wxPyMake_wxObject(result
, 1);
3192 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3201 if (!wxPyCheckForApp()) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (wxFrame
*)new wxFrame();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= wxPyMake_wxObject(result
, 1);
3217 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxFrame
*arg1
= (wxFrame
*) 0 ;
3220 wxWindow
*arg2
= (wxWindow
*) 0 ;
3221 int arg3
= (int) (int)-1 ;
3222 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3223 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3224 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3225 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3226 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3227 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3228 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3229 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3232 bool temp4
= False
;
3235 bool temp8
= False
;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3238 PyObject
* obj2
= 0 ;
3239 PyObject
* obj3
= 0 ;
3240 PyObject
* obj4
= 0 ;
3241 PyObject
* obj5
= 0 ;
3242 PyObject
* obj6
= 0 ;
3243 PyObject
* obj7
= 0 ;
3245 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 arg3
= (int const) SWIG_AsInt(obj2
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3259 arg4
= wxString_in_helper(obj3
);
3260 if (arg4
== NULL
) SWIG_fail
;
3267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3273 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3277 arg7
= (long) SWIG_AsLong(obj6
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3282 arg8
= wxString_in_helper(obj7
);
3283 if (arg8
== NULL
) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3319 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxFrame
*arg1
= (wxFrame
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3325 (char *) "self", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 wxPoint
* resultptr
;
3340 resultptr
= new wxPoint((wxPoint
&) result
);
3341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3349 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxFrame
*arg1
= (wxFrame
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 (arg1
)->SendSizeEvent();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxFrame
*arg1
= (wxFrame
*) 0 ;
3377 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "menubar", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetMenuBar(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxFrame
*arg1
= (wxFrame
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3409 (char *) "self", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3423 resultobj
= wxPyMake_wxObject(result
, 0);
3431 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxFrame
*arg1
= (wxFrame
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3439 (char *) "self",(char *) "winid", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 arg2
= (int) SWIG_AsInt(obj1
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3463 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxFrame
*arg1
= (wxFrame
*) 0 ;
3466 int arg2
= (int) 1 ;
3467 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3468 int arg4
= (int) 0 ;
3469 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3470 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3471 wxStatusBar
*result
;
3472 bool temp5
= False
;
3473 PyObject
* obj0
= 0 ;
3474 PyObject
* obj1
= 0 ;
3475 PyObject
* obj2
= 0 ;
3476 PyObject
* obj3
= 0 ;
3477 PyObject
* obj4
= 0 ;
3479 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 arg2
= (int) SWIG_AsInt(obj1
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 arg3
= (long) SWIG_AsLong(obj2
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3494 arg4
= (int) SWIG_AsInt(obj3
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3499 arg5
= wxString_in_helper(obj4
);
3500 if (arg5
== NULL
) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= wxPyMake_wxObject(result
, 0);
3528 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxFrame
*arg1
= (wxFrame
*) 0 ;
3531 wxStatusBar
*result
;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= wxPyMake_wxObject(result
, 0);
3556 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxFrame
*arg1
= (wxFrame
*) 0 ;
3559 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "statBar", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 (arg1
)->SetStatusBar(arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 Py_INCREF(Py_None
); resultobj
= Py_None
;
3585 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
*resultobj
;
3587 wxFrame
*arg1
= (wxFrame
*) 0 ;
3588 wxString
*arg2
= 0 ;
3589 int arg3
= (int) 0 ;
3590 bool temp2
= False
;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3593 PyObject
* obj2
= 0 ;
3595 (char *) "self",(char *) "text",(char *) "number", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 arg2
= wxString_in_helper(obj1
);
3603 if (arg2
== NULL
) SWIG_fail
;
3607 arg3
= (int) SWIG_AsInt(obj2
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3632 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxFrame
*arg1
= (wxFrame
*) 0 ;
3636 int *arg3
= (int *) 0 ;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3640 (char *) "self",(char *) "widths", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3647 arg2
= PyList_Size(obj1
);
3648 arg3
= int_LIST_helper(obj1
);
3649 if (arg3
== NULL
) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 if (arg3
) delete [] arg3
;
3665 if (arg3
) delete [] arg3
;
3671 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxFrame
*arg1
= (wxFrame
*) 0 ;
3674 wxString
*arg2
= 0 ;
3675 int arg3
= (int) 0 ;
3676 bool temp2
= False
;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3679 PyObject
* obj2
= 0 ;
3681 (char *) "self",(char *) "text",(char *) "number", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 arg2
= wxString_in_helper(obj1
);
3689 if (arg2
== NULL
) SWIG_fail
;
3693 arg3
= (int) SWIG_AsInt(obj2
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxFrame
*arg1
= (wxFrame
*) 0 ;
3721 int arg2
= (int) 0 ;
3722 PyObject
* obj0
= 0 ;
3723 PyObject
* obj1
= 0 ;
3725 (char *) "self",(char *) "number", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3732 arg2
= (int) SWIG_AsInt(obj1
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 (arg1
)->PopStatusText(arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3749 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxFrame
*arg1
= (wxFrame
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "n", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3762 arg2
= (int) SWIG_AsInt(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetStatusBarPane(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxFrame
*arg1
= (wxFrame
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxFrame
*arg1
= (wxFrame
*) 0 ;
3807 long arg2
= (long) -1 ;
3808 int arg3
= (int) -1 ;
3809 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3810 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3812 bool temp4
= False
;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3815 PyObject
* obj2
= 0 ;
3816 PyObject
* obj3
= 0 ;
3818 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 arg2
= (long) SWIG_AsLong(obj1
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 arg3
= (int) SWIG_AsInt(obj2
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3834 arg4
= wxString_in_helper(obj3
);
3835 if (arg4
== NULL
) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= wxPyMake_wxObject(result
, 0);
3863 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxFrame
*arg1
= (wxFrame
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= wxPyMake_wxObject(result
, 0);
3891 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxFrame
*arg1
= (wxFrame
*) 0 ;
3894 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3898 (char *) "self",(char *) "toolbar", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 (arg1
)->SetToolBar(arg2
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 Py_INCREF(Py_None
); resultobj
= Py_None
;
3920 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxFrame
*arg1
= (wxFrame
*) 0 ;
3923 wxString
*arg2
= 0 ;
3925 bool temp2
= False
;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3928 PyObject
* obj2
= 0 ;
3930 (char *) "self",(char *) "text",(char *) "show", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 arg2
= wxString_in_helper(obj1
);
3938 if (arg2
== NULL
) SWIG_fail
;
3941 arg3
= (bool) SWIG_AsBool(obj2
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxFrame
*arg1
= (wxFrame
*) 0 ;
3968 wxMenu
*arg2
= (wxMenu
*) NULL
;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "menu", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 (arg1
)->DoMenuUpdates(arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 Py_INCREF(Py_None
); resultobj
= Py_None
;
3996 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3999 wxVisualAttributes result
;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "variant", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4007 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4019 wxVisualAttributes
* resultptr
;
4020 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4029 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4032 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4034 return Py_BuildValue((char *)"");
4036 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4039 int arg2
= (int) (int)-1 ;
4040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4046 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4047 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4050 bool temp3
= False
;
4053 bool temp7
= False
;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 PyObject
* obj6
= 0 ;
4062 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 arg2
= (int const) SWIG_AsInt(obj1
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4074 arg3
= wxString_in_helper(obj2
);
4075 if (arg3
== NULL
) SWIG_fail
;
4082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4092 arg6
= (long) SWIG_AsLong(obj5
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4097 arg7
= wxString_in_helper(obj6
);
4098 if (arg7
== NULL
) SWIG_fail
;
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= wxPyMake_wxObject(result
, 1);
4135 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4144 if (!wxPyCheckForApp()) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (wxDialog
*)new wxDialog();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= wxPyMake_wxObject(result
, 1);
4160 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxDialog
*arg1
= (wxDialog
*) 0 ;
4163 wxWindow
*arg2
= (wxWindow
*) 0 ;
4164 int arg3
= (int) (int)-1 ;
4165 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4166 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4167 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4168 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4169 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4170 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4171 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4172 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4173 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4175 bool temp4
= False
;
4178 bool temp8
= False
;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4182 PyObject
* obj3
= 0 ;
4183 PyObject
* obj4
= 0 ;
4184 PyObject
* obj5
= 0 ;
4185 PyObject
* obj6
= 0 ;
4186 PyObject
* obj7
= 0 ;
4188 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 arg3
= (int const) SWIG_AsInt(obj2
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4202 arg4
= wxString_in_helper(obj3
);
4203 if (arg4
== NULL
) SWIG_fail
;
4210 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4216 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4220 arg7
= (long) SWIG_AsLong(obj6
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4225 arg8
= wxString_in_helper(obj7
);
4226 if (arg8
== NULL
) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4262 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxDialog
*arg1
= (wxDialog
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "self",(char *) "returnCode", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4275 arg2
= (int) SWIG_AsInt(obj1
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 (arg1
)->SetReturnCode(arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxDialog
*arg1
= (wxDialog
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_FromInt((int)result
);
4317 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxDialog
*arg1
= (wxDialog
*) 0 ;
4320 wxString
*arg2
= 0 ;
4322 bool temp2
= False
;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4326 (char *) "self",(char *) "message", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 arg2
= wxString_in_helper(obj1
);
4334 if (arg2
== NULL
) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= wxPyMake_wxSizer(result
, 0);
4361 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxDialog
*arg1
= (wxDialog
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "flags", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4375 arg2
= (long) SWIG_AsLong(obj1
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= wxPyMake_wxSizer(result
, 0);
4393 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxDialog
*arg1
= (wxDialog
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4399 (char *) "self", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4421 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxDialog
*arg1
= (wxDialog
*) 0 ;
4425 PyObject
* obj0
= 0 ;
4427 (char *) "self", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (int)(arg1
)->ShowModal();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_FromInt((int)result
);
4447 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxDialog
*arg1
= (wxDialog
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4454 (char *) "self",(char *) "retCode", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4460 arg2
= (int) SWIG_AsInt(obj1
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->EndModal(arg2
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4479 wxVisualAttributes result
;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "variant", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4487 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 if (!wxPyCheckForApp()) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 wxVisualAttributes
* resultptr
;
4500 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4509 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4512 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4514 return Py_BuildValue((char *)"");
4516 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxWindow
*arg1
= (wxWindow
*) 0 ;
4519 int arg2
= (int) (int)-1 ;
4520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4526 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4527 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4529 wxMiniFrame
*result
;
4530 bool temp3
= False
;
4533 bool temp7
= False
;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4536 PyObject
* obj2
= 0 ;
4537 PyObject
* obj3
= 0 ;
4538 PyObject
* obj4
= 0 ;
4539 PyObject
* obj5
= 0 ;
4540 PyObject
* obj6
= 0 ;
4542 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 arg2
= (int const) SWIG_AsInt(obj1
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4554 arg3
= wxString_in_helper(obj2
);
4555 if (arg3
== NULL
) SWIG_fail
;
4562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4572 arg6
= (long) SWIG_AsLong(obj5
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4577 arg7
= wxString_in_helper(obj6
);
4578 if (arg7
== NULL
) SWIG_fail
;
4583 if (!wxPyCheckForApp()) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4613 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxMiniFrame
*result
;
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4622 if (!wxPyCheckForApp()) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (wxMiniFrame
*)new wxMiniFrame();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4636 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4639 wxWindow
*arg2
= (wxWindow
*) 0 ;
4640 int arg3
= (int) (int)-1 ;
4641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4643 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4644 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4645 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4646 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4647 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4648 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4649 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4651 bool temp4
= False
;
4654 bool temp8
= False
;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 PyObject
* obj2
= 0 ;
4658 PyObject
* obj3
= 0 ;
4659 PyObject
* obj4
= 0 ;
4660 PyObject
* obj5
= 0 ;
4661 PyObject
* obj6
= 0 ;
4662 PyObject
* obj7
= 0 ;
4664 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4673 arg3
= (int const) SWIG_AsInt(obj2
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4678 arg4
= wxString_in_helper(obj3
);
4679 if (arg4
== NULL
) SWIG_fail
;
4686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4696 arg7
= (long) SWIG_AsLong(obj6
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4701 arg8
= wxString_in_helper(obj7
);
4702 if (arg8
== NULL
) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4738 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4743 return Py_BuildValue((char *)"");
4745 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxBitmap
*arg1
= 0 ;
4748 wxWindow
*arg2
= (wxWindow
*) 0 ;
4750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4754 long arg6
= (long) wxNO_BORDER
;
4755 wxSplashScreenWindow
*result
;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 PyObject
* obj4
= 0 ;
4763 PyObject
* obj5
= 0 ;
4765 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4773 PyErr_SetString(PyExc_TypeError
,"null reference");
4776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 arg3
= (int) SWIG_AsInt(obj2
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4793 arg6
= (long) SWIG_AsLong(obj5
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 if (!wxPyCheckForApp()) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4811 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4814 wxBitmap
*arg2
= 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4818 (char *) "self",(char *) "bitmap", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4828 PyErr_SetString(PyExc_TypeError
,"null reference");
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 Py_INCREF(Py_None
); resultobj
= Py_None
;
4845 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4861 result
= (wxBitmap
*) &_result_ref
;
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 wxBitmap
* resultptr
= new wxBitmap(*result
);
4869 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4877 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4882 return Py_BuildValue((char *)"");
4884 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxBitmap
*arg1
= 0 ;
4889 wxWindow
*arg4
= (wxWindow
*) 0 ;
4890 int arg5
= (int) -1 ;
4891 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4892 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4893 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4894 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4895 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4896 wxSplashScreen
*result
;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 PyObject
* obj2
= 0 ;
4902 PyObject
* obj3
= 0 ;
4903 PyObject
* obj4
= 0 ;
4904 PyObject
* obj5
= 0 ;
4905 PyObject
* obj6
= 0 ;
4906 PyObject
* obj7
= 0 ;
4908 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4916 PyErr_SetString(PyExc_TypeError
,"null reference");
4919 arg2
= (long) SWIG_AsLong(obj1
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4921 arg3
= (int) SWIG_AsInt(obj2
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4923 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4926 arg5
= (int) SWIG_AsInt(obj4
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4932 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4938 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4942 arg8
= (long) SWIG_AsLong(obj7
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4946 if (!wxPyCheckForApp()) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4960 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_FromLong((long)result
);
4986 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4989 wxSplashScreenWindow
*result
;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5012 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5016 PyObject
* obj0
= 0 ;
5018 (char *) "self", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_FromInt((int)result
);
5038 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5041 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5043 return Py_BuildValue((char *)"");
5045 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxWindow
*arg1
= (wxWindow
*) 0 ;
5048 int arg2
= (int) -1 ;
5049 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5050 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5052 wxStatusBar
*result
;
5053 bool temp4
= False
;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5056 PyObject
* obj2
= 0 ;
5057 PyObject
* obj3
= 0 ;
5059 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5066 arg2
= (int) SWIG_AsInt(obj1
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 arg3
= (long) SWIG_AsLong(obj2
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5075 arg4
= wxString_in_helper(obj3
);
5076 if (arg4
== NULL
) SWIG_fail
;
5081 if (!wxPyCheckForApp()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= wxPyMake_wxObject(result
, 1);
5105 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxStatusBar
*result
;
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5114 if (!wxPyCheckForApp()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxStatusBar
*)new wxStatusBar();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 1);
5130 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5133 wxWindow
*arg2
= (wxWindow
*) 0 ;
5134 int arg3
= (int) -1 ;
5135 long arg4
= (long) wxST_SIZEGRIP
;
5136 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5137 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5139 bool temp5
= False
;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5142 PyObject
* obj2
= 0 ;
5143 PyObject
* obj3
= 0 ;
5144 PyObject
* obj4
= 0 ;
5146 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5155 arg3
= (int) SWIG_AsInt(obj2
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5159 arg4
= (long) SWIG_AsLong(obj3
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5164 arg5
= wxString_in_helper(obj4
);
5165 if (arg5
== NULL
) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5193 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5196 int arg2
= (int) 1 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "number", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 arg2
= (int) SWIG_AsInt(obj1
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 (arg1
)->SetFieldsCount(arg2
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 Py_INCREF(Py_None
); resultobj
= Py_None
;
5224 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_FromInt((int)result
);
5250 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5253 wxString
*arg2
= 0 ;
5254 int arg3
= (int) 0 ;
5255 bool temp2
= False
;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 PyObject
* obj2
= 0 ;
5260 (char *) "self",(char *) "text",(char *) "number", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 arg2
= wxString_in_helper(obj1
);
5268 if (arg2
== NULL
) SWIG_fail
;
5272 arg3
= (int) SWIG_AsInt(obj2
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5300 int arg2
= (int) 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "number", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 arg2
= (int) SWIG_AsInt(obj1
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5335 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5338 wxString
*arg2
= 0 ;
5339 int arg3
= (int) 0 ;
5340 bool temp2
= False
;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5345 (char *) "self",(char *) "text",(char *) "number", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 arg2
= wxString_in_helper(obj1
);
5353 if (arg2
== NULL
) SWIG_fail
;
5357 arg3
= (int) SWIG_AsInt(obj2
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5385 int arg2
= (int) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5389 (char *) "self",(char *) "number", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 arg2
= (int) SWIG_AsInt(obj1
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 (arg1
)->PopStatusText(arg2
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5417 int *arg3
= (int *) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "widths", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5428 arg2
= PyList_Size(obj1
);
5429 arg3
= int_LIST_helper(obj1
);
5430 if (arg3
== NULL
) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 if (arg3
) delete [] arg3
;
5446 if (arg3
) delete [] arg3
;
5452 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5460 (char *) "self",(char *) "i", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= (int) SWIG_AsInt(obj1
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5477 resultptr
= new wxRect((wxRect
&) result
);
5478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5486 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5493 (char *) "self",(char *) "height", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5499 arg2
= (int) SWIG_AsInt(obj1
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetMinHeight(arg2
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 Py_INCREF(Py_None
); resultobj
= Py_None
;
5515 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_FromInt((int)result
);
5541 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_FromInt((int)result
);
5567 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5570 wxVisualAttributes result
;
5571 PyObject
* obj0
= 0 ;
5573 (char *) "variant", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5578 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 if (!wxPyCheckForApp()) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5590 wxVisualAttributes
* resultptr
;
5591 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5600 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5603 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5605 return Py_BuildValue((char *)"");
5607 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5608 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5613 static PyObject
*_wrap_SplitterNameStr_get() {
5618 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5620 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5627 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxWindow
*arg1
= (wxWindow
*) 0 ;
5630 int arg2
= (int) -1 ;
5631 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5632 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5633 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5634 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5635 long arg5
= (long) wxSP_3D
;
5636 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5637 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5638 wxSplitterWindow
*result
;
5641 bool temp6
= False
;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5644 PyObject
* obj2
= 0 ;
5645 PyObject
* obj3
= 0 ;
5646 PyObject
* obj4
= 0 ;
5647 PyObject
* obj5
= 0 ;
5649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 arg2
= (int) SWIG_AsInt(obj1
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5672 arg5
= (long) SWIG_AsLong(obj4
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5677 arg6
= wxString_in_helper(obj5
);
5678 if (arg6
== NULL
) SWIG_fail
;
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5705 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxSplitterWindow
*result
;
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5714 if (!wxPyCheckForApp()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5728 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5731 wxWindow
*arg2
= (wxWindow
*) 0 ;
5732 int arg3
= (int) -1 ;
5733 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5734 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5735 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5736 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5737 long arg6
= (long) wxSP_3D
;
5738 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5739 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5743 bool temp7
= False
;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5748 PyObject
* obj4
= 0 ;
5749 PyObject
* obj5
= 0 ;
5750 PyObject
* obj6
= 0 ;
5752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 arg3
= (int) SWIG_AsInt(obj2
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5777 arg6
= (long) SWIG_AsLong(obj5
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5782 arg7
= wxString_in_helper(obj6
);
5783 if (arg7
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5811 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "self", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= wxPyMake_wxObject(result
, 0);
5839 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "self", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= wxPyMake_wxObject(result
, 0);
5867 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5874 (char *) "self",(char *) "mode", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 arg2
= (int) SWIG_AsInt(obj1
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetSplitMode(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "self", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= SWIG_FromInt((int)result
);
5922 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5925 wxWindow
*arg2
= (wxWindow
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5929 (char *) "self",(char *) "window", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 (arg1
)->Initialize(arg2
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5954 wxWindow
*arg2
= (wxWindow
*) 0 ;
5955 wxWindow
*arg3
= (wxWindow
*) 0 ;
5956 int arg4
= (int) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 PyObject
* obj2
= 0 ;
5961 PyObject
* obj3
= 0 ;
5963 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg4
= (int) SWIG_AsInt(obj3
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5993 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5996 wxWindow
*arg2
= (wxWindow
*) 0 ;
5997 wxWindow
*arg3
= (wxWindow
*) 0 ;
5998 int arg4
= (int) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6003 PyObject
* obj3
= 0 ;
6005 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 arg4
= (int) SWIG_AsInt(obj3
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6038 wxWindow
*arg2
= (wxWindow
*) NULL
;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "toRemove", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)(arg1
)->Unsplit(arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6072 wxWindow
*arg2
= (wxWindow
*) 0 ;
6073 wxWindow
*arg3
= (wxWindow
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6079 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6105 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->UpdateSize();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6158 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6165 (char *) "self",(char *) "width", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 arg2
= (int) SWIG_AsInt(obj1
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->SetSashSize(arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "width", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 arg2
= (int) SWIG_AsInt(obj1
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 (arg1
)->SetBorderSize(arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_FromInt((int)result
);
6242 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_FromInt((int)result
);
6268 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6272 bool arg3
= (bool) True
;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 PyObject
* obj2
= 0 ;
6277 (char *) "self",(char *) "position",(char *) "redraw", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 arg2
= (int) SWIG_AsInt(obj1
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 arg3
= (bool) SWIG_AsBool(obj2
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetSashPosition(arg2
,arg3
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_FromInt((int)result
);
6329 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "min", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (int) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetMinimumPaneSize(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_FromInt((int)result
);
6384 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6389 int arg4
= (int) 5 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6396 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 arg2
= (int) SWIG_AsInt(obj1
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6404 arg3
= (int) SWIG_AsInt(obj2
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 arg4
= (int) SWIG_AsInt(obj3
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6426 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "self", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SizeWindows();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 Py_INCREF(Py_None
); resultobj
= Py_None
;
6451 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "needUpdating", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 arg2
= (bool) SWIG_AsBool(obj1
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 (arg1
)->SetNeedUpdating(arg2
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 Py_INCREF(Py_None
); resultobj
= Py_None
;
6480 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 (char *) "self", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6508 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6511 wxVisualAttributes result
;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "variant", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6519 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 if (!wxPyCheckForApp()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 wxVisualAttributes
* resultptr
;
6532 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6541 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6544 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6546 return Py_BuildValue((char *)"");
6548 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6551 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6552 wxSplitterEvent
*result
;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6556 (char *) "type",(char *) "splitter", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6561 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6582 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6589 (char *) "self",(char *) "pos", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 arg2
= (int) SWIG_AsInt(obj1
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 (arg1
)->SetSashPosition(arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 Py_INCREF(Py_None
); resultobj
= Py_None
;
6611 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_FromInt((int)result
);
6637 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= wxPyMake_wxObject(result
, 0);
6665 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6671 (char *) "self", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_FromInt((int)result
);
6691 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6695 PyObject
* obj0
= 0 ;
6697 (char *) "self", NULL
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_FromInt((int)result
);
6717 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6720 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6722 return Py_BuildValue((char *)"");
6724 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6725 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6730 static PyObject
*_wrap_SashNameStr_get() {
6735 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6737 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6744 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6745 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6750 static PyObject
*_wrap_SashLayoutNameStr_get() {
6755 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6757 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6764 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxWindow
*arg1
= (wxWindow
*) 0 ;
6767 int arg2
= (int) -1 ;
6768 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6769 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6770 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6771 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6772 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6773 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6774 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6775 wxSashWindow
*result
;
6778 bool temp6
= False
;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 PyObject
* obj2
= 0 ;
6782 PyObject
* obj3
= 0 ;
6783 PyObject
* obj4
= 0 ;
6784 PyObject
* obj5
= 0 ;
6786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 arg2
= (int) SWIG_AsInt(obj1
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6809 arg5
= (long) SWIG_AsLong(obj4
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6814 arg6
= wxString_in_helper(obj5
);
6815 if (arg6
== NULL
) SWIG_fail
;
6820 if (!wxPyCheckForApp()) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6842 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxSashWindow
*result
;
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxSashWindow
*)new wxSashWindow();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6865 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6868 wxWindow
*arg2
= (wxWindow
*) 0 ;
6869 int arg3
= (int) -1 ;
6870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6874 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6875 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6880 bool temp7
= False
;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6883 PyObject
* obj2
= 0 ;
6884 PyObject
* obj3
= 0 ;
6885 PyObject
* obj4
= 0 ;
6886 PyObject
* obj5
= 0 ;
6887 PyObject
* obj6
= 0 ;
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 arg3
= (int) SWIG_AsInt(obj2
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6914 arg6
= (long) SWIG_AsLong(obj5
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6919 arg7
= wxString_in_helper(obj6
);
6920 if (arg7
== NULL
) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6948 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 PyObject
* obj2
= 0 ;
6957 (char *) "self",(char *) "edge",(char *) "sash", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6965 arg3
= (bool) SWIG_AsBool(obj2
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6989 (char *) "self",(char *) "edge", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7013 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7022 (char *) "self",(char *) "edge",(char *) "border", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7030 arg3
= (bool) SWIG_AsBool(obj2
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7054 (char *) "self",(char *) "edge", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7078 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "edge", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_FromInt((int)result
);
7108 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "width", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7121 arg2
= (int) SWIG_AsInt(obj1
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 (arg1
)->SetDefaultBorderSize(arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 Py_INCREF(Py_None
); resultobj
= Py_None
;
7137 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7143 (char *) "self", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_FromInt((int)result
);
7163 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "width", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7176 arg2
= (int) SWIG_AsInt(obj1
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->SetExtraBorderSize(arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= SWIG_FromInt((int)result
);
7218 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "min", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 arg2
= (int) SWIG_AsInt(obj1
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetMinimumSizeX(arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
;
7249 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7254 (char *) "self",(char *) "min", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 arg2
= (int) SWIG_AsInt(obj1
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 (arg1
)->SetMinimumSizeY(arg2
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= SWIG_FromInt((int)result
);
7302 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_FromInt((int)result
);
7328 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "max", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (int) SWIG_AsInt(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetMaximumSizeX(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "max", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 arg2
= (int) SWIG_AsInt(obj1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->SetMaximumSizeY(arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_FromInt((int)result
);
7412 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_FromInt((int)result
);
7438 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7443 int arg4
= (int) 2 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7447 PyObject
* obj2
= 0 ;
7448 PyObject
* obj3
= 0 ;
7450 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= (int) SWIG_AsInt(obj1
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7458 arg3
= (int) SWIG_AsInt(obj2
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 arg4
= (int) SWIG_AsInt(obj3
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= SWIG_FromInt((int)result
);
7478 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7480 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 (arg1
)->SizeWindows();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7503 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7508 return Py_BuildValue((char *)"");
7510 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 int arg1
= (int) 0 ;
7513 int arg2
= (int) wxSASH_NONE
;
7514 wxSashEvent
*result
;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7518 (char *) "id",(char *) "edge", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 arg1
= (int) SWIG_AsInt(obj0
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7544 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7551 (char *) "self",(char *) "edge", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 Py_INCREF(Py_None
); resultobj
= Py_None
;
7573 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "self", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_FromInt((int)result
);
7599 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7607 (char *) "self",(char *) "rect", NULL
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7615 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7635 PyObject
* obj0
= 0 ;
7637 (char *) "self", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7652 resultptr
= new wxRect((wxRect
&) result
);
7653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7661 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7668 (char *) "self",(char *) "status", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7690 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_FromInt((int)result
);
7716 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7719 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7721 return Py_BuildValue((char *)"");
7723 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 int arg1
= (int) 0 ;
7726 wxQueryLayoutInfoEvent
*result
;
7727 PyObject
* obj0
= 0 ;
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7734 arg1
= (int) SWIG_AsInt(obj0
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7751 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "length", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7764 arg2
= (int) SWIG_AsInt(obj1
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 (arg1
)->SetRequestedLength(arg2
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 Py_INCREF(Py_None
); resultobj
= Py_None
;
7780 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
;
7782 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_FromInt((int)result
);
7806 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7813 (char *) "self",(char *) "flags", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7819 arg2
= (int) SWIG_AsInt(obj1
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SetFlags(arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_FromInt((int)result
);
7861 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7869 (char *) "self",(char *) "size", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->SetSize((wxSize
const &)*arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7914 resultptr
= new wxSize((wxSize
&) result
);
7915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7923 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "orient", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 Py_INCREF(Py_None
); resultobj
= Py_None
;
7952 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "self", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= SWIG_FromInt((int)result
);
7978 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7985 (char *) "self",(char *) "align", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_FromInt((int)result
);
8033 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8038 return Py_BuildValue((char *)"");
8040 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 int arg1
= (int) 0 ;
8043 wxCalculateLayoutEvent
*result
;
8044 PyObject
* obj0
= 0 ;
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8051 arg1
= (int) SWIG_AsInt(obj0
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8068 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8075 (char *) "self",(char *) "flags", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 arg2
= (int) SWIG_AsInt(obj1
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 (arg1
)->SetFlags(arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_FromInt((int)result
);
8123 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8131 (char *) "self",(char *) "rect", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->SetRect((wxRect
const &)*arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8176 resultptr
= new wxRect((wxRect
&) result
);
8177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8185 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8188 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8190 return Py_BuildValue((char *)"");
8192 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxWindow
*arg1
= (wxWindow
*) 0 ;
8195 int arg2
= (int) -1 ;
8196 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8197 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8198 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8199 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8200 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8201 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8202 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8203 wxSashLayoutWindow
*result
;
8206 bool temp6
= False
;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8209 PyObject
* obj2
= 0 ;
8210 PyObject
* obj3
= 0 ;
8211 PyObject
* obj4
= 0 ;
8212 PyObject
* obj5
= 0 ;
8214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= (int) SWIG_AsInt(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8233 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8237 arg5
= (long) SWIG_AsLong(obj4
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8242 arg6
= wxString_in_helper(obj5
);
8243 if (arg6
== NULL
) SWIG_fail
;
8248 if (!wxPyCheckForApp()) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8270 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxSashLayoutWindow
*result
;
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8279 if (!wxPyCheckForApp()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8293 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8296 wxWindow
*arg2
= (wxWindow
*) 0 ;
8297 int arg3
= (int) -1 ;
8298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8302 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8303 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8308 bool temp7
= False
;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 PyObject
* obj2
= 0 ;
8312 PyObject
* obj3
= 0 ;
8313 PyObject
* obj4
= 0 ;
8314 PyObject
* obj5
= 0 ;
8315 PyObject
* obj6
= 0 ;
8317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 arg3
= (int) SWIG_AsInt(obj2
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8342 arg6
= (long) SWIG_AsLong(obj5
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8347 arg7
= wxString_in_helper(obj6
);
8348 if (arg7
== NULL
) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8376 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (int)(arg1
)->GetAlignment();
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_FromInt((int)result
);
8402 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8408 (char *) "self", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (int)(arg1
)->GetOrientation();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_FromInt((int)result
);
8428 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8433 PyObject
* obj1
= 0 ;
8435 (char *) "self",(char *) "alignment", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 (char *) "self",(char *) "size", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "orientation", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8523 return Py_BuildValue((char *)"");
8525 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
;
8527 wxLayoutAlgorithm
*result
;
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8547 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 Py_INCREF(Py_None
); resultobj
= Py_None
;
8572 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8575 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8576 wxRect
*arg3
= (wxRect
*) NULL
;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8580 PyObject
* obj2
= 0 ;
8582 (char *) "self",(char *) "frame",(char *) "rect", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8610 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8613 wxFrame
*arg2
= (wxFrame
*) 0 ;
8614 wxWindow
*arg3
= (wxWindow
*) NULL
;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 PyObject
* obj2
= 0 ;
8620 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8629 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8648 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8651 wxWindow
*arg2
= (wxWindow
*) 0 ;
8652 wxWindow
*arg3
= (wxWindow
*) NULL
;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8658 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8686 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8691 return Py_BuildValue((char *)"");
8693 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxWindow
*arg1
= (wxWindow
*) 0 ;
8696 int arg2
= (int) wxBORDER_NONE
;
8697 wxPopupWindow
*result
;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8701 (char *) "parent",(char *) "flags", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 arg2
= (int) SWIG_AsInt(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 if (!wxPyCheckForApp()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8726 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxPopupWindow
*result
;
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8735 if (!wxPyCheckForApp()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (wxPopupWindow
*)new wxPopupWindow();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8749 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8752 wxWindow
*arg2
= (wxWindow
*) 0 ;
8753 int arg3
= (int) wxBORDER_NONE
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8759 (char *) "self",(char *) "parent",(char *) "flags", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8768 arg3
= (int) SWIG_AsInt(obj2
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8787 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj2
= 0 ;
8798 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8810 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8829 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8831 return Py_BuildValue((char *)"");
8833 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxWindow
*arg1
= (wxWindow
*) 0 ;
8836 int arg2
= (int) wxBORDER_NONE
;
8837 wxPyPopupTransientWindow
*result
;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8841 (char *) "parent",(char *) "style", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8848 arg2
= (int) SWIG_AsInt(obj1
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8852 if (!wxPyCheckForApp()) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8866 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyPopupTransientWindow
*result
;
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8875 if (!wxPyCheckForApp()) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8889 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8892 PyObject
*arg2
= (PyObject
*) 0 ;
8893 PyObject
*arg3
= (PyObject
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8895 PyObject
* obj1
= 0 ;
8896 PyObject
* obj2
= 0 ;
8898 (char *) "self",(char *) "self",(char *) "_class", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8923 wxWindow
*arg2
= (wxWindow
*) NULL
;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "focus", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->Popup(arg2
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 Py_INCREF(Py_None
); resultobj
= Py_None
;
8951 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 Py_INCREF(Py_None
); resultobj
= Py_None
;
8976 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8979 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8981 return Py_BuildValue((char *)"");
8983 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxWindow
*arg1
= (wxWindow
*) 0 ;
8986 wxString
*arg2
= 0 ;
8987 int arg3
= (int) 100 ;
8988 wxRect
*arg4
= (wxRect
*) NULL
;
8989 wxTipWindow
*result
;
8990 bool temp2
= False
;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 PyObject
* obj3
= 0 ;
8996 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 arg2
= wxString_in_helper(obj1
);
9004 if (arg2
== NULL
) SWIG_fail
;
9008 arg3
= (int) SWIG_AsInt(obj2
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9012 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 if (!wxPyCheckForApp()) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9038 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "rectBound", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 Py_INCREF(Py_None
); resultobj
= Py_None
;
9095 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9098 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9100 return Py_BuildValue((char *)"");
9102 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxWindow
*arg1
= (wxWindow
*) 0 ;
9105 int arg2
= (int) wxID_ANY
;
9106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9110 long arg5
= (long) 0 ;
9111 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9112 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9113 wxPyVScrolledWindow
*result
;
9116 bool temp6
= False
;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9119 PyObject
* obj2
= 0 ;
9120 PyObject
* obj3
= 0 ;
9121 PyObject
* obj4
= 0 ;
9122 PyObject
* obj5
= 0 ;
9124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9131 arg2
= (int) SWIG_AsInt(obj1
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9147 arg5
= (long) SWIG_AsLong(obj4
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9152 arg6
= wxString_in_helper(obj5
);
9153 if (arg6
== NULL
) SWIG_fail
;
9158 if (!wxPyCheckForApp()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9180 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyVScrolledWindow
*result
;
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9203 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9206 PyObject
*arg2
= (PyObject
*) 0 ;
9207 PyObject
*arg3
= (PyObject
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 PyObject
* obj2
= 0 ;
9212 (char *) "self",(char *) "self",(char *) "_class", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9237 wxWindow
*arg2
= (wxWindow
*) 0 ;
9238 int arg3
= (int) wxID_ANY
;
9239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9243 long arg6
= (long) 0 ;
9244 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9249 bool temp7
= False
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9254 PyObject
* obj4
= 0 ;
9255 PyObject
* obj5
= 0 ;
9256 PyObject
* obj6
= 0 ;
9258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9267 arg3
= (int) SWIG_AsInt(obj2
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9283 arg6
= (long) SWIG_AsLong(obj5
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9288 arg7
= wxString_in_helper(obj6
);
9289 if (arg7
== NULL
) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9317 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9319 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9324 (char *) "self",(char *) "count", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9330 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->SetLineCount(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "line", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "self",(char *) "lines", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 arg2
= (int) SWIG_AsInt(obj1
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)(arg1
)->ScrollLines(arg2
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9410 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9418 (char *) "self",(char *) "pages", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 arg2
= (int) SWIG_AsInt(obj1
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)(arg1
)->ScrollPages(arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9442 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "line", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->RefreshLine(arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9480 (char *) "self",(char *) "from",(char *) "to", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9488 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 (arg1
)->RefreshLines(arg2
,arg3
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9514 (char *) "self",(char *) "x",(char *) "y", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 arg2
= (int) SWIG_AsInt(obj1
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9522 arg3
= (int) SWIG_AsInt(obj2
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_FromInt((int)result
);
9538 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9547 (char *) "self",(char *) "pt", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_FromInt((int)result
);
9571 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9576 (char *) "self", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->RefreshAll();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9596 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "self", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9622 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9648 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "self", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9674 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9682 (char *) "self",(char *) "line", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9688 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9706 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9709 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9711 return Py_BuildValue((char *)"");
9713 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9714 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9719 static PyObject
*_wrap_VListBoxNameStr_get() {
9724 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9726 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9733 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxWindow
*arg1
= (wxWindow
*) 0 ;
9736 int arg2
= (int) wxID_ANY
;
9737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9741 long arg5
= (long) 0 ;
9742 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9743 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9744 wxPyVListBox
*result
;
9747 bool temp6
= False
;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 PyObject
* obj2
= 0 ;
9751 PyObject
* obj3
= 0 ;
9752 PyObject
* obj4
= 0 ;
9753 PyObject
* obj5
= 0 ;
9755 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 arg2
= (int) SWIG_AsInt(obj1
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9774 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9778 arg5
= (long) SWIG_AsLong(obj4
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9783 arg6
= wxString_in_helper(obj5
);
9784 if (arg6
== NULL
) SWIG_fail
;
9789 if (!wxPyCheckForApp()) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9811 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxPyVListBox
*result
;
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9820 if (!wxPyCheckForApp()) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (wxPyVListBox
*)new wxPyVListBox();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9834 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9837 PyObject
*arg2
= (PyObject
*) 0 ;
9838 PyObject
*arg3
= (PyObject
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9843 (char *) "self",(char *) "self",(char *) "_class", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 Py_INCREF(Py_None
); resultobj
= Py_None
;
9865 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
;
9867 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9868 wxWindow
*arg2
= (wxWindow
*) 0 ;
9869 int arg3
= (int) wxID_ANY
;
9870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9874 long arg6
= (long) 0 ;
9875 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9880 bool temp7
= False
;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 PyObject
* obj2
= 0 ;
9884 PyObject
* obj3
= 0 ;
9885 PyObject
* obj4
= 0 ;
9886 PyObject
* obj5
= 0 ;
9887 PyObject
* obj6
= 0 ;
9889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 arg3
= (int) SWIG_AsInt(obj2
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9914 arg6
= (long) SWIG_AsLong(obj5
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9919 arg7
= wxString_in_helper(obj6
);
9920 if (arg7
== NULL
) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9948 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9974 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_FromInt((int)result
);
10028 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "item", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10060 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self",(char *) "item", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10092 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10096 PyObject
* obj0
= 0 ;
10097 char *kwnames
[] = {
10098 (char *) "self", NULL
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10118 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= result
;
10144 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10147 unsigned long arg2
;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self",(char *) "cookie", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= result
;
10174 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 wxPoint
* resultptr
;
10195 resultptr
= new wxPoint((wxPoint
&) result
);
10196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10204 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10220 result
= (wxColour
*) &_result_ref
;
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10233 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "count", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 (arg1
)->SetItemCount(arg2
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10262 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 Py_INCREF(Py_None
); resultobj
= Py_None
;
10287 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "selection", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 arg2
= (int) SWIG_AsInt(obj1
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 (arg1
)->SetSelection(arg2
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 Py_INCREF(Py_None
); resultobj
= Py_None
;
10316 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10320 bool arg3
= (bool) True
;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 PyObject
* obj2
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "item",(char *) "select", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 arg3
= (bool) SWIG_AsBool(obj2
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10354 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "from",(char *) "to", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10372 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10390 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "item", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10403 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 (arg1
)->Toggle(arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 Py_INCREF(Py_None
); resultobj
= Py_None
;
10419 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (bool)(arg1
)->SelectAll();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10447 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)(arg1
)->DeselectAll();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10478 wxPoint
*arg2
= 0 ;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self",(char *) "pt", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 PyObject
* obj2
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "x",(char *) "y", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 arg2
= (int) SWIG_AsInt(obj1
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10524 arg3
= (int) SWIG_AsInt(obj2
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 (arg1
)->SetMargins(arg2
,arg3
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 Py_INCREF(Py_None
); resultobj
= Py_None
;
10540 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10543 wxColour
*arg2
= 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self",(char *) "col", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10575 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10577 return Py_BuildValue((char *)"");
10579 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxWindow
*arg1
= (wxWindow
*) 0 ;
10582 int arg2
= (int) wxID_ANY
;
10583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10587 long arg5
= (long) 0 ;
10588 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10589 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10590 wxPyHtmlListBox
*result
;
10593 bool temp6
= False
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 PyObject
* obj3
= 0 ;
10598 PyObject
* obj4
= 0 ;
10599 PyObject
* obj5
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10608 arg2
= (int) SWIG_AsInt(obj1
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10624 arg5
= (long) SWIG_AsLong(obj4
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10629 arg6
= wxString_in_helper(obj5
);
10630 if (arg6
== NULL
) SWIG_fail
;
10635 if (!wxPyCheckForApp()) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10657 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxPyHtmlListBox
*result
;
10660 char *kwnames
[] = {
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10666 if (!wxPyCheckForApp()) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10680 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10683 PyObject
*arg2
= (PyObject
*) 0 ;
10684 PyObject
*arg3
= (PyObject
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "self",(char *) "_class", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10714 wxWindow
*arg2
= (wxWindow
*) 0 ;
10715 int arg3
= (int) wxID_ANY
;
10716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10720 long arg6
= (long) 0 ;
10721 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10726 bool temp7
= False
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 PyObject
* obj2
= 0 ;
10730 PyObject
* obj3
= 0 ;
10731 PyObject
* obj4
= 0 ;
10732 PyObject
* obj5
= 0 ;
10733 PyObject
* obj6
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10744 arg3
= (int) SWIG_AsInt(obj2
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10760 arg6
= (long) SWIG_AsLong(obj5
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10765 arg7
= wxString_in_helper(obj6
);
10766 if (arg7
== NULL
) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10794 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->RefreshAll();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10819 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "count", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->SetItemCount(arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10848 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10851 wxFileSystem
*result
;
10852 PyObject
* obj0
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10864 result
= (wxFileSystem
*) &_result_ref
;
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10877 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10880 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10882 return Py_BuildValue((char *)"");
10884 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxTaskBarIcon
*result
;
10887 char *kwnames
[] = {
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10893 if (!wxPyCheckForApp()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10907 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10932 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 wxTaskBarIcon_Destroy(arg1
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11020 bool temp3
= False
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11034 if (arg2
== NULL
) {
11035 PyErr_SetString(PyExc_TypeError
,"null reference");
11040 arg3
= wxString_in_helper(obj2
);
11041 if (arg3
== NULL
) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)(arg1
)->RemoveIcon();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11097 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11100 wxMenu
*arg2
= (wxMenu
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "menu", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)(arg1
)->PopupMenu(arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11132 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11134 return Py_BuildValue((char *)"");
11136 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11139 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11140 wxTaskBarIconEvent
*result
;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "evtType",(char *) "tbIcon", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11148 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11166 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11169 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11171 return Py_BuildValue((char *)"");
11173 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11174 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11179 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11184 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11186 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11193 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11194 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11199 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11204 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11206 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11213 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11214 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11219 static PyObject
*_wrap_DirDialogNameStr_get() {
11224 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11226 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11233 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11234 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11239 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11244 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11246 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11253 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11254 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11259 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11264 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11266 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11273 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11274 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11279 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11284 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11286 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11293 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxColourData
*result
;
11296 char *kwnames
[] = {
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxColourData
*)new wxColourData();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11315 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxColourData
*arg1
= (wxColourData
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxColourData
*arg1
= (wxColourData
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)(arg1
)->GetChooseFull();
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11368 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxColourData
*arg1
= (wxColourData
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (arg1
)->GetColour();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11388 wxColour
* resultptr
;
11389 resultptr
= new wxColour((wxColour
&) result
);
11390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11398 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxColourData
*arg1
= (wxColourData
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "i", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 arg2
= (int) SWIG_AsInt(obj1
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (arg1
)->GetCustomColour(arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 wxColour
* resultptr
;
11423 resultptr
= new wxColour((wxColour
&) result
);
11424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11432 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxColourData
*arg1
= (wxColourData
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self",(char *) "flag", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 arg2
= (int) SWIG_AsInt(obj1
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 (arg1
)->SetChooseFull(arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 Py_INCREF(Py_None
); resultobj
= Py_None
;
11461 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxColourData
*arg1
= (wxColourData
*) 0 ;
11464 wxColour
*arg2
= 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self",(char *) "colour", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->SetColour((wxColour
const &)*arg2
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 Py_INCREF(Py_None
); resultobj
= Py_None
;
11493 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxColourData
*arg1
= (wxColourData
*) 0 ;
11497 wxColour
*arg3
= 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 PyObject
* obj2
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self",(char *) "i",(char *) "colour", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 arg2
= (int) SWIG_AsInt(obj1
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 Py_INCREF(Py_None
); resultobj
= Py_None
;
11529 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11532 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11534 return Py_BuildValue((char *)"");
11536 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
;
11538 wxWindow
*arg1
= (wxWindow
*) 0 ;
11539 wxColourData
*arg2
= (wxColourData
*) NULL
;
11540 wxColourDialog
*result
;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "parent",(char *) "data", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 if (!wxPyCheckForApp()) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11569 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11572 wxColourData
*result
;
11573 PyObject
* obj0
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11585 result
= (wxColourData
*) &_result_ref
;
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11598 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11601 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11603 return Py_BuildValue((char *)"");
11605 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxWindow
*arg1
= (wxWindow
*) 0 ;
11608 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11609 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11612 long arg4
= (long) 0 ;
11613 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11614 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11615 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11616 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11617 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11619 wxDirDialog
*result
;
11620 bool temp2
= False
;
11621 bool temp3
= False
;
11624 bool temp7
= False
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 PyObject
* obj3
= 0 ;
11629 PyObject
* obj4
= 0 ;
11630 PyObject
* obj5
= 0 ;
11631 PyObject
* obj6
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 arg2
= wxString_in_helper(obj1
);
11642 if (arg2
== NULL
) SWIG_fail
;
11648 arg3
= wxString_in_helper(obj2
);
11649 if (arg3
== NULL
) SWIG_fail
;
11654 arg4
= (long) SWIG_AsLong(obj3
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11666 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11671 arg7
= wxString_in_helper(obj6
);
11672 if (arg7
== NULL
) SWIG_fail
;
11677 if (!wxPyCheckForApp()) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11715 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (arg1
)->GetPath();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11747 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (arg1
)->GetMessage();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11779 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "self", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (long)(arg1
)->GetStyle();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_FromLong((long)result
);
11805 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11808 wxString
*arg2
= 0 ;
11809 bool temp2
= False
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self",(char *) "message", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg2
= wxString_in_helper(obj1
);
11821 if (arg2
== NULL
) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->SetMessage((wxString
const &)*arg2
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11849 wxString
*arg2
= 0 ;
11850 bool temp2
= False
;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self",(char *) "path", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 arg2
= wxString_in_helper(obj1
);
11862 if (arg2
== NULL
) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetPath((wxString
const &)*arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11890 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11892 return Py_BuildValue((char *)"");
11894 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxWindow
*arg1
= (wxWindow
*) 0 ;
11897 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11898 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11901 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11902 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11903 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11904 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11905 long arg6
= (long) 0 ;
11906 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11907 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11908 wxFileDialog
*result
;
11909 bool temp2
= False
;
11910 bool temp3
= False
;
11911 bool temp4
= False
;
11912 bool temp5
= False
;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 PyObject
* obj2
= 0 ;
11917 PyObject
* obj3
= 0 ;
11918 PyObject
* obj4
= 0 ;
11919 PyObject
* obj5
= 0 ;
11920 PyObject
* obj6
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= wxString_in_helper(obj1
);
11931 if (arg2
== NULL
) SWIG_fail
;
11937 arg3
= wxString_in_helper(obj2
);
11938 if (arg3
== NULL
) SWIG_fail
;
11944 arg4
= wxString_in_helper(obj3
);
11945 if (arg4
== NULL
) SWIG_fail
;
11951 arg5
= wxString_in_helper(obj4
);
11952 if (arg5
== NULL
) SWIG_fail
;
11957 arg6
= (long) SWIG_AsLong(obj5
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11963 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11967 if (!wxPyCheckForApp()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12013 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12016 wxString
*arg2
= 0 ;
12017 bool temp2
= False
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "message", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= wxString_in_helper(obj1
);
12029 if (arg2
== NULL
) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->SetMessage((wxString
const &)*arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12054 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12057 wxString
*arg2
= 0 ;
12058 bool temp2
= False
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "path", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 arg2
= wxString_in_helper(obj1
);
12070 if (arg2
== NULL
) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->SetPath((wxString
const &)*arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12098 wxString
*arg2
= 0 ;
12099 bool temp2
= False
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "dir", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12110 arg2
= wxString_in_helper(obj1
);
12111 if (arg2
== NULL
) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12139 wxString
*arg2
= 0 ;
12140 bool temp2
= False
;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "name", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12151 arg2
= wxString_in_helper(obj1
);
12152 if (arg2
== NULL
) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetFilename((wxString
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12180 wxString
*arg2
= 0 ;
12181 bool temp2
= False
;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self",(char *) "wildCard", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 arg2
= wxString_in_helper(obj1
);
12193 if (arg2
== NULL
) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "style", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 arg2
= (long) SWIG_AsLong(obj1
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 (arg1
)->SetStyle(arg2
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 Py_INCREF(Py_None
); resultobj
= Py_None
;
12247 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "filterIndex", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 arg2
= (int) SWIG_AsInt(obj1
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 (arg1
)->SetFilterIndex(arg2
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12308 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12340 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
;
12342 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12372 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12404 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12436 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_FromLong((long)result
);
12462 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_FromInt((int)result
);
12488 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
;
12514 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 char *kwnames
[] = {
12520 (char *) "self", NULL
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= result
;
12540 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12543 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12545 return Py_BuildValue((char *)"");
12547 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
;
12549 wxWindow
*arg1
= (wxWindow
*) 0 ;
12550 wxString
*arg2
= 0 ;
12551 wxString
*arg3
= 0 ;
12552 int arg4
= (int) 0 ;
12553 wxString
*arg5
= (wxString
*) NULL
;
12554 long arg6
= (long) wxCHOICEDLG_STYLE
;
12555 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12556 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12557 wxMultiChoiceDialog
*result
;
12558 bool temp2
= False
;
12559 bool temp3
= False
;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 PyObject
* obj3
= 0 ;
12565 PyObject
* obj4
= 0 ;
12566 PyObject
* obj5
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 arg2
= wxString_in_helper(obj1
);
12576 if (arg2
== NULL
) SWIG_fail
;
12580 arg3
= wxString_in_helper(obj2
);
12581 if (arg3
== NULL
) SWIG_fail
;
12586 arg4
= PyList_Size(obj3
);
12587 arg5
= wxString_LIST_helper(obj3
);
12588 if (arg5
== NULL
) SWIG_fail
;
12592 arg6
= (long) SWIG_AsLong(obj4
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12598 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12602 if (!wxPyCheckForApp()) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12619 if (arg5
) delete [] arg5
;
12632 if (arg5
) delete [] arg5
;
12638 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12641 wxArrayInt
*arg2
= 0 ;
12642 bool temp2
= False
;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self",(char *) "selections", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 if (! PySequence_Check(obj1
)) {
12654 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12657 arg2
= new wxArrayInt
;
12659 int i
, len
=PySequence_Length(obj1
);
12660 for (i
=0; i
<len
; i
++) {
12661 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12662 PyObject
* number
= PyNumber_Int(item
);
12663 arg2
->Add(PyInt_AS_LONG(number
));
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 Py_INCREF(Py_None
); resultobj
= Py_None
;
12677 if (temp2
) delete arg2
;
12682 if (temp2
) delete arg2
;
12688 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
;
12714 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12719 return Py_BuildValue((char *)"");
12721 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxWindow
*arg1
= (wxWindow
*) 0 ;
12724 wxString
*arg2
= 0 ;
12725 wxString
*arg3
= 0 ;
12727 wxString
*arg5
= (wxString
*) 0 ;
12728 long arg6
= (long) wxCHOICEDLG_STYLE
;
12729 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12730 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12731 wxSingleChoiceDialog
*result
;
12732 bool temp2
= False
;
12733 bool temp3
= False
;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 PyObject
* obj3
= 0 ;
12739 PyObject
* obj4
= 0 ;
12740 PyObject
* obj5
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= wxString_in_helper(obj1
);
12750 if (arg2
== NULL
) SWIG_fail
;
12754 arg3
= wxString_in_helper(obj2
);
12755 if (arg3
== NULL
) SWIG_fail
;
12759 arg4
= PyList_Size(obj3
);
12760 arg5
= wxString_LIST_helper(obj3
);
12761 if (arg5
== NULL
) SWIG_fail
;
12764 arg6
= (long) SWIG_AsLong(obj4
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12770 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12774 if (!wxPyCheckForApp()) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12791 if (arg5
) delete [] arg5
;
12804 if (arg5
) delete [] arg5
;
12810 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (int)(arg1
)->GetSelection();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= SWIG_FromInt((int)result
);
12836 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
;
12838 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12840 PyObject
* obj0
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (arg1
)->GetStringSelection();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12868 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "sel", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 arg2
= (int) SWIG_AsInt(obj1
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetSelection(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12900 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12902 return Py_BuildValue((char *)"");
12904 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxWindow
*arg1
= (wxWindow
*) 0 ;
12907 wxString
*arg2
= 0 ;
12908 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12909 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12912 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12913 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12914 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12915 wxTextEntryDialog
*result
;
12916 bool temp2
= False
;
12917 bool temp3
= False
;
12918 bool temp4
= False
;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 PyObject
* obj2
= 0 ;
12923 PyObject
* obj3
= 0 ;
12924 PyObject
* obj4
= 0 ;
12925 PyObject
* obj5
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 arg2
= wxString_in_helper(obj1
);
12935 if (arg2
== NULL
) SWIG_fail
;
12940 arg3
= wxString_in_helper(obj2
);
12941 if (arg3
== NULL
) SWIG_fail
;
12947 arg4
= wxString_in_helper(obj3
);
12948 if (arg4
== NULL
) SWIG_fail
;
12953 arg5
= (long) SWIG_AsLong(obj4
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12959 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12963 if (!wxPyCheckForApp()) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13001 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (arg1
)->GetValue();
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13033 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13036 wxString
*arg2
= 0 ;
13037 bool temp2
= False
;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self",(char *) "value", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13048 arg2
= wxString_in_helper(obj1
);
13049 if (arg2
== NULL
) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->SetValue((wxString
const &)*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13077 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13079 return Py_BuildValue((char *)"");
13081 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxFontData
*result
;
13084 char *kwnames
[] = {
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxFontData
*)new wxFontData();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13103 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxFontData
*arg1
= (wxFontData
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxFontData
*arg1
= (wxFontData
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "enable", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 arg2
= (bool) SWIG_AsBool(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->EnableEffects(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxFontData
*arg1
= (wxFontData
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (bool)(arg1
)->GetAllowSymbols();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13185 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxFontData
*arg1
= (wxFontData
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (arg1
)->GetColour();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 wxColour
* resultptr
;
13206 resultptr
= new wxColour((wxColour
&) result
);
13207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13215 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxFontData
*arg1
= (wxFontData
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (arg1
)->GetChosenFont();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 wxFont
* resultptr
;
13236 resultptr
= new wxFont((wxFont
&) result
);
13237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13245 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxFontData
*arg1
= (wxFontData
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (bool)(arg1
)->GetEnableEffects();
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13273 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxFontData
*arg1
= (wxFontData
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (arg1
)->GetInitialFont();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13293 wxFont
* resultptr
;
13294 resultptr
= new wxFont((wxFont
&) result
);
13295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13303 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxFontData
*arg1
= (wxFontData
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)(arg1
)->GetShowHelp();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13331 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxFontData
*arg1
= (wxFontData
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "allowSymbols", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (bool) SWIG_AsBool(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->SetAllowSymbols(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 Py_INCREF(Py_None
); resultobj
= Py_None
;
13360 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxFontData
*arg1
= (wxFontData
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self",(char *) "font", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13376 if (arg2
== NULL
) {
13377 PyErr_SetString(PyExc_TypeError
,"null reference");
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 Py_INCREF(Py_None
); resultobj
= Py_None
;
13394 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxFontData
*arg1
= (wxFontData
*) 0 ;
13397 wxColour
*arg2
= 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "colour", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 (arg1
)->SetColour((wxColour
const &)*arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxFontData
*arg1
= (wxFontData
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "font", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13442 if (arg2
== NULL
) {
13443 PyErr_SetString(PyExc_TypeError
,"null reference");
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 Py_INCREF(Py_None
); resultobj
= Py_None
;
13460 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxFontData
*arg1
= (wxFontData
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 PyObject
* obj2
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "min",(char *) "max", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 arg2
= (int) SWIG_AsInt(obj1
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13477 arg3
= (int) SWIG_AsInt(obj2
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SetRange(arg2
,arg3
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxFontData
*arg1
= (wxFontData
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self",(char *) "showHelp", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13506 arg2
= (bool) SWIG_AsBool(obj1
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 (arg1
)->SetShowHelp(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 Py_INCREF(Py_None
); resultobj
= Py_None
;
13522 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13525 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13527 return Py_BuildValue((char *)"");
13529 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxWindow
*arg1
= (wxWindow
*) 0 ;
13532 wxFontData
*arg2
= 0 ;
13533 wxFontDialog
*result
;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "parent",(char *) "data", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13546 if (arg2
== NULL
) {
13547 PyErr_SetString(PyExc_TypeError
,"null reference");
13551 if (!wxPyCheckForApp()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13565 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13568 wxFontData
*result
;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13581 result
= (wxFontData
*) &_result_ref
;
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13594 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13597 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13599 return Py_BuildValue((char *)"");
13601 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxWindow
*arg1
= (wxWindow
*) 0 ;
13604 wxString
*arg2
= 0 ;
13605 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13607 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13608 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13609 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13610 wxMessageDialog
*result
;
13611 bool temp2
= False
;
13612 bool temp3
= False
;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 PyObject
* obj2
= 0 ;
13617 PyObject
* obj3
= 0 ;
13618 PyObject
* obj4
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 arg2
= wxString_in_helper(obj1
);
13628 if (arg2
== NULL
) SWIG_fail
;
13633 arg3
= wxString_in_helper(obj2
);
13634 if (arg3
== NULL
) SWIG_fail
;
13639 arg4
= (long) SWIG_AsLong(obj3
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13645 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13649 if (!wxPyCheckForApp()) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13679 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13682 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13684 return Py_BuildValue((char *)"");
13686 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxString
*arg1
= 0 ;
13689 wxString
*arg2
= 0 ;
13690 int arg3
= (int) 100 ;
13691 wxWindow
*arg4
= (wxWindow
*) NULL
;
13692 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13693 wxProgressDialog
*result
;
13694 bool temp1
= False
;
13695 bool temp2
= False
;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 PyObject
* obj3
= 0 ;
13700 PyObject
* obj4
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13707 arg1
= wxString_in_helper(obj0
);
13708 if (arg1
== NULL
) SWIG_fail
;
13712 arg2
= wxString_in_helper(obj1
);
13713 if (arg2
== NULL
) SWIG_fail
;
13717 arg3
= (int) SWIG_AsInt(obj2
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 arg5
= (int) SWIG_AsInt(obj4
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 if (!wxPyCheckForApp()) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13759 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13763 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13766 bool temp3
= False
;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 PyObject
* obj2
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 arg2
= (int) SWIG_AsInt(obj1
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13781 arg3
= wxString_in_helper(obj2
);
13782 if (arg3
== NULL
) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13810 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13838 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13840 return Py_BuildValue((char *)"");
13842 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13845 int arg2
= (int) 0 ;
13846 wxFindDialogEvent
*result
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "commandType",(char *) "id", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13855 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 arg2
= (int) SWIG_AsInt(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13876 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (int)(arg1
)->GetFlags();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_FromInt((int)result
);
13902 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 wxString
const &_result_ref
= (arg1
)->GetFindString();
13918 result
= (wxString
*) &_result_ref
;
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13937 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13953 result
= (wxString
*) &_result_ref
;
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13963 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13972 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13975 wxFindReplaceDialog
*result
;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13998 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "flags", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 arg2
= (int) SWIG_AsInt(obj1
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 (arg1
)->SetFlags(arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 Py_INCREF(Py_None
); resultobj
= Py_None
;
14027 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14030 wxString
*arg2
= 0 ;
14031 bool temp2
= False
;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "str", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14042 arg2
= wxString_in_helper(obj1
);
14043 if (arg2
== NULL
) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 (arg1
)->SetFindString((wxString
const &)*arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 Py_INCREF(Py_None
); resultobj
= Py_None
;
14068 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14071 wxString
*arg2
= 0 ;
14072 bool temp2
= False
;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "str", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 arg2
= wxString_in_helper(obj1
);
14084 if (arg2
== NULL
) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14109 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14112 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14114 return Py_BuildValue((char *)"");
14116 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 int arg1
= (int) 0 ;
14119 wxFindReplaceData
*result
;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "flags", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14127 arg1
= (int) SWIG_AsInt(obj0
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14144 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 wxString
const &_result_ref
= (arg1
)->GetFindString();
14185 result
= (wxString
*) &_result_ref
;
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14204 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14220 result
= (wxString
*) &_result_ref
;
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14230 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14239 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (int)(arg1
)->GetFlags();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= SWIG_FromInt((int)result
);
14265 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self",(char *) "flags", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 arg2
= (int) SWIG_AsInt(obj1
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 (arg1
)->SetFlags(arg2
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 Py_INCREF(Py_None
); resultobj
= Py_None
;
14294 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14297 wxString
*arg2
= 0 ;
14298 bool temp2
= False
;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self",(char *) "str", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 arg2
= wxString_in_helper(obj1
);
14310 if (arg2
== NULL
) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 (arg1
)->SetFindString((wxString
const &)*arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14335 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14338 wxString
*arg2
= 0 ;
14339 bool temp2
= False
;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "str", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 arg2
= wxString_in_helper(obj1
);
14351 if (arg2
== NULL
) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14379 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14381 return Py_BuildValue((char *)"");
14383 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxWindow
*arg1
= (wxWindow
*) 0 ;
14386 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14387 wxString
*arg3
= 0 ;
14388 int arg4
= (int) 0 ;
14389 wxFindReplaceDialog
*result
;
14390 bool temp3
= False
;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 PyObject
* obj2
= 0 ;
14394 PyObject
* obj3
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 arg3
= wxString_in_helper(obj2
);
14406 if (arg3
== NULL
) SWIG_fail
;
14410 arg4
= (int) SWIG_AsInt(obj3
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14414 if (!wxPyCheckForApp()) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14436 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxFindReplaceDialog
*result
;
14439 char *kwnames
[] = {
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14445 if (!wxPyCheckForApp()) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14459 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14462 wxWindow
*arg2
= (wxWindow
*) 0 ;
14463 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14464 wxString
*arg4
= 0 ;
14465 int arg5
= (int) 0 ;
14467 bool temp4
= False
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 PyObject
* obj4
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 arg4
= wxString_in_helper(obj3
);
14486 if (arg4
== NULL
) SWIG_fail
;
14490 arg5
= (int) SWIG_AsInt(obj4
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14520 wxFindReplaceData
*result
;
14521 PyObject
* obj0
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14543 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14546 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "data", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 (arg1
)->SetData(arg2
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14577 return Py_BuildValue((char *)"");
14579 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxWindow
*arg1
= (wxWindow
*) 0 ;
14582 int arg2
= (int) (int)-1 ;
14583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14589 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14590 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14591 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14592 wxMDIParentFrame
*result
;
14593 bool temp3
= False
;
14596 bool temp7
= False
;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 PyObject
* obj2
= 0 ;
14600 PyObject
* obj3
= 0 ;
14601 PyObject
* obj4
= 0 ;
14602 PyObject
* obj5
= 0 ;
14603 PyObject
* obj6
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 arg2
= (int const) SWIG_AsInt(obj1
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14617 arg3
= wxString_in_helper(obj2
);
14618 if (arg3
== NULL
) SWIG_fail
;
14625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14635 arg6
= (long) SWIG_AsLong(obj5
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14640 arg7
= wxString_in_helper(obj6
);
14641 if (arg7
== NULL
) SWIG_fail
;
14646 if (!wxPyCheckForApp()) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14676 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxMDIParentFrame
*result
;
14679 char *kwnames
[] = {
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14685 if (!wxPyCheckForApp()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14699 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14702 wxWindow
*arg2
= (wxWindow
*) 0 ;
14703 int arg3
= (int) (int)-1 ;
14704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14706 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14707 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14708 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14709 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14710 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14711 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14712 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14714 bool temp4
= False
;
14717 bool temp8
= False
;
14718 PyObject
* obj0
= 0 ;
14719 PyObject
* obj1
= 0 ;
14720 PyObject
* obj2
= 0 ;
14721 PyObject
* obj3
= 0 ;
14722 PyObject
* obj4
= 0 ;
14723 PyObject
* obj5
= 0 ;
14724 PyObject
* obj6
= 0 ;
14725 PyObject
* obj7
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 arg3
= (int const) SWIG_AsInt(obj2
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14741 arg4
= wxString_in_helper(obj3
);
14742 if (arg4
== NULL
) SWIG_fail
;
14749 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14755 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14759 arg7
= (long) SWIG_AsLong(obj6
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14764 arg8
= wxString_in_helper(obj7
);
14765 if (arg8
== NULL
) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14801 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->ActivateNext();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 Py_INCREF(Py_None
); resultobj
= Py_None
;
14826 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 (arg1
)->ActivatePrevious();
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->ArrangeIcons();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14904 wxMDIChildFrame
*result
;
14905 PyObject
* obj0
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= wxPyMake_wxObject(result
, 0);
14929 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14932 wxMDIClientWindow
*result
;
14933 PyObject
* obj0
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= wxPyMake_wxObject(result
, 0);
14957 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxWindow
*)(arg1
)->GetToolBar();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= wxPyMake_wxObject(result
, 0);
14985 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15013 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15015 return Py_BuildValue((char *)"");
15017 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15020 int arg2
= (int) (int)-1 ;
15021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15027 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15028 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15030 wxMDIChildFrame
*result
;
15031 bool temp3
= False
;
15034 bool temp7
= False
;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 PyObject
* obj2
= 0 ;
15038 PyObject
* obj3
= 0 ;
15039 PyObject
* obj4
= 0 ;
15040 PyObject
* obj5
= 0 ;
15041 PyObject
* obj6
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 arg2
= (int const) SWIG_AsInt(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15055 arg3
= wxString_in_helper(obj2
);
15056 if (arg3
== NULL
) SWIG_fail
;
15063 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15069 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15073 arg6
= (long) SWIG_AsLong(obj5
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15078 arg7
= wxString_in_helper(obj6
);
15079 if (arg7
== NULL
) SWIG_fail
;
15084 if (!wxPyCheckForApp()) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= wxPyMake_wxObject(result
, 1);
15116 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxMDIChildFrame
*result
;
15119 char *kwnames
[] = {
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15125 if (!wxPyCheckForApp()) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= wxPyMake_wxObject(result
, 1);
15141 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15144 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15145 int arg3
= (int) (int)-1 ;
15146 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15147 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15148 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15149 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15150 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15151 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15152 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15153 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15154 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15156 bool temp4
= False
;
15159 bool temp8
= False
;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 PyObject
* obj2
= 0 ;
15163 PyObject
* obj3
= 0 ;
15164 PyObject
* obj4
= 0 ;
15165 PyObject
* obj5
= 0 ;
15166 PyObject
* obj6
= 0 ;
15167 PyObject
* obj7
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 arg3
= (int const) SWIG_AsInt(obj2
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15183 arg4
= wxString_in_helper(obj3
);
15184 if (arg4
== NULL
) SWIG_fail
;
15191 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15197 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15201 arg7
= (long) SWIG_AsLong(obj6
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15206 arg8
= wxString_in_helper(obj7
);
15207 if (arg8
== NULL
) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15243 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 (arg1
)->Activate();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15268 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "maximize", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 arg2
= (bool) SWIG_AsBool(obj1
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 (arg1
)->Maximize(arg2
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15327 return Py_BuildValue((char *)"");
15329 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15332 long arg2
= (long) 0 ;
15333 wxMDIClientWindow
*result
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "parent",(char *) "style", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15344 arg2
= (long) SWIG_AsLong(obj1
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 if (!wxPyCheckForApp()) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= wxPyMake_wxObject(result
, 1);
15364 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxMDIClientWindow
*result
;
15367 char *kwnames
[] = {
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15373 if (!wxPyCheckForApp()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= wxPyMake_wxObject(result
, 1);
15389 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15392 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15393 long arg3
= (long) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 PyObject
* obj2
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self",(char *) "parent",(char *) "style", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 arg3
= (long) SWIG_AsLong(obj2
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15427 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15430 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15432 return Py_BuildValue((char *)"");
15434 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxWindow
*arg1
= (wxWindow
*) 0 ;
15437 int arg2
= (int) (int)-1 ;
15438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15442 long arg5
= (long) 0 ;
15443 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15445 wxPyWindow
*result
;
15448 bool temp6
= False
;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 PyObject
* obj3
= 0 ;
15453 PyObject
* obj4
= 0 ;
15454 PyObject
* obj5
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15463 arg2
= (int const) SWIG_AsInt(obj1
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15475 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15479 arg5
= (long) SWIG_AsLong(obj4
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15484 arg6
= wxString_in_helper(obj5
);
15485 if (arg6
== NULL
) SWIG_fail
;
15490 if (!wxPyCheckForApp()) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15512 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxPyWindow
*result
;
15515 char *kwnames
[] = {
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15521 if (!wxPyCheckForApp()) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (wxPyWindow
*)new wxPyWindow();
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15535 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15538 PyObject
*arg2
= (PyObject
*) 0 ;
15539 PyObject
*arg3
= (PyObject
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "self",(char *) "_class", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 Py_INCREF(Py_None
); resultobj
= Py_None
;
15566 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self",(char *) "size", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 Py_INCREF(Py_None
); resultobj
= Py_None
;
15598 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15605 PyObject
* obj0
= 0 ;
15606 PyObject
* obj1
= 0 ;
15607 PyObject
* obj2
= 0 ;
15608 PyObject
* obj3
= 0 ;
15609 PyObject
* obj4
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15617 arg2
= (int) SWIG_AsInt(obj1
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15619 arg3
= (int) SWIG_AsInt(obj2
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15621 arg4
= (int) SWIG_AsInt(obj3
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15623 arg5
= (int) SWIG_AsInt(obj4
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15646 int arg6
= (int) wxSIZE_AUTO
;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 PyObject
* obj3
= 0 ;
15651 PyObject
* obj4
= 0 ;
15652 PyObject
* obj5
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 arg2
= (int) SWIG_AsInt(obj1
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 arg3
= (int) SWIG_AsInt(obj2
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15664 arg4
= (int) SWIG_AsInt(obj3
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15666 arg5
= (int) SWIG_AsInt(obj4
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 arg6
= (int) SWIG_AsInt(obj5
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 Py_INCREF(Py_None
); resultobj
= Py_None
;
15686 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 PyObject
* obj1
= 0 ;
15693 PyObject
* obj2
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "width",(char *) "height", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 arg2
= (int) SWIG_AsInt(obj1
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15703 arg3
= (int) SWIG_AsInt(obj2
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15719 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 PyObject
* obj2
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "x",(char *) "y", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg2
= (int) SWIG_AsInt(obj1
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15736 arg3
= (int) SWIG_AsInt(obj2
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 Py_INCREF(Py_None
); resultobj
= Py_None
;
15752 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15755 int *arg2
= (int *) 0 ;
15756 int *arg3
= (int *) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 Py_INCREF(Py_None
); resultobj
= Py_None
;
15778 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15779 resultobj
= t_output_helper(resultobj
,o
);
15782 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15783 resultobj
= t_output_helper(resultobj
,o
);
15791 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15794 int *arg2
= (int *) 0 ;
15795 int *arg3
= (int *) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 Py_INCREF(Py_None
); resultobj
= Py_None
;
15817 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15818 resultobj
= t_output_helper(resultobj
,o
);
15821 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15822 resultobj
= t_output_helper(resultobj
,o
);
15830 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15833 int *arg2
= (int *) 0 ;
15834 int *arg3
= (int *) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 Py_INCREF(Py_None
); resultobj
= Py_None
;
15856 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15857 resultobj
= t_output_helper(resultobj
,o
);
15860 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15861 resultobj
= t_output_helper(resultobj
,o
);
15869 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 wxSize
* resultptr
;
15890 resultptr
= new wxSize((wxSize
&) result
);
15891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15899 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 wxSize
* resultptr
;
15920 resultptr
= new wxSize((wxSize
&) result
);
15921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15929 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->base_InitDialog();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->base_TransferDataToWindow();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16010 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)(arg1
)->base_Validate();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16094 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 wxSize
* resultptr
;
16115 resultptr
= new wxSize((wxSize
&) result
);
16116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16124 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16127 wxWindow
*arg2
= (wxWindow
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "child", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 (arg1
)->base_AddChild(arg2
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 Py_INCREF(Py_None
); resultobj
= Py_None
;
16153 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16156 wxWindow
*arg2
= (wxWindow
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 PyObject
* obj1
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self",(char *) "child", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 (arg1
)->base_RemoveChild(arg2
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 Py_INCREF(Py_None
); resultobj
= Py_None
;
16182 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16210 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16213 wxColour
*arg2
= 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "c", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 Py_INCREF(Py_None
); resultobj
= Py_None
;
16242 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16245 wxVisualAttributes result
;
16246 PyObject
* obj0
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (arg1
)->base_GetDefaultAttributes();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 wxVisualAttributes
* resultptr
;
16263 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16272 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16275 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16277 return Py_BuildValue((char *)"");
16279 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxWindow
*arg1
= (wxWindow
*) 0 ;
16282 int arg2
= (int) (int)-1 ;
16283 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16284 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16285 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16286 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16287 long arg5
= (long) 0 ;
16288 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16289 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16293 bool temp6
= False
;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 PyObject
* obj3
= 0 ;
16298 PyObject
* obj4
= 0 ;
16299 PyObject
* obj5
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 arg2
= (int const) SWIG_AsInt(obj1
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16324 arg5
= (long) SWIG_AsLong(obj4
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 arg6
= wxString_in_helper(obj5
);
16330 if (arg6
== NULL
) SWIG_fail
;
16335 if (!wxPyCheckForApp()) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16357 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16360 char *kwnames
[] = {
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16366 if (!wxPyCheckForApp()) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (wxPyPanel
*)new wxPyPanel();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16380 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16383 PyObject
*arg2
= (PyObject
*) 0 ;
16384 PyObject
*arg3
= (PyObject
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 PyObject
* obj2
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "self",(char *) "_class", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 Py_INCREF(Py_None
); resultobj
= Py_None
;
16411 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 PyObject
* obj1
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "size", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16427 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 Py_INCREF(Py_None
); resultobj
= Py_None
;
16443 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 PyObject
* obj2
= 0 ;
16453 PyObject
* obj3
= 0 ;
16454 PyObject
* obj4
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 arg2
= (int) SWIG_AsInt(obj1
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16464 arg3
= (int) SWIG_AsInt(obj2
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16466 arg4
= (int) SWIG_AsInt(obj3
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16468 arg5
= (int) SWIG_AsInt(obj4
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16491 int arg6
= (int) wxSIZE_AUTO
;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 PyObject
* obj2
= 0 ;
16495 PyObject
* obj3
= 0 ;
16496 PyObject
* obj4
= 0 ;
16497 PyObject
* obj5
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= (int) SWIG_AsInt(obj1
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16507 arg3
= (int) SWIG_AsInt(obj2
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16509 arg4
= (int) SWIG_AsInt(obj3
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16511 arg5
= (int) SWIG_AsInt(obj4
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 arg6
= (int) SWIG_AsInt(obj5
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 Py_INCREF(Py_None
); resultobj
= Py_None
;
16531 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 PyObject
* obj2
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "width",(char *) "height", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (int) SWIG_AsInt(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16548 arg3
= (int) SWIG_AsInt(obj2
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 Py_INCREF(Py_None
); resultobj
= Py_None
;
16564 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 PyObject
* obj2
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "x",(char *) "y", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 arg2
= (int) SWIG_AsInt(obj1
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16581 arg3
= (int) SWIG_AsInt(obj2
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 Py_INCREF(Py_None
); resultobj
= Py_None
;
16597 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16600 int *arg2
= (int *) 0 ;
16601 int *arg3
= (int *) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 Py_INCREF(Py_None
); resultobj
= Py_None
;
16623 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16624 resultobj
= t_output_helper(resultobj
,o
);
16627 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16628 resultobj
= t_output_helper(resultobj
,o
);
16636 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16639 int *arg2
= (int *) 0 ;
16640 int *arg3
= (int *) 0 ;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16663 resultobj
= t_output_helper(resultobj
,o
);
16666 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16667 resultobj
= t_output_helper(resultobj
,o
);
16675 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16678 int *arg2
= (int *) 0 ;
16679 int *arg3
= (int *) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16702 resultobj
= t_output_helper(resultobj
,o
);
16705 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16706 resultobj
= t_output_helper(resultobj
,o
);
16714 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 wxSize
* resultptr
;
16735 resultptr
= new wxSize((wxSize
&) result
);
16736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16744 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 wxSize
* resultptr
;
16765 resultptr
= new wxSize((wxSize
&) result
);
16766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16774 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->base_InitDialog();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16799 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)(arg1
)->base_TransferDataToWindow();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16827 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (bool)(arg1
)->base_Validate();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16883 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16911 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16939 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 wxSize
* resultptr
;
16960 resultptr
= new wxSize((wxSize
&) result
);
16961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16969 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16972 wxWindow
*arg2
= (wxWindow
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "child", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 (arg1
)->base_AddChild(arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 Py_INCREF(Py_None
); resultobj
= Py_None
;
16998 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17001 wxWindow
*arg2
= (wxWindow
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self",(char *) "child", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->base_RemoveChild(arg2
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 Py_INCREF(Py_None
); resultobj
= Py_None
;
17027 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17055 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17058 wxColour
*arg2
= 0 ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "c", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17071 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 Py_INCREF(Py_None
); resultobj
= Py_None
;
17087 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
;
17089 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17090 wxVisualAttributes result
;
17091 PyObject
* obj0
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (arg1
)->base_GetDefaultAttributes();
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17107 wxVisualAttributes
* resultptr
;
17108 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17117 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17122 return Py_BuildValue((char *)"");
17124 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxWindow
*arg1
= (wxWindow
*) 0 ;
17127 int arg2
= (int) (int)-1 ;
17128 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17129 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17130 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17131 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17132 long arg5
= (long) 0 ;
17133 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17134 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17135 wxPyScrolledWindow
*result
;
17138 bool temp6
= False
;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 PyObject
* obj2
= 0 ;
17142 PyObject
* obj3
= 0 ;
17143 PyObject
* obj4
= 0 ;
17144 PyObject
* obj5
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 arg2
= (int const) SWIG_AsInt(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17169 arg5
= (long) SWIG_AsLong(obj4
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17174 arg6
= wxString_in_helper(obj5
);
17175 if (arg6
== NULL
) SWIG_fail
;
17180 if (!wxPyCheckForApp()) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17202 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxPyScrolledWindow
*result
;
17205 char *kwnames
[] = {
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17211 if (!wxPyCheckForApp()) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17225 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17228 PyObject
*arg2
= (PyObject
*) 0 ;
17229 PyObject
*arg3
= (PyObject
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 PyObject
* obj1
= 0 ;
17232 PyObject
* obj2
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self",(char *) "self",(char *) "_class", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 Py_INCREF(Py_None
); resultobj
= Py_None
;
17256 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "size", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 Py_INCREF(Py_None
); resultobj
= Py_None
;
17288 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 PyObject
* obj2
= 0 ;
17298 PyObject
* obj3
= 0 ;
17299 PyObject
* obj4
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 arg2
= (int) SWIG_AsInt(obj1
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17309 arg3
= (int) SWIG_AsInt(obj2
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17311 arg4
= (int) SWIG_AsInt(obj3
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17313 arg5
= (int) SWIG_AsInt(obj4
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17329 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17336 int arg6
= (int) wxSIZE_AUTO
;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 PyObject
* obj2
= 0 ;
17340 PyObject
* obj3
= 0 ;
17341 PyObject
* obj4
= 0 ;
17342 PyObject
* obj5
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17350 arg2
= (int) SWIG_AsInt(obj1
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17352 arg3
= (int) SWIG_AsInt(obj2
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17354 arg4
= (int) SWIG_AsInt(obj3
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17356 arg5
= (int) SWIG_AsInt(obj4
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 arg6
= (int) SWIG_AsInt(obj5
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 Py_INCREF(Py_None
); resultobj
= Py_None
;
17376 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "width",(char *) "height", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17391 arg2
= (int) SWIG_AsInt(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17393 arg3
= (int) SWIG_AsInt(obj2
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 Py_INCREF(Py_None
); resultobj
= Py_None
;
17409 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 PyObject
* obj1
= 0 ;
17416 PyObject
* obj2
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self",(char *) "x",(char *) "y", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17424 arg2
= (int) SWIG_AsInt(obj1
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17426 arg3
= (int) SWIG_AsInt(obj2
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17445 int *arg2
= (int *) 0 ;
17446 int *arg3
= (int *) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17469 resultobj
= t_output_helper(resultobj
,o
);
17472 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17473 resultobj
= t_output_helper(resultobj
,o
);
17481 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17484 int *arg2
= (int *) 0 ;
17485 int *arg3
= (int *) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17507 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17508 resultobj
= t_output_helper(resultobj
,o
);
17511 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17512 resultobj
= t_output_helper(resultobj
,o
);
17520 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17523 int *arg2
= (int *) 0 ;
17524 int *arg3
= (int *) 0 ;
17527 PyObject
* obj0
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 Py_INCREF(Py_None
); resultobj
= Py_None
;
17546 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17547 resultobj
= t_output_helper(resultobj
,o
);
17550 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17551 resultobj
= t_output_helper(resultobj
,o
);
17559 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 wxSize
* resultptr
;
17580 resultptr
= new wxSize((wxSize
&) result
);
17581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17589 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 wxSize
* resultptr
;
17610 resultptr
= new wxSize((wxSize
&) result
);
17611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17619 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->base_InitDialog();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->base_TransferDataToWindow();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17672 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17700 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (bool)(arg1
)->base_Validate();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17728 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17784 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 wxSize
* resultptr
;
17805 resultptr
= new wxSize((wxSize
&) result
);
17806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17814 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17817 wxWindow
*arg2
= (wxWindow
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "child", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 (arg1
)->base_AddChild(arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 Py_INCREF(Py_None
); resultobj
= Py_None
;
17843 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17846 wxWindow
*arg2
= (wxWindow
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "child", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->base_RemoveChild(arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17900 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17903 wxColour
*arg2
= 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "c", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 Py_INCREF(Py_None
); resultobj
= Py_None
;
17932 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17935 wxVisualAttributes result
;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (arg1
)->base_GetDefaultAttributes();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 wxVisualAttributes
* resultptr
;
17953 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17962 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17965 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17967 return Py_BuildValue((char *)"");
17969 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17970 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17975 static PyObject
*_wrap_PrintoutTitleStr_get() {
17980 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17982 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17989 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17990 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17995 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18000 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18002 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18009 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
18010 PyObject
*resultobj
;
18011 wxPrintData
*result
;
18013 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (wxPrintData
*)new wxPrintData();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18028 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18029 PyObject
*resultobj
;
18030 wxPrintData
*arg1
= 0 ;
18031 wxPrintData
*result
;
18032 PyObject
* obj0
= 0 ;
18034 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18038 if (arg1
== NULL
) {
18039 PyErr_SetString(PyExc_TypeError
,"null reference");
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18056 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18061 argc
= PyObject_Length(args
);
18062 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18063 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18066 return _wrap_new_PrintData__SWIG_0(self
,args
);
18072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18080 return _wrap_new_PrintData__SWIG_1(self
,args
);
18084 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18089 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 Py_INCREF(Py_None
); resultobj
= Py_None
;
18114 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (int)(arg1
)->GetNoCopies();
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_FromInt((int)result
);
18140 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (bool)(arg1
)->GetCollate();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18168 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (int)(arg1
)->GetOrientation();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_FromInt((int)result
);
18194 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (bool)(arg1
)->Ok();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18222 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18238 result
= (wxString
*) &_result_ref
;
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18248 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18257 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (bool)(arg1
)->GetColour();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18285 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (int)(arg1
)->GetDuplex();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_FromInt((int)result
);
18311 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (int)(arg1
)->GetPaperId();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= SWIG_FromInt((int)result
);
18337 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18353 result
= (wxSize
*) &_result_ref
;
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18366 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (int)(arg1
)->GetQuality();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_FromInt((int)result
);
18392 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self",(char *) "v", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18405 arg2
= (int) SWIG_AsInt(obj1
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 (arg1
)->SetNoCopies(arg2
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18421 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self",(char *) "flag", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18434 arg2
= (bool) SWIG_AsBool(obj1
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->SetCollate(arg2
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 Py_INCREF(Py_None
); resultobj
= Py_None
;
18450 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "orient", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 arg2
= (int) SWIG_AsInt(obj1
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 (arg1
)->SetOrientation(arg2
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 Py_INCREF(Py_None
); resultobj
= Py_None
;
18479 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18482 wxString
*arg2
= 0 ;
18483 bool temp2
= False
;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "name", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= wxString_in_helper(obj1
);
18495 if (arg2
== NULL
) SWIG_fail
;
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 Py_INCREF(Py_None
); resultobj
= Py_None
;
18520 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self",(char *) "colour", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 arg2
= (bool) SWIG_AsBool(obj1
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->SetColour(arg2
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 Py_INCREF(Py_None
); resultobj
= Py_None
;
18549 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18550 PyObject
*resultobj
;
18551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "duplex", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18562 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 Py_INCREF(Py_None
); resultobj
= Py_None
;
18578 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "sizeId", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18591 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 Py_INCREF(Py_None
); resultobj
= Py_None
;
18607 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "sz", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18639 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "quality", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= (int) SWIG_AsInt(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->SetQuality(arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18684 result
= (wxString
*) &_result_ref
;
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18703 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18719 result
= (wxString
*) &_result_ref
;
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18738 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18754 result
= (wxString
*) &_result_ref
;
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18764 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18773 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 wxString
const &_result_ref
= (arg1
)->GetFilename();
18789 result
= (wxString
*) &_result_ref
;
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18799 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18808 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18824 result
= (wxString
*) &_result_ref
;
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18834 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18843 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (double)(arg1
)->GetPrinterScaleX();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_FromDouble((double)result
);
18869 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (double)(arg1
)->GetPrinterScaleY();
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_FromDouble((double)result
);
18895 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (long)(arg1
)->GetPrinterTranslateX();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_FromLong((long)result
);
18921 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 char *kwnames
[] = {
18927 (char *) "self", NULL
18930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (long)(arg1
)->GetPrinterTranslateY();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_FromLong((long)result
);
18947 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (int)(arg1
)->GetPrintMode();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_FromInt((int)result
);
18973 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18976 wxString
*arg2
= 0 ;
18977 bool temp2
= False
;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "command", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 arg2
= wxString_in_helper(obj1
);
18989 if (arg2
== NULL
) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19017 wxString
*arg2
= 0 ;
19018 bool temp2
= False
;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "options", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 arg2
= wxString_in_helper(obj1
);
19030 if (arg2
== NULL
) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 Py_INCREF(Py_None
); resultobj
= Py_None
;
19055 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19058 wxString
*arg2
= 0 ;
19059 bool temp2
= False
;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self",(char *) "command", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 arg2
= wxString_in_helper(obj1
);
19071 if (arg2
== NULL
) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19099 wxString
*arg2
= 0 ;
19100 bool temp2
= False
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "filename", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 arg2
= wxString_in_helper(obj1
);
19112 if (arg2
== NULL
) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetFilename((wxString
const &)*arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19140 wxString
*arg2
= 0 ;
19141 bool temp2
= False
;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "path", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19152 arg2
= wxString_in_helper(obj1
);
19153 if (arg2
== NULL
) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "x", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 arg2
= (double) SWIG_AsDouble(obj1
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetPrinterScaleX(arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "y", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 arg2
= (double) SWIG_AsDouble(obj1
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetPrinterScaleY(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 PyObject
* obj2
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "x",(char *) "y", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 arg2
= (double) SWIG_AsDouble(obj1
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19253 arg3
= (double) SWIG_AsDouble(obj2
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "x", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 arg2
= (long) SWIG_AsLong(obj1
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->SetPrinterTranslateX(arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "y", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 arg2
= (long) SWIG_AsLong(obj1
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->SetPrinterTranslateY(arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 Py_INCREF(Py_None
); resultobj
= Py_None
;
19327 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 PyObject
* obj2
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self",(char *) "x",(char *) "y", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19342 arg2
= (long) SWIG_AsLong(obj1
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19344 arg3
= (long) SWIG_AsLong(obj2
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "printMode", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19392 wxOutputStream
*result
;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19415 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19418 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "outputstream", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->SetOutputStream(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19447 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19449 return Py_BuildValue((char *)"");
19451 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19452 PyObject
*resultobj
;
19453 wxPageSetupDialogData
*result
;
19455 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19470 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19471 PyObject
*resultobj
;
19472 wxPageSetupDialogData
*arg1
= 0 ;
19473 wxPageSetupDialogData
*result
;
19474 PyObject
* obj0
= 0 ;
19476 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19480 if (arg1
== NULL
) {
19481 PyErr_SetString(PyExc_TypeError
,"null reference");
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19498 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19503 argc
= PyObject_Length(args
);
19504 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19505 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19508 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19514 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19522 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19526 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19531 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 Py_INCREF(Py_None
); resultobj
= Py_None
;
19556 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "flag", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19569 arg2
= (bool) SWIG_AsBool(obj1
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 (arg1
)->EnableHelp(arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 Py_INCREF(Py_None
); resultobj
= Py_None
;
19585 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "flag", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 arg2
= (bool) SWIG_AsBool(obj1
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->EnableMargins(arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 Py_INCREF(Py_None
); resultobj
= Py_None
;
19614 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "flag", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 arg2
= (bool) SWIG_AsBool(obj1
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->EnableOrientation(arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 Py_INCREF(Py_None
); resultobj
= Py_None
;
19643 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self",(char *) "flag", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 arg2
= (bool) SWIG_AsBool(obj1
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->EnablePaper(arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 Py_INCREF(Py_None
); resultobj
= Py_None
;
19672 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self",(char *) "flag", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 arg2
= (bool) SWIG_AsBool(obj1
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->EnablePrinter(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (bool)(arg1
)->GetDefaultMinMargins();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19729 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)(arg1
)->GetEnableMargins();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)(arg1
)->GetEnableOrientation();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->GetEnablePaper();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)(arg1
)->GetEnablePrinter();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)(arg1
)->GetEnableHelp();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->GetDefaultInfo();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (arg1
)->GetMarginTopLeft();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 wxPoint
* resultptr
;
19918 resultptr
= new wxPoint((wxPoint
&) result
);
19919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19927 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19931 PyObject
* obj0
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (arg1
)->GetMarginBottomRight();
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19947 wxPoint
* resultptr
;
19948 resultptr
= new wxPoint((wxPoint
&) result
);
19949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19957 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (arg1
)->GetMinMarginTopLeft();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 wxPoint
* resultptr
;
19978 resultptr
= new wxPoint((wxPoint
&) result
);
19979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19987 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (arg1
)->GetMinMarginBottomRight();
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20007 wxPoint
* resultptr
;
20008 resultptr
= new wxPoint((wxPoint
&) result
);
20009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20017 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (int)(arg1
)->GetPaperId();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_FromInt((int)result
);
20043 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (arg1
)->GetPaperSize();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20063 wxSize
* resultptr
;
20064 resultptr
= new wxSize((wxSize
&) result
);
20065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20073 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20076 wxPrintData
*result
;
20077 PyObject
* obj0
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20089 result
= (wxPrintData
*) &_result_ref
;
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20102 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (bool)(arg1
)->Ok();
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20130 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 PyObject
* obj1
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self",(char *) "flag", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 arg2
= (bool) SWIG_AsBool(obj1
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 (arg1
)->SetDefaultInfo(arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 Py_INCREF(Py_None
); resultobj
= Py_None
;
20159 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20160 PyObject
*resultobj
;
20161 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self",(char *) "flag", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 arg2
= (bool) SWIG_AsBool(obj1
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 (arg1
)->SetDefaultMinMargins(arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 Py_INCREF(Py_None
); resultobj
= Py_None
;
20188 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20191 wxPoint
*arg2
= 0 ;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "pt", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 Py_INCREF(Py_None
); resultobj
= Py_None
;
20220 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20223 wxPoint
*arg2
= 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self",(char *) "pt", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20255 wxPoint
*arg2
= 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "pt", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 Py_INCREF(Py_None
); resultobj
= Py_None
;
20284 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20287 wxPoint
*arg2
= 0 ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "pt", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self",(char *) "id", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 Py_INCREF(Py_None
); resultobj
= Py_None
;
20345 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "size", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20380 wxPrintData
*arg2
= 0 ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "printData", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20393 if (arg2
== NULL
) {
20394 PyErr_SetString(PyExc_TypeError
,"null reference");
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20414 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20416 return Py_BuildValue((char *)"");
20418 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxWindow
*arg1
= (wxWindow
*) 0 ;
20421 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20422 wxPageSetupDialog
*result
;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "parent",(char *) "data", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20437 if (!wxPyCheckForApp()) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20451 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20454 wxPageSetupDialogData
*result
;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20467 result
= (wxPageSetupDialogData
*) &_result_ref
;
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20480 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (int)(arg1
)->ShowModal();
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_FromInt((int)result
);
20506 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20509 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20511 return Py_BuildValue((char *)"");
20513 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20514 PyObject
*resultobj
;
20515 wxPrintDialogData
*result
;
20517 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20532 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20533 PyObject
*resultobj
;
20534 wxPrintData
*arg1
= 0 ;
20535 wxPrintDialogData
*result
;
20536 PyObject
* obj0
= 0 ;
20538 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20542 if (arg1
== NULL
) {
20543 PyErr_SetString(PyExc_TypeError
,"null reference");
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20560 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20565 argc
= PyObject_Length(args
);
20566 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20567 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20570 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20576 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20584 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20588 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20593 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 Py_INCREF(Py_None
); resultobj
= Py_None
;
20618 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_FromInt((int)result
);
20644 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_FromInt((int)result
);
20670 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_FromInt((int)result
);
20696 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_FromInt((int)result
);
20722 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_FromInt((int)result
);
20748 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20776 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20804 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20832 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20860 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20888 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self",(char *) "v", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 arg2
= (int) SWIG_AsInt(obj1
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->SetFromPage(arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 Py_INCREF(Py_None
); resultobj
= Py_None
;
20917 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "v", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20930 arg2
= (int) SWIG_AsInt(obj1
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 (arg1
)->SetToPage(arg2
);
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 Py_INCREF(Py_None
); resultobj
= Py_None
;
20946 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self",(char *) "v", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 arg2
= (int) SWIG_AsInt(obj1
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 (arg1
)->SetMinPage(arg2
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 Py_INCREF(Py_None
); resultobj
= Py_None
;
20975 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "v", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20988 arg2
= (int) SWIG_AsInt(obj1
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 (arg1
)->SetMaxPage(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 Py_INCREF(Py_None
); resultobj
= Py_None
;
21004 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char *kwnames
[] = {
21011 (char *) "self",(char *) "v", NULL
21014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21017 arg2
= (int) SWIG_AsInt(obj1
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 (arg1
)->SetNoCopies(arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 Py_INCREF(Py_None
); resultobj
= Py_None
;
21033 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "flag", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21046 arg2
= (bool) SWIG_AsBool(obj1
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 (arg1
)->SetAllPages(arg2
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self",(char *) "flag", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 arg2
= (bool) SWIG_AsBool(obj1
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 (arg1
)->SetSelection(arg2
);
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 Py_INCREF(Py_None
); resultobj
= Py_None
;
21091 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
;
21093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "flag", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21104 arg2
= (bool) SWIG_AsBool(obj1
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 (arg1
)->SetCollate(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self",(char *) "flag", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 arg2
= (bool) SWIG_AsBool(obj1
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 (arg1
)->SetPrintToFile(arg2
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 Py_INCREF(Py_None
); resultobj
= Py_None
;
21149 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self",(char *) "flag", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21162 arg2
= (bool) SWIG_AsBool(obj1
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 (arg1
)->SetSetupDialog(arg2
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self",(char *) "flag", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21191 arg2
= (bool) SWIG_AsBool(obj1
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 (arg1
)->EnablePrintToFile(arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 Py_INCREF(Py_None
); resultobj
= Py_None
;
21207 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "flag", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 arg2
= (bool) SWIG_AsBool(obj1
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 (arg1
)->EnableSelection(arg2
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 Py_INCREF(Py_None
); resultobj
= Py_None
;
21236 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self",(char *) "flag", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 arg2
= (bool) SWIG_AsBool(obj1
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->EnablePageNumbers(arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "flag", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 arg2
= (bool) SWIG_AsBool(obj1
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->EnableHelp(arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21322 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21350 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21378 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21406 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21437 wxPrintData
*result
;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21450 result
= (wxPrintData
*) &_result_ref
;
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21463 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21466 wxPrintData
*arg2
= 0 ;
21467 PyObject
* obj0
= 0 ;
21468 PyObject
* obj1
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "printData", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21479 if (arg2
== NULL
) {
21480 PyErr_SetString(PyExc_TypeError
,"null reference");
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 Py_INCREF(Py_None
); resultobj
= Py_None
;
21497 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21500 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21502 return Py_BuildValue((char *)"");
21504 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxWindow
*arg1
= (wxWindow
*) 0 ;
21507 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21508 wxPrintDialog
*result
;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "parent",(char *) "data", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21523 if (!wxPyCheckForApp()) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21537 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21540 wxPrintDialogData
*result
;
21541 PyObject
* obj0
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21553 result
= (wxPrintDialogData
*) &_result_ref
;
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21566 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (wxDC
*)(arg1
)->GetPrintDC();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= wxPyMake_wxObject(result
, 1);
21594 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)(arg1
)->ShowModal();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_FromInt((int)result
);
21620 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21623 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21625 return Py_BuildValue((char *)"");
21627 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "data", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 if (!wxPyCheckForApp()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (wxPrinter
*)new wxPrinter(arg1
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21656 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21659 PyObject
* obj0
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "self", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 Py_INCREF(Py_None
); resultobj
= Py_None
;
21681 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21684 wxWindow
*arg2
= (wxWindow
*) 0 ;
21685 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self",(char *) "parent",(char *) "printout", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 Py_INCREF(Py_None
); resultobj
= Py_None
;
21714 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21717 wxPrintDialogData
*result
;
21718 PyObject
* obj0
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21730 result
= (wxPrintDialogData
*) &_result_ref
;
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21743 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21746 wxWindow
*arg2
= (wxWindow
*) 0 ;
21747 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21748 int arg4
= (int) True
;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 PyObject
* obj3
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 arg4
= (int) SWIG_AsInt(obj3
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21788 wxWindow
*arg2
= (wxWindow
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "parent", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= wxPyMake_wxObject(result
, 0);
21817 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21820 wxWindow
*arg2
= (wxWindow
*) 0 ;
21821 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21822 wxString
*arg4
= 0 ;
21823 bool temp4
= False
;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 PyObject
* obj3
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 arg4
= wxString_in_helper(obj3
);
21841 if (arg4
== NULL
) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21869 wxWindow
*arg2
= (wxWindow
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "parent", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->Setup(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 result
= (bool)(arg1
)->GetAbort();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21926 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21929 char *kwnames
[] = {
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (int)wxPrinter::GetLastError();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_FromInt((int)result
);
21948 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21951 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21953 return Py_BuildValue((char *)"");
21955 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21958 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21959 wxPyPrintout
*result
;
21960 bool temp1
= False
;
21961 PyObject
* obj0
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "title", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21969 arg1
= wxString_in_helper(obj0
);
21970 if (arg1
== NULL
) SWIG_fail
;
21975 if (!wxPyCheckForApp()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= wxPyMake_wxObject(result
, 1);
21999 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22002 PyObject
*arg2
= (PyObject
*) 0 ;
22003 PyObject
*arg3
= (PyObject
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 PyObject
* obj2
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "self",(char *) "_class", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 Py_INCREF(Py_None
); resultobj
= Py_None
;
22030 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22062 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (wxDC
*)(arg1
)->GetDC();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= wxPyMake_wxObject(result
, 0);
22090 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22093 wxDC
*arg2
= (wxDC
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self",(char *) "dc", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->SetDC(arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 Py_INCREF(Py_None
); resultobj
= Py_None
;
22119 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "w",(char *) "h", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 arg2
= (int) SWIG_AsInt(obj1
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22136 arg3
= (int) SWIG_AsInt(obj2
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 Py_INCREF(Py_None
); resultobj
= Py_None
;
22152 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22155 int *arg2
= (int *) 0 ;
22156 int *arg3
= (int *) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22179 resultobj
= t_output_helper(resultobj
,o
);
22182 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22183 resultobj
= t_output_helper(resultobj
,o
);
22191 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 PyObject
* obj2
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self",(char *) "w",(char *) "h", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 arg2
= (int) SWIG_AsInt(obj1
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22208 arg3
= (int) SWIG_AsInt(obj2
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22224 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22227 int *arg2
= (int *) 0 ;
22228 int *arg3
= (int *) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22250 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22251 resultobj
= t_output_helper(resultobj
,o
);
22254 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22255 resultobj
= t_output_helper(resultobj
,o
);
22263 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 PyObject
* obj2
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "x",(char *) "y", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 arg2
= (int) SWIG_AsInt(obj1
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22280 arg3
= (int) SWIG_AsInt(obj2
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 (arg1
)->SetPPIScreen(arg2
,arg3
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 Py_INCREF(Py_None
); resultobj
= Py_None
;
22296 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22299 int *arg2
= (int *) 0 ;
22300 int *arg3
= (int *) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->GetPPIScreen(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22323 resultobj
= t_output_helper(resultobj
,o
);
22326 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22327 resultobj
= t_output_helper(resultobj
,o
);
22335 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 PyObject
* obj2
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "x",(char *) "y", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 arg2
= (int) SWIG_AsInt(obj1
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22352 arg3
= (int) SWIG_AsInt(obj2
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22371 int *arg2
= (int *) 0 ;
22372 int *arg3
= (int *) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22395 resultobj
= t_output_helper(resultobj
,o
);
22398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22399 resultobj
= t_output_helper(resultobj
,o
);
22407 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (bool)(arg1
)->IsPreview();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22435 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self",(char *) "p", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 arg2
= (bool) SWIG_AsBool(obj1
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->SetIsPreview(arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 Py_INCREF(Py_None
); resultobj
= Py_None
;
22464 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 PyObject
* obj2
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 arg2
= (int) SWIG_AsInt(obj1
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22482 arg3
= (int) SWIG_AsInt(obj2
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22500 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->base_OnEndDocument();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->base_OnBeginPrinting();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 Py_INCREF(Py_None
); resultobj
= Py_None
;
22550 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 (arg1
)->base_OnEndPrinting();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 Py_INCREF(Py_None
); resultobj
= Py_None
;
22575 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->base_OnPreparePrinting();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 Py_INCREF(Py_None
); resultobj
= Py_None
;
22600 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self",(char *) "page", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 arg2
= (int) SWIG_AsInt(obj1
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)(arg1
)->base_HasPage(arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22632 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22635 int *arg2
= (int *) 0 ;
22636 int *arg3
= (int *) 0 ;
22637 int *arg4
= (int *) 0 ;
22638 int *arg5
= (int *) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22665 resultobj
= t_output_helper(resultobj
,o
);
22668 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22669 resultobj
= t_output_helper(resultobj
,o
);
22672 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22673 resultobj
= t_output_helper(resultobj
,o
);
22676 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22677 resultobj
= t_output_helper(resultobj
,o
);
22685 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22688 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22690 return Py_BuildValue((char *)"");
22692 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22695 wxWindow
*arg2
= (wxWindow
*) 0 ;
22696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22700 long arg5
= (long) 0 ;
22701 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22702 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22703 wxPreviewCanvas
*result
;
22706 bool temp6
= False
;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 PyObject
* obj2
= 0 ;
22710 PyObject
* obj3
= 0 ;
22711 PyObject
* obj4
= 0 ;
22712 PyObject
* obj5
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22731 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22735 arg5
= (long) SWIG_AsLong(obj4
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22740 arg6
= wxString_in_helper(obj5
);
22741 if (arg6
== NULL
) SWIG_fail
;
22746 if (!wxPyCheckForApp()) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22768 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22773 return Py_BuildValue((char *)"");
22775 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22778 wxFrame
*arg2
= (wxFrame
*) 0 ;
22779 wxString
*arg3
= 0 ;
22780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22784 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22785 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22786 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22787 wxPreviewFrame
*result
;
22788 bool temp3
= False
;
22791 bool temp7
= False
;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 PyObject
* obj2
= 0 ;
22795 PyObject
* obj3
= 0 ;
22796 PyObject
* obj4
= 0 ;
22797 PyObject
* obj5
= 0 ;
22798 PyObject
* obj6
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 arg3
= wxString_in_helper(obj2
);
22810 if (arg3
== NULL
) SWIG_fail
;
22816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22826 arg6
= (long) SWIG_AsLong(obj5
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22831 arg7
= wxString_in_helper(obj6
);
22832 if (arg7
== NULL
) SWIG_fail
;
22837 if (!wxPyCheckForApp()) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22867 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->Initialize();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 Py_INCREF(Py_None
); resultobj
= Py_None
;
22892 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->CreateControlBar();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 Py_INCREF(Py_None
); resultobj
= Py_None
;
22917 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 (arg1
)->CreateCanvas();
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 Py_INCREF(Py_None
); resultobj
= Py_None
;
22942 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22945 wxPreviewControlBar
*result
;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22968 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22971 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22973 return Py_BuildValue((char *)"");
22975 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22979 wxWindow
*arg3
= (wxWindow
*) 0 ;
22980 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22981 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22982 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22983 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22984 long arg6
= (long) wxTAB_TRAVERSAL
;
22985 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22987 wxPreviewControlBar
*result
;
22990 bool temp7
= False
;
22991 PyObject
* obj0
= 0 ;
22992 PyObject
* obj1
= 0 ;
22993 PyObject
* obj2
= 0 ;
22994 PyObject
* obj3
= 0 ;
22995 PyObject
* obj4
= 0 ;
22996 PyObject
* obj5
= 0 ;
22997 PyObject
* obj6
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23005 arg2
= (long) SWIG_AsLong(obj1
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23022 arg6
= (long) SWIG_AsLong(obj5
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23027 arg7
= wxString_in_helper(obj6
);
23028 if (arg7
== NULL
) SWIG_fail
;
23033 if (!wxPyCheckForApp()) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23055 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (int)(arg1
)->GetZoomControl();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_FromInt((int)result
);
23081 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "zoom", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 arg2
= (int) SWIG_AsInt(obj1
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->SetZoomControl(arg2
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23113 wxPrintPreview
*result
;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23136 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 Py_INCREF(Py_None
); resultobj
= Py_None
;
23161 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->OnPrevious();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 Py_INCREF(Py_None
); resultobj
= Py_None
;
23211 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 Py_INCREF(Py_None
); resultobj
= Py_None
;
23261 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23264 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23266 return Py_BuildValue((char *)"");
23268 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23269 PyObject
*resultobj
;
23270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23271 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23272 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23273 wxPrintPreview
*result
;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 PyObject
* obj2
= 0 ;
23278 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 if (!wxPyCheckForApp()) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23302 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23303 PyObject
*resultobj
;
23304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23305 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23306 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23307 wxPrintPreview
*result
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23312 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 if (!wxPyCheckForApp()) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23334 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23339 argc
= PyObject_Length(args
);
23340 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23341 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23343 if ((argc
>= 2) && (argc
<= 3)) {
23347 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23357 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23366 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23370 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23378 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23397 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23407 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23415 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23421 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23426 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self",(char *) "pageNum", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 arg2
= (int) SWIG_AsInt(obj1
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23458 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (int)(arg1
)->GetCurrentPage();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_FromInt((int)result
);
23484 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23487 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "printout", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 (arg1
)->SetPrintout(arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 Py_INCREF(Py_None
); resultobj
= Py_None
;
23513 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23516 wxPyPrintout
*result
;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= wxPyMake_wxObject(result
, 0);
23541 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23544 wxPyPrintout
*result
;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= wxPyMake_wxObject(result
, 0);
23569 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23572 wxFrame
*arg2
= (wxFrame
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "frame", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 (arg1
)->SetFrame(arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 Py_INCREF(Py_None
); resultobj
= Py_None
;
23598 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23601 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self",(char *) "canvas", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 (arg1
)->SetCanvas(arg2
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 Py_INCREF(Py_None
); resultobj
= Py_None
;
23627 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (wxFrame
*)(arg1
)->GetFrame();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= wxPyMake_wxObject(result
, 0);
23655 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23658 wxPreviewCanvas
*result
;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23681 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23684 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 PyObject
* obj2
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23702 if (arg3
== NULL
) {
23703 PyErr_SetString(PyExc_TypeError
,"null reference");
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23722 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23725 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23743 if (arg3
== NULL
) {
23744 PyErr_SetString(PyExc_TypeError
,"null reference");
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23763 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self",(char *) "pageNum", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 arg2
= (int) SWIG_AsInt(obj1
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (bool)(arg1
)->RenderPage(arg2
);
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23795 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23798 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "self",(char *) "canvas", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->AdjustScrollbars(arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 Py_INCREF(Py_None
); resultobj
= Py_None
;
23824 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23827 wxPrintDialogData
*result
;
23828 PyObject
* obj0
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23840 result
= (wxPrintDialogData
*) &_result_ref
;
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23853 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self",(char *) "percent", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23866 arg2
= (int) SWIG_AsInt(obj1
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->SetZoom(arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 Py_INCREF(Py_None
); resultobj
= Py_None
;
23882 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23886 PyObject
* obj0
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (int)(arg1
)->GetZoom();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= SWIG_FromInt((int)result
);
23908 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (int)(arg1
)->GetMaxPage();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_FromInt((int)result
);
23934 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (int)(arg1
)->GetMinPage();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_FromInt((int)result
);
23960 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (bool)(arg1
)->Ok();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23988 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "ok", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 arg2
= (bool) SWIG_AsBool(obj1
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 (arg1
)->SetOk(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 Py_INCREF(Py_None
); resultobj
= Py_None
;
24017 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char *kwnames
[] = {
24025 (char *) "self",(char *) "interactive", NULL
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 arg2
= (bool) SWIG_AsBool(obj1
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (bool)(arg1
)->Print(arg2
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24049 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->DetermineScaling();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 Py_INCREF(Py_None
); resultobj
= Py_None
;
24074 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24077 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24079 return Py_BuildValue((char *)"");
24081 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24082 PyObject
*resultobj
;
24083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24084 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24085 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24086 wxPyPrintPreview
*result
;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 PyObject
* obj2
= 0 ;
24091 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24101 if (!wxPyCheckForApp()) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24115 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24116 PyObject
*resultobj
;
24117 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24118 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24119 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24120 wxPyPrintPreview
*result
;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 PyObject
* obj2
= 0 ;
24125 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 if (!wxPyCheckForApp()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24147 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24152 argc
= PyObject_Length(args
);
24153 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24154 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24156 if ((argc
>= 2) && (argc
<= 3)) {
24160 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24170 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24179 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24183 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24191 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24200 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24210 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24220 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24228 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24234 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24239 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24242 PyObject
*arg2
= (PyObject
*) 0 ;
24243 PyObject
*arg3
= (PyObject
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 PyObject
* obj2
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self",(char *) "self",(char *) "_class", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 Py_INCREF(Py_None
); resultobj
= Py_None
;
24270 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self",(char *) "pageNum", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 arg2
= (int) SWIG_AsInt(obj1
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24305 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 PyObject
* obj2
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24323 if (arg3
== NULL
) {
24324 PyErr_SetString(PyExc_TypeError
,"null reference");
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24346 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 PyObject
* obj2
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24361 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24364 if (arg3
== NULL
) {
24365 PyErr_SetString(PyExc_TypeError
,"null reference");
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24384 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "pageNum", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 arg2
= (int) SWIG_AsInt(obj1
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24416 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "percent", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 arg2
= (int) SWIG_AsInt(obj1
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->base_SetZoom(arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "interactive", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 arg2
= (bool) SWIG_AsBool(obj1
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)(arg1
)->base_Print(arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->base_DetermineScaling();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24507 return Py_BuildValue((char *)"");
24509 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24512 wxFrame
*arg2
= (wxFrame
*) 0 ;
24513 wxString
*arg3
= 0 ;
24514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24518 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24519 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24521 wxPyPreviewFrame
*result
;
24522 bool temp3
= False
;
24525 bool temp7
= False
;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 PyObject
* obj3
= 0 ;
24530 PyObject
* obj4
= 0 ;
24531 PyObject
* obj5
= 0 ;
24532 PyObject
* obj6
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24543 arg3
= wxString_in_helper(obj2
);
24544 if (arg3
== NULL
) SWIG_fail
;
24550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24560 arg6
= (long) SWIG_AsLong(obj5
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24565 arg7
= wxString_in_helper(obj6
);
24566 if (arg7
== NULL
) SWIG_fail
;
24571 if (!wxPyCheckForApp()) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24601 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24604 PyObject
*arg2
= (PyObject
*) 0 ;
24605 PyObject
*arg3
= (PyObject
*) 0 ;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 PyObject
* obj2
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self",(char *) "self",(char *) "_class", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 Py_INCREF(Py_None
); resultobj
= Py_None
;
24632 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24635 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self",(char *) "canvas", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->SetPreviewCanvas(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24664 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "bar", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->SetControlBar(arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 Py_INCREF(Py_None
); resultobj
= Py_None
;
24690 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->base_Initialize();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 Py_INCREF(Py_None
); resultobj
= Py_None
;
24715 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 (arg1
)->base_CreateCanvas();
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 char *kwnames
[] = {
24745 (char *) "self", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->base_CreateControlBar();
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 Py_INCREF(Py_None
); resultobj
= Py_None
;
24765 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24768 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24770 return Py_BuildValue((char *)"");
24772 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24776 wxWindow
*arg3
= (wxWindow
*) 0 ;
24777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24781 long arg6
= (long) 0 ;
24782 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24784 wxPyPreviewControlBar
*result
;
24787 bool temp7
= False
;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 PyObject
* obj2
= 0 ;
24791 PyObject
* obj3
= 0 ;
24792 PyObject
* obj4
= 0 ;
24793 PyObject
* obj5
= 0 ;
24794 PyObject
* obj6
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 arg2
= (long) SWIG_AsLong(obj1
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24804 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24819 arg6
= (long) SWIG_AsLong(obj5
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24824 arg7
= wxString_in_helper(obj6
);
24825 if (arg7
== NULL
) SWIG_fail
;
24830 if (!wxPyCheckForApp()) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24852 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24855 PyObject
*arg2
= (PyObject
*) 0 ;
24856 PyObject
*arg3
= (PyObject
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 PyObject
* obj2
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self",(char *) "self",(char *) "_class", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24883 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24886 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "preview", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 (arg1
)->SetPrintPreview(arg2
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 Py_INCREF(Py_None
); resultobj
= Py_None
;
24912 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->base_CreateButtons();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "self",(char *) "zoom", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 arg2
= (int) SWIG_AsInt(obj1
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 (arg1
)->base_SetZoomControl(arg2
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 Py_INCREF(Py_None
); resultobj
= Py_None
;
24966 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24969 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24971 return Py_BuildValue((char *)"");
24973 static PyMethodDef SwigMethods
[] = {
24974 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24980 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24995 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24996 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
25002 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
25016 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25040 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25052 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25056 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25060 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25065 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25081 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25109 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25116 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25139 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25147 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25159 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25165 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25174 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25180 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25185 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25191 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25195 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25213 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25239 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25247 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25256 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25258 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25267 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25270 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25277 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25295 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25299 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25304 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25308 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25324 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25327 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25329 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25333 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25342 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25351 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25357 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25369 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25376 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25380 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25406 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25432 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25458 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25459 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25504 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25505 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25536 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25540 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25541 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25562 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25570 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25574 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25579 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25581 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25585 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25586 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25587 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25590 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25593 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25603 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25604 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25608 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25613 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25615 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25621 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25627 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25628 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25631 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25632 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25637 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25645 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25651 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25652 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25653 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25654 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25655 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25656 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25657 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25658 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25659 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25660 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25661 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25662 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25663 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25664 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25665 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25666 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25667 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25668 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25669 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25670 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25671 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25672 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25673 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25674 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25675 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25676 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25677 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25678 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25683 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25685 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25686 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25688 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25691 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25692 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25694 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25695 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25697 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25698 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25700 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25701 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25703 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25704 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25706 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25707 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25709 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25710 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25712 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25715 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25718 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25719 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25721 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25724 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25725 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25727 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25728 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25730 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25733 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25734 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25736 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25737 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25739 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25740 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25742 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25743 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25745 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25746 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25748 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25749 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25751 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25752 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25754 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25755 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25757 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25760 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25761 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25763 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25764 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25766 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25767 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25769 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25770 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25772 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25773 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25775 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25776 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25778 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25781 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25782 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25784 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25785 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25787 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25788 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25790 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25791 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25793 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25794 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25796 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25799 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25800 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25802 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25803 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25805 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25806 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25808 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25809 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25811 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25812 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25814 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25817 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25820 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25823 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25824 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25826 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25827 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25829 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25830 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25832 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25833 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25835 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25838 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25841 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25844 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25847 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25850 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25853 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25856 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25857 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25859 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25860 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25862 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25865 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25868 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25871 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25872 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25874 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25877 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25878 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25880 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25881 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25883 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25884 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25886 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25887 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25889 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25892 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25893 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25895 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25896 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25898 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25901 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25902 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25904 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25907 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25910 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25913 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25914 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25916 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25919 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25920 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25922 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25925 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25928 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25931 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25934 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25937 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25938 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25940 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25943 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25946 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25949 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25952 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25955 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25958 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25961 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25964 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25965 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25967 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25968 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25970 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25971 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25973 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25974 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25976 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25977 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25979 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25980 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25982 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25983 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25985 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25986 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25988 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25991 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25994 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25997 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26000 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26003 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26015 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26018 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) ((wxSizer
*) x
));
26021 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26024 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26027 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26030 static void *_p_wxEventTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) ((wxEvent
*) x
));
26033 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) ((wxFontData
*) x
));
26036 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26039 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26042 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26045 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26048 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26051 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26054 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26057 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26058 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26060 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26061 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26063 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26064 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26066 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26067 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26069 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26070 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26072 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26073 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26075 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26078 static void *_p_wxControlTo_p_wxObject(void *x
) {
26079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26081 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26082 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26084 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26087 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26088 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26090 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26091 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26093 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26094 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26096 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26099 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26100 return (void *)((wxObject
*) ((wxColourData
*) x
));
26102 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26103 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26105 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26108 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26111 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26114 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26117 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26120 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26123 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26126 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26129 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26132 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26135 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26136 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26138 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26139 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26141 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26142 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26144 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26145 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26147 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26150 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26151 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26153 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26154 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26156 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26157 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26159 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26160 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26162 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26163 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26165 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26166 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26168 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26169 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26171 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26174 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26177 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26180 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26183 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26186 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26187 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26189 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26190 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26192 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26193 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26195 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26198 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26199 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26201 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26204 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26205 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26207 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26208 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26210 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26213 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26216 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26217 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26219 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26222 static void *_p_wxImageTo_p_wxObject(void *x
) {
26223 return (void *)((wxObject
*) ((wxImage
*) x
));
26225 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26228 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26229 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26231 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26232 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26234 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26235 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26237 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26240 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26243 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26246 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26247 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26249 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26250 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26252 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26253 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26255 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26258 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26261 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26264 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26267 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26270 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26273 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26276 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26279 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26282 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26285 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26288 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26291 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26294 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26297 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26300 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26301 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26303 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26304 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26306 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26309 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26312 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26315 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26318 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26321 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26324 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26327 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26328 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26330 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26333 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26334 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26336 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26339 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26340 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26342 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26343 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26345 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26346 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26348 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26351 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26352 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26354 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26357 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26360 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26361 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26363 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26364 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26366 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26369 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26372 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26373 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26375 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26376 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26378 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26381 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26382 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26384 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26385 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26387 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26388 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26390 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26391 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26393 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26394 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26396 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26397 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26399 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26400 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26402 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26403 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26405 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26406 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26408 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26409 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26411 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26412 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26414 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26415 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26417 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26418 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26420 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26421 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26423 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26424 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26426 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26427 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26429 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26430 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26432 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26433 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26435 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26436 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26438 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26439 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26441 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26442 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26444 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26445 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26447 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26448 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26450 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26451 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26453 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26454 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26456 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26457 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26459 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26460 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26462 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26463 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26465 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26466 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26468 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26469 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26471 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26472 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26474 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26475 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26477 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26478 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26480 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26481 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26483 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26484 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26486 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26487 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26489 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26490 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26492 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26495 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26496 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26498 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26499 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26501 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26502 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26504 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26505 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26507 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26508 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26510 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26511 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26513 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26514 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26516 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26517 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26519 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26520 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26522 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26523 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26525 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26526 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26528 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26529 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26531 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26532 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26534 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26535 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26537 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26538 return (void *)((wxWindow
*) ((wxControl
*) x
));
26540 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26541 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26543 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26544 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26546 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26547 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26549 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26550 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26552 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26553 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26555 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26556 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26558 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26559 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26561 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26562 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26564 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26565 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26567 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26568 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26570 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26571 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26573 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26574 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26576 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26579 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26580 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26582 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26583 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26585 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26586 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26588 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26589 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26591 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26592 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26594 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26595 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26597 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26598 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26600 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26601 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26603 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26604 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26606 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26607 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26609 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26610 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26612 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26613 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26615 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26616 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26618 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26619 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26621 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26622 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26624 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26625 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26627 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26628 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26630 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26631 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26633 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26634 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26636 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26637 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26639 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26640 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26642 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26643 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26645 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26646 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26648 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26649 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26651 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26652 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26654 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26655 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26657 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26658 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26660 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26661 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26663 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26664 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26666 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26667 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26669 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26670 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26672 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26673 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26675 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26676 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26678 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26679 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26681 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26682 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26684 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26685 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26687 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26688 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26690 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26691 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26693 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26694 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26696 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26697 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 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}};
26721 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}};
26722 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}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 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}};
26728 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}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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}};
26743 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}};
26744 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}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
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_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26765 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}};
26766 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}};
26767 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}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26779 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}};
26780 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}};
26781 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}};
26782 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}};
26783 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}};
26784 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}};
26786 static swig_type_info
*swig_types_initial
[] = {
26787 _swigt__p_wxQueryLayoutInfoEvent
,
26788 _swigt__p_wxPreviewFrame
,
26789 _swigt__p_wxPyPreviewFrame
,
26790 _swigt__p_wxPyPanel
,
26792 _swigt__p_wxPrintData
,
26793 _swigt__p_wxFontData
,
26795 _swigt__p_wxTaskBarIcon
,
26796 _swigt__p_wxIconBundle
,
26797 _swigt__p_wxLayoutAlgorithm
,
26798 _swigt__p_wxFindDialogEvent
,
26799 _swigt__p_wxPreviewCanvas
,
26801 _swigt__p_wxSplitterEvent
,
26802 _swigt__p_wxRegion
,
26803 _swigt__p_wxFindReplaceData
,
26808 _swigt__p_wxVisualAttributes
,
26809 _swigt__p_wxMDIChildFrame
,
26810 _swigt__p_wxColourData
,
26811 _swigt__p_wxNotifyEvent
,
26812 _swigt__p_wxPyWindow
,
26813 _swigt__p_wxSplashScreen
,
26814 _swigt__p_wxFindReplaceDialog
,
26815 _swigt__p_wxProgressDialog
,
26816 _swigt__p_wxMessageDialog
,
26817 _swigt__p_wxTextEntryDialog
,
26818 _swigt__p_wxSingleChoiceDialog
,
26819 _swigt__p_wxMultiChoiceDialog
,
26820 _swigt__p_wxFileDialog
,
26821 _swigt__p_wxPrinter
,
26822 _swigt__p_wxArrayInt
,
26823 _swigt__p_wxEvtHandler
,
26824 _swigt__p_wxCalculateLayoutEvent
,
26825 _swigt__p_wxPyHtmlListBox
,
26826 _swigt__p_wxPyVListBox
,
26829 _swigt__p_wxMiniFrame
,
26831 _swigt__p_wxPyPrintout
,
26832 _swigt__p_wxTaskBarIconEvent
,
26833 _swigt__p_wxScrollWinEvent
,
26834 _swigt__p_wxStatusBar
,
26835 _swigt__p_wxMDIParentFrame
,
26837 _swigt__p_wxObject
,
26838 _swigt__p_wxOutputStream
,
26839 _swigt__p_wxPyScrolledWindow
,
26840 _swigt__p_wxMDIClientWindow
,
26841 _swigt__p_wxTipWindow
,
26842 _swigt__p_wxSashLayoutWindow
,
26843 _swigt__p_wxSplitterWindow
,
26844 _swigt__p_wxPyVScrolledWindow
,
26845 _swigt__p_wxPyPopupTransientWindow
,
26846 _swigt__p_wxPopupWindow
,
26847 _swigt__p_wxSashWindow
,
26848 _swigt__p_wxTopLevelWindow
,
26849 _swigt__p_wxWindow
,
26850 _swigt__p_wxScrolledWindow
,
26851 _swigt__p_wxSplashScreenWindow
,
26852 _swigt__p_wxMenuBar
,
26853 _swigt__p_wxPrintPreview
,
26854 _swigt__p_wxSashEvent
,
26855 _swigt__p_wxString
,
26856 _swigt__p_wxPyPrintPreview
,
26857 _swigt__p_wxFontDialog
,
26858 _swigt__p_wxDirDialog
,
26859 _swigt__p_wxColourDialog
,
26860 _swigt__p_wxDialog
,
26862 _swigt__p_wxPageSetupDialog
,
26863 _swigt__p_wxPrintDialog
,
26864 _swigt__p_wxFileSystem
,
26865 _swigt__p_wxBitmap
,
26866 _swigt__p_wxCommandEvent
,
26867 _swigt__p_wxPreviewControlBar
,
26868 _swigt__p_wxPyPreviewControlBar
,
26869 _swigt__p_wxColour
,
26870 _swigt__p_wxToolBar
,
26871 _swigt__p_wxPageSetupDialogData
,
26872 _swigt__p_wxPrintDialogData
,
26877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26879 static swig_const_info swig_const_table
[] = {
26889 SWIGEXPORT(void) SWIG_init(void) {
26890 static PyObject
*SWIG_globals
= 0;
26891 static int typeinit
= 0;
26894 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26895 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26896 d
= PyModule_GetDict(m
);
26899 for (i
= 0; swig_types_initial
[i
]; i
++) {
26900 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26904 SWIG_InstallConstants(d
,swig_const_table
);
26906 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26907 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26908 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26909 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26910 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26911 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26912 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26913 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26914 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26915 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26916 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26917 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26918 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26919 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26920 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26921 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26922 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26923 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26924 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26925 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26926 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26927 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26928 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26929 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26930 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26931 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26932 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26933 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26934 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26935 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26936 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26937 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26938 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26939 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26940 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26941 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26942 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26943 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26944 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26945 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26946 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26947 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26948 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26949 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26950 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26951 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26952 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26953 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26954 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26955 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26956 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26957 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26958 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26959 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26960 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26961 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26962 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26963 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26964 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26965 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26966 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26967 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26968 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26969 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26970 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26971 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26972 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26973 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26974 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26975 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26976 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26977 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26978 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26979 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26980 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26981 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26982 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26983 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26984 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26985 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26986 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26987 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26988 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26989 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26990 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26991 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26992 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26993 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26994 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26995 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26996 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26997 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26998 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27000 // Map renamed classes back to their common name for OOR
27001 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27002 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27003 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27005 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27006 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27007 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27008 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27009 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27010 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27011 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27012 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27013 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27014 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27015 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27016 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27017 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27018 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
27019 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
27020 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
27021 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
27022 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
27023 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
27024 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
27025 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
27026 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27027 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27028 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27029 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27030 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27031 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27032 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27033 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27034 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27035 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27036 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27037 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27038 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27039 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27040 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27041 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27042 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27043 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27044 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27045 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27046 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27047 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27048 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27049 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27050 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27051 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27052 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27053 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27054 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27055 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27056 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27057 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27058 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27059 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27060 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27061 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27062 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27063 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27064 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");