1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60]
270 #define SWIGTYPE_p_wxPopupWindow swig_types[61]
271 #define SWIGTYPE_p_wxSashWindow swig_types[62]
272 #define SWIGTYPE_p_wxTopLevelWindow swig_types[63]
273 #define SWIGTYPE_p_wxWindow swig_types[64]
274 #define SWIGTYPE_p_wxScrolledWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
538 : wxPopupTransientWindow(parent
, style
) {}
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
541 DEC_PYCALLBACK__(OnDismiss
);
542 DEC_PYCALLBACK_BOOL_(CanDismiss
);
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
828 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
867 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
881 DEC_PYCALLBACK__(InitDialog
);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
884 DEC_PYCALLBACK_BOOL_(Validate
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
900 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
902 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
903 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
904 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
905 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
908 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
909 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
912 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
914 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
917 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
919 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
920 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
921 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
923 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
924 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
926 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
927 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
931 // C++ version of Python aware wxPanel
932 class wxPyPanel
: public wxPanel
934 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
938 const wxPoint
& pos
= wxDefaultPosition
,
939 const wxSize
& size
= wxDefaultSize
,
941 const wxString
& name
= wxPyPanelNameStr
)
942 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
944 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
959 DEC_PYCALLBACK__(InitDialog
);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
962 DEC_PYCALLBACK_BOOL_(Validate
);
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
978 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
980 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
981 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
990 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
992 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
998 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
999 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1005 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1006 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1009 // C++ version of Python aware wxScrolledWindow
1010 class wxPyScrolledWindow
: public wxScrolledWindow
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1016 const wxPoint
& pos
= wxDefaultPosition
,
1017 const wxSize
& size
= wxDefaultSize
,
1019 const wxString
& name
= wxPyPanelNameStr
)
1020 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1022 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1036 DEC_PYCALLBACK__(InitDialog
);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1039 DEC_PYCALLBACK_BOOL_(Validate
);
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1055 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1057 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1058 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1059 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1060 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1062 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1063 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1067 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1069 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1072 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1074 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1075 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1076 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1078 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1079 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1081 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1082 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1083 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1087 #include "wx/wxPython/printfw.h"
1090 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1095 // Since this one would be tough and ugly to do with the Macros...
1096 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1097 bool hadErr
= False
;
1100 bool blocked
= wxPyBeginBlockThreads();
1101 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1102 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1103 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1106 val
= PyTuple_GetItem(result
, 0);
1107 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1110 val
= PyTuple_GetItem(result
, 1);
1111 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1114 val
= PyTuple_GetItem(result
, 2);
1115 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1118 val
= PyTuple_GetItem(result
, 3);
1119 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1126 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1131 wxPyEndBlockThreads(blocked
);
1133 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1136 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1137 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1141 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1142 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1143 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1144 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1145 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1146 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1147 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1153 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1158 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 bool blocked = wxPyBeginBlockThreads(); \
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1170 wxPyEndBlockThreads(blocked); \
1172 rval = PCLASS::CBNAME(a, b); \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1182 class wxPyPrintPreview
: public wxPrintPreview
1184 DECLARE_CLASS(wxPyPrintPreview
)
1186 wxPyPrintPreview(wxPyPrintout
* printout
,
1187 wxPyPrintout
* printoutForPrinting
,
1188 wxPrintDialogData
* data
=NULL
)
1189 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1191 wxPyPrintPreview(wxPyPrintout
* printout
,
1192 wxPyPrintout
* printoutForPrinting
,
1193 wxPrintData
* data
=NULL
)
1194 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1208 // Stupid renamed classes... Fix this in 2.5...
1209 #if defined(__WXMSW__)
1210 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1211 #elif defined(__WXMAC__)
1212 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1214 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1217 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1218 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1219 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1221 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1222 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1223 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1226 class wxPyPreviewFrame
: public wxPreviewFrame
1228 DECLARE_CLASS(wxPyPreviewFrame
);
1230 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1231 const wxString
& title
,
1232 const wxPoint
& pos
= wxDefaultPosition
,
1233 const wxSize
& size
= wxDefaultSize
,
1234 long style
= wxDEFAULT_FRAME_STYLE
,
1235 const wxString
& name
= wxPyFrameNameStr
)
1236 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1239 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1240 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1242 DEC_PYCALLBACK_VOID_(Initialize
);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1249 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1251 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1252 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1256 class wxPyPreviewControlBar
: public wxPreviewControlBar
1258 DECLARE_CLASS(wxPyPreviewControlBar
);
1260 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1263 const wxPoint
& pos
= wxDefaultPosition
,
1264 const wxSize
& size
= wxDefaultSize
,
1266 const wxString
& name
= wxPyPanelNameStr
)
1267 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1270 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1272 DEC_PYCALLBACK_VOID_(CreateButtons
);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1278 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1279 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1280 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1285 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxWindow
*arg1
= (wxWindow
*) 0 ;
1288 int arg2
= (int) (int)-1 ;
1289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1293 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1294 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1299 bool temp6
= False
;
1300 PyObject
* obj0
= 0 ;
1301 PyObject
* obj1
= 0 ;
1302 PyObject
* obj2
= 0 ;
1303 PyObject
* obj3
= 0 ;
1304 PyObject
* obj4
= 0 ;
1305 PyObject
* obj5
= 0 ;
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 arg2
= (int const) SWIG_AsInt(obj1
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1330 arg5
= (long) SWIG_AsLong(obj4
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 arg6
= wxString_in_helper(obj5
);
1336 if (arg6
== NULL
) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1348 resultobj
= wxPyMake_wxObject(result
);
1364 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
*resultobj
;
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (wxPanel
*)new wxPanel();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1380 resultobj
= wxPyMake_wxObject(result
);
1388 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxPanel
*arg1
= (wxPanel
*) 0 ;
1391 wxWindow
*arg2
= (wxWindow
*) 0 ;
1392 int arg3
= (int) (int)-1 ;
1393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1397 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1398 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1399 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1403 bool temp7
= False
;
1404 PyObject
* obj0
= 0 ;
1405 PyObject
* obj1
= 0 ;
1406 PyObject
* obj2
= 0 ;
1407 PyObject
* obj3
= 0 ;
1408 PyObject
* obj4
= 0 ;
1409 PyObject
* obj5
= 0 ;
1410 PyObject
* obj6
= 0 ;
1412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1421 arg3
= (int const) SWIG_AsInt(obj2
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1437 arg6
= (long) SWIG_AsLong(obj5
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1442 arg7
= wxString_in_helper(obj6
);
1443 if (arg7
== NULL
) SWIG_fail
;
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) SWIG_fail
;
1455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1471 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
*resultobj
;
1473 wxPanel
*arg1
= (wxPanel
*) 0 ;
1474 PyObject
* obj0
= 0 ;
1476 (char *) "self", NULL
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 (arg1
)->InitDialog();
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1489 Py_INCREF(Py_None
); resultobj
= Py_None
;
1496 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
*resultobj
;
1498 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1499 wxVisualAttributes result
;
1500 PyObject
* obj0
= 0 ;
1502 (char *) "variant", NULL
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1507 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 wxVisualAttributes
* resultptr
;
1519 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1528 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1531 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1533 return Py_BuildValue((char *)"");
1535 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1537 wxWindow
*arg1
= (wxWindow
*) 0 ;
1538 int arg2
= (int) (int)-1 ;
1539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1543 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1544 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1546 wxScrolledWindow
*result
;
1549 bool temp6
= False
;
1550 PyObject
* obj0
= 0 ;
1551 PyObject
* obj1
= 0 ;
1552 PyObject
* obj2
= 0 ;
1553 PyObject
* obj3
= 0 ;
1554 PyObject
* obj4
= 0 ;
1555 PyObject
* obj5
= 0 ;
1557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 arg2
= (int const) SWIG_AsInt(obj1
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1580 arg5
= (long) SWIG_AsLong(obj4
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1585 arg6
= wxString_in_helper(obj5
);
1586 if (arg6
== NULL
) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1612 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxScrolledWindow
*result
;
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1634 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1637 wxWindow
*arg2
= (wxWindow
*) 0 ;
1638 int arg3
= (int) (int)-1 ;
1639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1643 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1644 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1649 bool temp7
= False
;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1652 PyObject
* obj2
= 0 ;
1653 PyObject
* obj3
= 0 ;
1654 PyObject
* obj4
= 0 ;
1655 PyObject
* obj5
= 0 ;
1656 PyObject
* obj6
= 0 ;
1658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1667 arg3
= (int const) SWIG_AsInt(obj2
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1683 arg6
= (long) SWIG_AsLong(obj5
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1688 arg7
= wxString_in_helper(obj6
);
1689 if (arg7
== NULL
) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1717 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1724 int arg6
= (int) 0 ;
1725 int arg7
= (int) 0 ;
1726 bool arg8
= (bool) False
;
1727 PyObject
* obj0
= 0 ;
1728 PyObject
* obj1
= 0 ;
1729 PyObject
* obj2
= 0 ;
1730 PyObject
* obj3
= 0 ;
1731 PyObject
* obj4
= 0 ;
1732 PyObject
* obj5
= 0 ;
1733 PyObject
* obj6
= 0 ;
1734 PyObject
* obj7
= 0 ;
1736 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 arg2
= (int) SWIG_AsInt(obj1
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1744 arg3
= (int) SWIG_AsInt(obj2
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1746 arg4
= (int) SWIG_AsInt(obj3
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1748 arg5
= (int) SWIG_AsInt(obj4
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 arg6
= (int) SWIG_AsInt(obj5
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 arg7
= (int) SWIG_AsInt(obj6
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1759 arg8
= (bool) SWIG_AsBool(obj7
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 Py_INCREF(Py_None
); resultobj
= Py_None
;
1776 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1783 PyObject
* obj2
= 0 ;
1785 (char *) "self",(char *) "x",(char *) "y", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1791 arg2
= (int) SWIG_AsInt(obj1
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1793 arg3
= (int) SWIG_AsInt(obj2
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 (arg1
)->Scroll(arg2
,arg3
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 Py_INCREF(Py_None
); resultobj
= Py_None
;
1809 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1815 PyObject
* obj1
= 0 ;
1817 (char *) "self",(char *) "orient", NULL
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 arg2
= (int) SWIG_AsInt(obj1
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 resultobj
= SWIG_FromInt((int)result
);
1839 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(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 *) "orient",(char *) "pageSize", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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
)->SetScrollPageSize(arg2
,arg3
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1879 PyObject
* obj2
= 0 ;
1881 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 arg2
= (int) SWIG_AsInt(obj1
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (int) SWIG_AsInt(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 (arg1
)->SetScrollRate(arg2
,arg3
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1905 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1908 int *arg2
= (int *) 0 ;
1909 int *arg3
= (int *) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1932 resultobj
= t_output_helper(resultobj
,o
);
1935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1936 resultobj
= t_output_helper(resultobj
,o
);
1944 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1949 PyObject
* obj0
= 0 ;
1950 PyObject
* obj1
= 0 ;
1951 PyObject
* obj2
= 0 ;
1953 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 arg2
= (bool) SWIG_AsBool(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1961 arg3
= (bool) SWIG_AsBool(obj2
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->EnableScrolling(arg2
,arg3
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1980 int *arg2
= (int *) 0 ;
1981 int *arg3
= (int *) 0 ;
1984 PyObject
* obj0
= 0 ;
1986 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2004 resultobj
= t_output_helper(resultobj
,o
);
2007 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2008 resultobj
= t_output_helper(resultobj
,o
);
2016 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj1
= 0 ;
2023 PyObject
* obj2
= 0 ;
2025 (char *) "self",(char *) "xs",(char *) "ys", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 arg2
= (double) SWIG_AsDouble(obj1
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2033 arg3
= (double) SWIG_AsDouble(obj2
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 (arg1
)->SetScale(arg2
,arg3
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2055 (char *) "self", NULL
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 resultobj
= SWIG_FromDouble((double)result
);
2075 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2081 (char *) "self", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_FromDouble((double)result
);
2101 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2102 PyObject
*resultobj
;
2103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2107 PyObject
* obj0
= 0 ;
2108 PyObject
* obj1
= 0 ;
2110 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2125 wxPoint
* resultptr
;
2126 resultptr
= new wxPoint((wxPoint
&) result
);
2127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2135 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2136 PyObject
*resultobj
;
2137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2140 int *arg4
= (int *) 0 ;
2141 int *arg5
= (int *) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2146 PyObject
* obj2
= 0 ;
2150 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 arg2
= (int) SWIG_AsInt(obj1
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2155 arg3
= (int) SWIG_AsInt(obj2
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2167 resultobj
= t_output_helper(resultobj
,o
);
2170 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2171 resultobj
= t_output_helper(resultobj
,o
);
2179 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2184 argc
= PyObject_Length(args
);
2185 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2186 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2192 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2201 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2204 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2220 _v
= SWIG_CheckInt(argv
[1]);
2222 _v
= SWIG_CheckInt(argv
[2]);
2224 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2230 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2235 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2236 PyObject
*resultobj
;
2237 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2259 wxPoint
* resultptr
;
2260 resultptr
= new wxPoint((wxPoint
&) result
);
2261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2269 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2270 PyObject
*resultobj
;
2271 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2274 int *arg4
= (int *) 0 ;
2275 int *arg5
= (int *) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2280 PyObject
* obj2
= 0 ;
2284 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 arg2
= (int) SWIG_AsInt(obj1
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2289 arg3
= (int) SWIG_AsInt(obj2
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 Py_INCREF(Py_None
); resultobj
= Py_None
;
2300 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2301 resultobj
= t_output_helper(resultobj
,o
);
2304 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2305 resultobj
= t_output_helper(resultobj
,o
);
2313 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2318 argc
= PyObject_Length(args
);
2319 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2320 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2326 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2335 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2338 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2354 _v
= SWIG_CheckInt(argv
[1]);
2356 _v
= SWIG_CheckInt(argv
[2]);
2358 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2364 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2369 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 (arg1
)->AdjustScrollbars();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 Py_INCREF(Py_None
); resultobj
= Py_None
;
2394 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2397 wxScrollWinEvent
*arg2
= 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 (char *) "self",(char *) "event", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2412 PyErr_SetString(PyExc_TypeError
,"null reference");
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= SWIG_FromInt((int)result
);
2429 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2432 wxWindow
*arg2
= (wxWindow
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2436 (char *) "self",(char *) "target", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 (arg1
)->SetTargetWindow(arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 Py_INCREF(Py_None
); resultobj
= Py_None
;
2458 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= wxPyMake_wxObject(result
);
2486 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "self",(char *) "rect", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 Py_INCREF(Py_None
); resultobj
= Py_None
;
2518 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "self", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2539 resultptr
= new wxRect((wxRect
&) result
);
2540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2548 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2551 wxVisualAttributes result
;
2552 PyObject
* obj0
= 0 ;
2554 (char *) "variant", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2559 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2570 wxVisualAttributes
* resultptr
;
2571 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2580 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2583 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2585 return Py_BuildValue((char *)"");
2587 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2588 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2593 static PyObject
*_wrap_FrameNameStr_get() {
2598 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2600 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2607 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2608 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2613 static PyObject
*_wrap_DialogNameStr_get() {
2618 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2620 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2627 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2628 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2633 static PyObject
*_wrap_StatusLineNameStr_get() {
2638 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2640 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2647 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2648 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2653 static PyObject
*_wrap_ToolBarNameStr_get() {
2658 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2660 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2667 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2670 bool arg2
= (bool) True
;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2674 (char *) "self",(char *) "maximize", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 arg2
= (bool) SWIG_AsBool(obj1
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 (arg1
)->Maximize(arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "self", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 Py_INCREF(Py_None
); resultobj
= Py_None
;
2723 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2726 bool arg2
= (bool) True
;
2727 PyObject
* obj0
= 0 ;
2728 PyObject
* obj1
= 0 ;
2730 (char *) "self",(char *) "iconize", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= (bool) SWIG_AsBool(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 (arg1
)->Iconize(arg2
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2760 (char *) "self", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2782 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2810 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2814 PyObject
* obj0
= 0 ;
2816 (char *) "self", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2831 resultptr
= new wxIcon((wxIcon
&) result
);
2832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2840 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2844 PyObject
* obj0
= 0 ;
2845 PyObject
* obj1
= 0 ;
2847 (char *) "self",(char *) "icon", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2857 PyErr_SetString(PyExc_TypeError
,"null reference");
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 Py_INCREF(Py_None
); resultobj
= Py_None
;
2874 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2877 wxIconBundle
*arg2
= 0 ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "icons", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2891 PyErr_SetString(PyExc_TypeError
,"null reference");
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 Py_INCREF(Py_None
); resultobj
= Py_None
;
2908 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2912 long arg3
= (long) wxFULLSCREEN_ALL
;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2916 PyObject
* obj2
= 0 ;
2918 (char *) "self",(char *) "show",(char *) "style", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2924 arg2
= (bool) SWIG_AsBool(obj1
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2927 arg3
= (long) SWIG_AsLong(obj2
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2946 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2950 PyObject
* obj0
= 0 ;
2952 (char *) "self", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2974 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2977 wxString
*arg2
= 0 ;
2978 bool temp2
= False
;
2979 PyObject
* obj0
= 0 ;
2980 PyObject
* obj1
= 0 ;
2982 (char *) "self",(char *) "title", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2989 arg2
= wxString_in_helper(obj1
);
2990 if (arg2
== NULL
) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 (arg1
)->SetTitle((wxString
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "self", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3047 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3050 wxRegion
*arg2
= 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "region", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3065 PyErr_SetString(PyExc_TypeError
,"null reference");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3084 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3087 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3089 return Py_BuildValue((char *)"");
3091 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxWindow
*arg1
= (wxWindow
*) 0 ;
3095 wxString
*arg3
= 0 ;
3096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3100 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3101 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3104 bool temp3
= False
;
3107 bool temp7
= False
;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3110 PyObject
* obj2
= 0 ;
3111 PyObject
* obj3
= 0 ;
3112 PyObject
* obj4
= 0 ;
3113 PyObject
* obj5
= 0 ;
3114 PyObject
* obj6
= 0 ;
3116 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 arg2
= (int const) SWIG_AsInt(obj1
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 arg3
= wxString_in_helper(obj2
);
3126 if (arg3
== NULL
) SWIG_fail
;
3132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3142 arg6
= (long) SWIG_AsLong(obj5
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3147 arg7
= wxString_in_helper(obj6
);
3148 if (arg7
== NULL
) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= wxPyMake_wxObject(result
);
3184 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= (wxFrame
*)new wxFrame();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= wxPyMake_wxObject(result
);
3208 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxFrame
*arg1
= (wxFrame
*) 0 ;
3211 wxWindow
*arg2
= (wxWindow
*) 0 ;
3213 wxString
*arg4
= 0 ;
3214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3218 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3219 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3222 bool temp4
= False
;
3225 bool temp8
= False
;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3228 PyObject
* obj2
= 0 ;
3229 PyObject
* obj3
= 0 ;
3230 PyObject
* obj4
= 0 ;
3231 PyObject
* obj5
= 0 ;
3232 PyObject
* obj6
= 0 ;
3233 PyObject
* obj7
= 0 ;
3235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 arg3
= (int const) SWIG_AsInt(obj2
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 arg4
= wxString_in_helper(obj3
);
3247 if (arg4
== NULL
) SWIG_fail
;
3253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3263 arg7
= (long) SWIG_AsLong(obj6
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3268 arg8
= wxString_in_helper(obj7
);
3269 if (arg8
== NULL
) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3305 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxFrame
*arg1
= (wxFrame
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 wxPoint
* resultptr
;
3326 resultptr
= new wxPoint((wxPoint
&) result
);
3327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3335 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxFrame
*arg1
= (wxFrame
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3340 (char *) "self", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->SendSizeEvent();
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxFrame
*arg1
= (wxFrame
*) 0 ;
3363 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3365 PyObject
* obj1
= 0 ;
3367 (char *) "self",(char *) "menubar", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->SetMenuBar(arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxFrame
*arg1
= (wxFrame
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= wxPyMake_wxObject(result
);
3417 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxFrame
*arg1
= (wxFrame
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "self",(char *) "winid", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= (int) SWIG_AsInt(obj1
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3449 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxFrame
*arg1
= (wxFrame
*) 0 ;
3452 int arg2
= (int) 1 ;
3453 long arg3
= (long) wxST_SIZEGRIP
;
3454 int arg4
= (int) 0 ;
3455 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3456 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3457 wxStatusBar
*result
;
3458 bool temp5
= False
;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3461 PyObject
* obj2
= 0 ;
3462 PyObject
* obj3
= 0 ;
3463 PyObject
* obj4
= 0 ;
3465 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 arg2
= (int) SWIG_AsInt(obj1
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 arg3
= (long) SWIG_AsLong(obj2
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 arg4
= (int) SWIG_AsInt(obj3
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3485 arg5
= wxString_in_helper(obj4
);
3486 if (arg5
== NULL
) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 resultobj
= wxPyMake_wxObject(result
);
3514 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxFrame
*arg1
= (wxFrame
*) 0 ;
3517 wxStatusBar
*result
;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= wxPyMake_wxObject(result
);
3542 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxFrame
*arg1
= (wxFrame
*) 0 ;
3545 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "statBar", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 (arg1
)->SetStatusBar(arg2
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 Py_INCREF(Py_None
); resultobj
= Py_None
;
3571 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxFrame
*arg1
= (wxFrame
*) 0 ;
3574 wxString
*arg2
= 0 ;
3575 int arg3
= (int) 0 ;
3576 bool temp2
= False
;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3581 (char *) "self",(char *) "text",(char *) "number", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 arg2
= wxString_in_helper(obj1
);
3589 if (arg2
== NULL
) SWIG_fail
;
3593 arg3
= (int) SWIG_AsInt(obj2
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3618 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxFrame
*arg1
= (wxFrame
*) 0 ;
3622 int *arg3
= (int *) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "widths", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 arg2
= PyList_Size(obj1
);
3634 arg3
= int_LIST_helper(obj1
);
3635 if (arg3
== NULL
) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 if (arg3
) delete [] arg3
;
3651 if (arg3
) delete [] arg3
;
3657 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxFrame
*arg1
= (wxFrame
*) 0 ;
3660 wxString
*arg2
= 0 ;
3661 int arg3
= (int) 0 ;
3662 bool temp2
= False
;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3665 PyObject
* obj2
= 0 ;
3667 (char *) "self",(char *) "text",(char *) "number", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 arg2
= wxString_in_helper(obj1
);
3675 if (arg2
== NULL
) SWIG_fail
;
3679 arg3
= (int) SWIG_AsInt(obj2
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxFrame
*arg1
= (wxFrame
*) 0 ;
3707 int arg2
= (int) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3711 (char *) "self",(char *) "number", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 arg2
= (int) SWIG_AsInt(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->PopStatusText(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxFrame
*arg1
= (wxFrame
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "n", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 arg2
= (int) SWIG_AsInt(obj1
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 (arg1
)->SetStatusBarPane(arg2
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxFrame
*arg1
= (wxFrame
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_FromInt((int)result
);
3790 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxFrame
*arg1
= (wxFrame
*) 0 ;
3793 long arg2
= (long) -1 ;
3794 int arg3
= (int) -1 ;
3795 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3798 bool temp4
= False
;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3801 PyObject
* obj2
= 0 ;
3802 PyObject
* obj3
= 0 ;
3804 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3811 arg2
= (long) SWIG_AsLong(obj1
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 arg3
= (int) SWIG_AsInt(obj2
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3820 arg4
= wxString_in_helper(obj3
);
3821 if (arg4
== NULL
) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= wxPyMake_wxObject(result
);
3849 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxFrame
*arg1
= (wxFrame
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= wxPyMake_wxObject(result
);
3877 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxFrame
*arg1
= (wxFrame
*) 0 ;
3880 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3884 (char *) "self",(char *) "toolbar", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 (arg1
)->SetToolBar(arg2
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 Py_INCREF(Py_None
); resultobj
= Py_None
;
3906 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxFrame
*arg1
= (wxFrame
*) 0 ;
3909 wxString
*arg2
= 0 ;
3911 bool temp2
= False
;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3914 PyObject
* obj2
= 0 ;
3916 (char *) "self",(char *) "text",(char *) "show", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 arg2
= wxString_in_helper(obj1
);
3924 if (arg2
== NULL
) SWIG_fail
;
3927 arg3
= (bool) SWIG_AsBool(obj2
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3951 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxFrame
*arg1
= (wxFrame
*) 0 ;
3954 wxMenu
*arg2
= (wxMenu
*) NULL
;
3955 PyObject
* obj0
= 0 ;
3956 PyObject
* obj1
= 0 ;
3958 (char *) "self",(char *) "menu", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 (arg1
)->DoMenuUpdates(arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3982 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3985 wxVisualAttributes result
;
3986 PyObject
* obj0
= 0 ;
3988 (char *) "variant", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3993 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4004 wxVisualAttributes
* resultptr
;
4005 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4014 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4017 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4019 return Py_BuildValue((char *)"");
4021 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxWindow
*arg1
= (wxWindow
*) 0 ;
4025 wxString
*arg3
= 0 ;
4026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4028 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4029 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4030 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4031 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4032 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4034 bool temp3
= False
;
4037 bool temp7
= False
;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4040 PyObject
* obj2
= 0 ;
4041 PyObject
* obj3
= 0 ;
4042 PyObject
* obj4
= 0 ;
4043 PyObject
* obj5
= 0 ;
4044 PyObject
* obj6
= 0 ;
4046 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (int const) SWIG_AsInt(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 arg3
= wxString_in_helper(obj2
);
4056 if (arg3
== NULL
) SWIG_fail
;
4062 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4068 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4072 arg6
= (long) SWIG_AsLong(obj5
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4077 arg7
= wxString_in_helper(obj6
);
4078 if (arg7
== NULL
) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= wxPyMake_wxObject(result
);
4114 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxDialog
*)new wxDialog();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= wxPyMake_wxObject(result
);
4138 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxDialog
*arg1
= (wxDialog
*) 0 ;
4141 wxWindow
*arg2
= (wxWindow
*) 0 ;
4143 wxString
*arg4
= 0 ;
4144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4148 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4149 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4152 bool temp4
= False
;
4155 bool temp8
= False
;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 PyObject
* obj2
= 0 ;
4159 PyObject
* obj3
= 0 ;
4160 PyObject
* obj4
= 0 ;
4161 PyObject
* obj5
= 0 ;
4162 PyObject
* obj6
= 0 ;
4163 PyObject
* obj7
= 0 ;
4165 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 arg3
= (int const) SWIG_AsInt(obj2
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 arg4
= wxString_in_helper(obj3
);
4177 if (arg4
== NULL
) SWIG_fail
;
4183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4193 arg7
= (long) SWIG_AsLong(obj6
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4198 arg8
= wxString_in_helper(obj7
);
4199 if (arg8
== NULL
) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxDialog
*arg1
= (wxDialog
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "returnCode", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 arg2
= (int) SWIG_AsInt(obj1
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetReturnCode(arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxDialog
*arg1
= (wxDialog
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4270 (char *) "self", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_FromInt((int)result
);
4290 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxDialog
*arg1
= (wxDialog
*) 0 ;
4293 wxString
*arg2
= 0 ;
4295 bool temp2
= False
;
4296 PyObject
* obj0
= 0 ;
4297 PyObject
* obj1
= 0 ;
4299 (char *) "self",(char *) "message", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4306 arg2
= wxString_in_helper(obj1
);
4307 if (arg2
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= wxPyMake_wxSizer(result
);
4334 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxDialog
*arg1
= (wxDialog
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "flags", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 arg2
= (long) SWIG_AsLong(obj1
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= wxPyMake_wxSizer(result
);
4366 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxDialog
*arg1
= (wxDialog
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "self", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxDialog
*arg1
= (wxDialog
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "self", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (int)(arg1
)->ShowModal();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_FromInt((int)result
);
4420 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 wxDialog
*arg1
= (wxDialog
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4427 (char *) "self",(char *) "retCode", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 arg2
= (int) SWIG_AsInt(obj1
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 (arg1
)->EndModal(arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 Py_INCREF(Py_None
); resultobj
= Py_None
;
4449 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4452 wxVisualAttributes result
;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "variant", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4460 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 wxVisualAttributes
* resultptr
;
4472 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4481 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4484 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4486 return Py_BuildValue((char *)"");
4488 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxWindow
*arg1
= (wxWindow
*) 0 ;
4492 wxString
*arg3
= 0 ;
4493 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4494 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4495 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4496 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4497 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4498 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4499 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4500 wxMiniFrame
*result
;
4501 bool temp3
= False
;
4504 bool temp7
= False
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4508 PyObject
* obj3
= 0 ;
4509 PyObject
* obj4
= 0 ;
4510 PyObject
* obj5
= 0 ;
4511 PyObject
* obj6
= 0 ;
4513 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4519 arg2
= (int const) SWIG_AsInt(obj1
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 arg3
= wxString_in_helper(obj2
);
4523 if (arg3
== NULL
) SWIG_fail
;
4529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4539 arg6
= (long) SWIG_AsLong(obj5
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4544 arg7
= wxString_in_helper(obj6
);
4545 if (arg7
== NULL
) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4579 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxMiniFrame
*result
;
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (wxMiniFrame
*)new wxMiniFrame();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4601 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4604 wxWindow
*arg2
= (wxWindow
*) 0 ;
4606 wxString
*arg4
= 0 ;
4607 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4608 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4609 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4610 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4611 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4612 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4613 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4615 bool temp4
= False
;
4618 bool temp8
= False
;
4619 PyObject
* obj0
= 0 ;
4620 PyObject
* obj1
= 0 ;
4621 PyObject
* obj2
= 0 ;
4622 PyObject
* obj3
= 0 ;
4623 PyObject
* obj4
= 0 ;
4624 PyObject
* obj5
= 0 ;
4625 PyObject
* obj6
= 0 ;
4626 PyObject
* obj7
= 0 ;
4628 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 arg3
= (int const) SWIG_AsInt(obj2
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 arg4
= wxString_in_helper(obj3
);
4640 if (arg4
== NULL
) SWIG_fail
;
4646 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4652 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4656 arg7
= (long) SWIG_AsLong(obj6
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4661 arg8
= wxString_in_helper(obj7
);
4662 if (arg8
== NULL
) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4703 return Py_BuildValue((char *)"");
4705 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxBitmap
*arg1
= 0 ;
4708 wxWindow
*arg2
= (wxWindow
*) 0 ;
4710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4714 long arg6
= (long) wxNO_BORDER
;
4715 wxSplashScreenWindow
*result
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj2
= 0 ;
4721 PyObject
* obj3
= 0 ;
4722 PyObject
* obj4
= 0 ;
4723 PyObject
* obj5
= 0 ;
4725 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4733 PyErr_SetString(PyExc_TypeError
,"null reference");
4736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 arg3
= (int) SWIG_AsInt(obj2
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4753 arg6
= (long) SWIG_AsLong(obj5
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4770 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4773 wxBitmap
*arg2
= 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4777 (char *) "self",(char *) "bitmap", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4787 PyErr_SetString(PyExc_TypeError
,"null reference");
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4820 result
= (wxBitmap
*) &_result_ref
;
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 wxBitmap
* resultptr
= new wxBitmap(*result
);
4828 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4836 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4839 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4841 return Py_BuildValue((char *)"");
4843 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxBitmap
*arg1
= 0 ;
4848 wxWindow
*arg4
= (wxWindow
*) 0 ;
4850 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4851 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4852 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4853 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4854 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4855 wxSplashScreen
*result
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 PyObject
* obj4
= 0 ;
4863 PyObject
* obj5
= 0 ;
4864 PyObject
* obj6
= 0 ;
4865 PyObject
* obj7
= 0 ;
4867 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4875 PyErr_SetString(PyExc_TypeError
,"null reference");
4878 arg2
= (long) SWIG_AsLong(obj1
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4880 arg3
= (int) SWIG_AsInt(obj2
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4882 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 arg5
= (int) SWIG_AsInt(obj4
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4889 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4895 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4899 arg8
= (long) SWIG_AsLong(obj7
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4916 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= SWIG_FromLong((long)result
);
4942 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4945 wxSplashScreenWindow
*result
;
4946 PyObject
* obj0
= 0 ;
4948 (char *) "self", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4968 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_FromInt((int)result
);
4994 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4999 return Py_BuildValue((char *)"");
5001 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxWindow
*arg1
= (wxWindow
*) 0 ;
5004 int arg2
= (int) -1 ;
5005 long arg3
= (long) wxST_SIZEGRIP
;
5006 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5007 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5008 wxStatusBar
*result
;
5009 bool temp4
= False
;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 PyObject
* obj2
= 0 ;
5013 PyObject
* obj3
= 0 ;
5015 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 arg2
= (int) SWIG_AsInt(obj1
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 arg3
= (long) SWIG_AsLong(obj2
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5031 arg4
= wxString_in_helper(obj3
);
5032 if (arg4
== NULL
) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= wxPyMake_wxObject(result
);
5060 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxStatusBar
*result
;
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (wxStatusBar
*)new wxStatusBar();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= wxPyMake_wxObject(result
);
5084 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5087 wxWindow
*arg2
= (wxWindow
*) 0 ;
5089 long arg4
= (long) wxST_SIZEGRIP
;
5090 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5091 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5093 bool temp5
= False
;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5097 PyObject
* obj3
= 0 ;
5098 PyObject
* obj4
= 0 ;
5100 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 arg3
= (int) SWIG_AsInt(obj2
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 arg4
= (long) SWIG_AsLong(obj3
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5116 arg5
= wxString_in_helper(obj4
);
5117 if (arg5
== NULL
) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5148 int arg2
= (int) 1 ;
5149 PyObject
* obj0
= 0 ;
5150 PyObject
* obj1
= 0 ;
5152 (char *) "self",(char *) "number", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 arg2
= (int) SWIG_AsInt(obj1
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 (arg1
)->SetFieldsCount(arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 Py_INCREF(Py_None
); resultobj
= Py_None
;
5176 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5182 (char *) "self", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_FromInt((int)result
);
5202 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5205 wxString
*arg2
= 0 ;
5206 int arg3
= (int) 0 ;
5207 bool temp2
= False
;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 PyObject
* obj2
= 0 ;
5212 (char *) "self",(char *) "text",(char *) "number", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5219 arg2
= wxString_in_helper(obj1
);
5220 if (arg2
== NULL
) SWIG_fail
;
5224 arg3
= (int) SWIG_AsInt(obj2
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5252 int arg2
= (int) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5257 (char *) "self",(char *) "number", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5264 arg2
= (int) SWIG_AsInt(obj1
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5287 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5290 wxString
*arg2
= 0 ;
5291 int arg3
= (int) 0 ;
5292 bool temp2
= False
;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 PyObject
* obj2
= 0 ;
5297 (char *) "self",(char *) "text",(char *) "number", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= wxString_in_helper(obj1
);
5305 if (arg2
== NULL
) SWIG_fail
;
5309 arg3
= (int) SWIG_AsInt(obj2
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5337 int arg2
= (int) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "number", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 arg2
= (int) SWIG_AsInt(obj1
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 (arg1
)->PopStatusText(arg2
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5369 int *arg3
= (int *) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "widths", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 arg2
= PyList_Size(obj1
);
5381 arg3
= int_LIST_helper(obj1
);
5382 if (arg3
== NULL
) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 if (arg3
) delete [] arg3
;
5398 if (arg3
) delete [] arg3
;
5404 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "i", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (int) SWIG_AsInt(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5429 resultptr
= new wxRect((wxRect
&) result
);
5430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5438 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "height", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 arg2
= (int) SWIG_AsInt(obj1
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->SetMinHeight(arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 Py_INCREF(Py_None
); resultobj
= Py_None
;
5467 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5473 (char *) "self", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_FromInt((int)result
);
5493 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5499 (char *) "self", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= SWIG_FromInt((int)result
);
5519 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5522 wxVisualAttributes result
;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "variant", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5530 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 wxVisualAttributes
* resultptr
;
5542 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5551 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5554 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5556 return Py_BuildValue((char *)"");
5558 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5559 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5564 static PyObject
*_wrap_SplitterNameStr_get() {
5569 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5571 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5578 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxWindow
*arg1
= (wxWindow
*) 0 ;
5581 int arg2
= (int) -1 ;
5582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5586 long arg5
= (long) wxSP_3D
;
5587 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5589 wxSplitterWindow
*result
;
5592 bool temp6
= False
;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5595 PyObject
* obj2
= 0 ;
5596 PyObject
* obj3
= 0 ;
5597 PyObject
* obj4
= 0 ;
5598 PyObject
* obj5
= 0 ;
5600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 arg2
= (int) SWIG_AsInt(obj1
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5623 arg5
= (long) SWIG_AsLong(obj4
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5628 arg6
= wxString_in_helper(obj5
);
5629 if (arg6
== NULL
) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5655 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxSplitterWindow
*result
;
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5677 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5680 wxWindow
*arg2
= (wxWindow
*) 0 ;
5681 int arg3
= (int) -1 ;
5682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5686 long arg6
= (long) wxSP_3D
;
5687 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5692 bool temp7
= False
;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 arg3
= (int) SWIG_AsInt(obj2
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5726 arg6
= (long) SWIG_AsLong(obj5
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5731 arg7
= wxString_in_helper(obj6
);
5732 if (arg7
== NULL
) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5764 PyObject
* obj0
= 0 ;
5766 (char *) "self", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= wxPyMake_wxObject(result
);
5788 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= wxPyMake_wxObject(result
);
5816 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "mode", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 arg2
= (int) SWIG_AsInt(obj1
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 (arg1
)->SetSplitMode(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 Py_INCREF(Py_None
); resultobj
= Py_None
;
5845 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5851 (char *) "self", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_FromInt((int)result
);
5871 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5874 wxWindow
*arg2
= (wxWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5878 (char *) "self",(char *) "window", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 (arg1
)->Initialize(arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5903 wxWindow
*arg2
= (wxWindow
*) 0 ;
5904 wxWindow
*arg3
= (wxWindow
*) 0 ;
5905 int arg4
= (int) 0 ;
5907 PyObject
* obj0
= 0 ;
5908 PyObject
* obj1
= 0 ;
5909 PyObject
* obj2
= 0 ;
5910 PyObject
* obj3
= 0 ;
5912 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 arg4
= (int) SWIG_AsInt(obj3
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5942 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5945 wxWindow
*arg2
= (wxWindow
*) 0 ;
5946 wxWindow
*arg3
= (wxWindow
*) 0 ;
5947 int arg4
= (int) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5951 PyObject
* obj2
= 0 ;
5952 PyObject
* obj3
= 0 ;
5954 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 arg4
= (int) SWIG_AsInt(obj3
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5984 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5987 wxWindow
*arg2
= (wxWindow
*) NULL
;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5992 (char *) "self",(char *) "toRemove", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (bool)(arg1
)->Unsplit(arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6018 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6021 wxWindow
*arg2
= (wxWindow
*) 0 ;
6022 wxWindow
*arg3
= (wxWindow
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 PyObject
* obj2
= 0 ;
6028 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6054 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6057 PyObject
* obj0
= 0 ;
6059 (char *) "self", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->UpdateSize();
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 Py_INCREF(Py_None
); resultobj
= Py_None
;
6079 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6107 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
;
6109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6114 (char *) "self",(char *) "width", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 arg2
= (int) SWIG_AsInt(obj1
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->SetSashSize(arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6143 (char *) "self",(char *) "width", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 arg2
= (int) SWIG_AsInt(obj1
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 (arg1
)->SetBorderSize(arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 Py_INCREF(Py_None
); resultobj
= Py_None
;
6165 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_FromInt((int)result
);
6191 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6197 (char *) "self", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_FromInt((int)result
);
6217 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6221 bool arg3
= (bool) True
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6226 (char *) "self",(char *) "position",(char *) "redraw", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 arg2
= (int) SWIG_AsInt(obj1
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 arg3
= (bool) SWIG_AsBool(obj2
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->SetSashPosition(arg2
,arg3
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "self", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_FromInt((int)result
);
6278 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "min", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 arg2
= (int) SWIG_AsInt(obj1
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetMinimumPaneSize(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_FromInt((int)result
);
6333 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6338 int arg4
= (int) 5 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 PyObject
* obj2
= 0 ;
6343 PyObject
* obj3
= 0 ;
6345 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6351 arg2
= (int) SWIG_AsInt(obj1
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6353 arg3
= (int) SWIG_AsInt(obj2
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 arg4
= (int) SWIG_AsInt(obj3
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6375 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SizeWindows();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 Py_INCREF(Py_None
); resultobj
= Py_None
;
6400 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6407 (char *) "self",(char *) "needUpdating", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 arg2
= (bool) SWIG_AsBool(obj1
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 (arg1
)->SetNeedUpdating(arg2
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6460 wxVisualAttributes result
;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "variant", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6468 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 wxVisualAttributes
* resultptr
;
6480 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6489 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6492 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6494 return Py_BuildValue((char *)"");
6496 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6499 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6500 wxSplitterEvent
*result
;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6504 (char *) "type",(char *) "splitter", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6509 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6530 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6537 (char *) "self",(char *) "pos", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 arg2
= (int) SWIG_AsInt(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 (arg1
)->SetSashPosition(arg2
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_FromInt((int)result
);
6585 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6591 (char *) "self", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= wxPyMake_wxObject(result
);
6613 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6617 PyObject
* obj0
= 0 ;
6619 (char *) "self", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_FromInt((int)result
);
6639 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6643 PyObject
* obj0
= 0 ;
6645 (char *) "self", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_FromInt((int)result
);
6665 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6668 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6670 return Py_BuildValue((char *)"");
6672 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6673 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6678 static PyObject
*_wrap_SashNameStr_get() {
6683 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6685 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6692 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6693 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6698 static PyObject
*_wrap_SashLayoutNameStr_get() {
6703 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6705 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6712 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxWindow
*arg1
= (wxWindow
*) 0 ;
6716 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6717 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6718 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6719 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6720 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6721 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6722 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6723 wxSashWindow
*result
;
6726 bool temp6
= False
;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6729 PyObject
* obj2
= 0 ;
6730 PyObject
* obj3
= 0 ;
6731 PyObject
* obj4
= 0 ;
6732 PyObject
* obj5
= 0 ;
6734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6740 arg2
= (int) SWIG_AsInt(obj1
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6751 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6755 arg5
= (long) SWIG_AsLong(obj4
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6760 arg6
= wxString_in_helper(obj5
);
6761 if (arg6
== NULL
) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6787 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxSashWindow
*result
;
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (wxSashWindow
*)new wxSashWindow();
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6809 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6812 wxWindow
*arg2
= (wxWindow
*) 0 ;
6814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6818 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6819 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6820 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6824 bool temp7
= False
;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 PyObject
* obj2
= 0 ;
6828 PyObject
* obj3
= 0 ;
6829 PyObject
* obj4
= 0 ;
6830 PyObject
* obj5
= 0 ;
6831 PyObject
* obj6
= 0 ;
6833 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg3
= (int) SWIG_AsInt(obj2
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6856 arg6
= (long) SWIG_AsLong(obj5
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6861 arg7
= wxString_in_helper(obj6
);
6862 if (arg7
== NULL
) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6890 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 PyObject
* obj2
= 0 ;
6899 (char *) "self",(char *) "edge",(char *) "sash", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6905 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6907 arg3
= (bool) SWIG_AsBool(obj2
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 Py_INCREF(Py_None
); resultobj
= Py_None
;
6923 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6931 (char *) "self",(char *) "edge", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6937 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6955 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "edge",(char *) "border", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6970 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6972 arg3
= (bool) SWIG_AsBool(obj2
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6996 (char *) "self",(char *) "edge", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7020 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7028 (char *) "self",(char *) "edge", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_FromInt((int)result
);
7050 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7057 (char *) "self",(char *) "width", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 arg2
= (int) SWIG_AsInt(obj1
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->SetDefaultBorderSize(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7085 (char *) "self", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_FromInt((int)result
);
7105 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7112 (char *) "self",(char *) "width", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 arg2
= (int) SWIG_AsInt(obj1
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 (arg1
)->SetExtraBorderSize(arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_FromInt((int)result
);
7160 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7167 (char *) "self",(char *) "min", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 arg2
= (int) SWIG_AsInt(obj1
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 (arg1
)->SetMinimumSizeX(arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "min", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 arg2
= (int) SWIG_AsInt(obj1
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->SetMinimumSizeY(arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_FromInt((int)result
);
7244 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_FromInt((int)result
);
7270 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7277 (char *) "self",(char *) "max", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7283 arg2
= (int) SWIG_AsInt(obj1
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->SetMaximumSizeX(arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7299 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self",(char *) "max", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7312 arg2
= (int) SWIG_AsInt(obj1
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 (arg1
)->SetMaximumSizeY(arg2
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "self", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_FromInt((int)result
);
7354 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_FromInt((int)result
);
7380 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7385 int arg4
= (int) 2 ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 PyObject
* obj2
= 0 ;
7390 PyObject
* obj3
= 0 ;
7392 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= (int) SWIG_AsInt(obj1
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7400 arg3
= (int) SWIG_AsInt(obj2
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 arg4
= (int) SWIG_AsInt(obj3
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_FromInt((int)result
);
7420 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "self", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 (arg1
)->SizeWindows();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7448 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7450 return Py_BuildValue((char *)"");
7452 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 int arg1
= (int) 0 ;
7455 int arg2
= (int) wxSASH_NONE
;
7456 wxSashEvent
*result
;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "id",(char *) "edge", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7465 arg1
= (int) SWIG_AsInt(obj0
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7486 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7493 (char *) "self",(char *) "edge", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7515 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7519 PyObject
* obj0
= 0 ;
7521 (char *) "self", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_FromInt((int)result
);
7541 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "self",(char *) "rect", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 Py_INCREF(Py_None
); resultobj
= Py_None
;
7573 static PyObject
*_wrap_SashEvent_GetDragRect(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_GetDragRect",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
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7594 resultptr
= new wxRect((wxRect
&) result
);
7595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7603 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7610 (char *) "self",(char *) "status", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_FromInt((int)result
);
7658 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7661 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7663 return Py_BuildValue((char *)"");
7665 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 int arg1
= (int) 0 ;
7668 wxQueryLayoutInfoEvent
*result
;
7669 PyObject
* obj0
= 0 ;
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7676 arg1
= (int) SWIG_AsInt(obj0
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7693 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7700 (char *) "self",(char *) "length", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 arg2
= (int) SWIG_AsInt(obj1
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 (arg1
)->SetRequestedLength(arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 Py_INCREF(Py_None
); resultobj
= Py_None
;
7722 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "self", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_FromInt((int)result
);
7748 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7755 (char *) "self",(char *) "flags", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 arg2
= (int) SWIG_AsInt(obj1
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->SetFlags(arg2
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "self", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_FromInt((int)result
);
7803 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "self",(char *) "size", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SetSize((wxSize
const &)*arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7835 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(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_GetSize",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
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7856 resultptr
= new wxSize((wxSize
&) result
);
7857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7865 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "orient", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7878 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_FromInt((int)result
);
7920 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "align", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7949 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_FromInt((int)result
);
7975 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7980 return Py_BuildValue((char *)"");
7982 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 int arg1
= (int) 0 ;
7985 wxCalculateLayoutEvent
*result
;
7986 PyObject
* obj0
= 0 ;
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7993 arg1
= (int) SWIG_AsInt(obj0
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8010 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "flags", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 arg2
= (int) SWIG_AsInt(obj1
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->SetFlags(arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_FromInt((int)result
);
8065 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8071 PyObject
* obj1
= 0 ;
8073 (char *) "self",(char *) "rect", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 (arg1
)->SetRect((wxRect
const &)*arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(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_GetRect",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
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8118 resultptr
= new wxRect((wxRect
&) result
);
8119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8127 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8130 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8132 return Py_BuildValue((char *)"");
8134 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxWindow
*arg1
= (wxWindow
*) 0 ;
8138 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8139 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8140 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8141 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8142 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8143 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8144 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8145 wxSashLayoutWindow
*result
;
8148 bool temp6
= False
;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8152 PyObject
* obj3
= 0 ;
8153 PyObject
* obj4
= 0 ;
8154 PyObject
* obj5
= 0 ;
8156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8162 arg2
= (int) SWIG_AsInt(obj1
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8177 arg5
= (long) SWIG_AsLong(obj4
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8182 arg6
= wxString_in_helper(obj5
);
8183 if (arg6
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8209 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxSashLayoutWindow
*result
;
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8231 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8234 wxWindow
*arg2
= (wxWindow
*) 0 ;
8236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8240 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8241 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8246 bool temp7
= False
;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 PyObject
* obj2
= 0 ;
8250 PyObject
* obj3
= 0 ;
8251 PyObject
* obj4
= 0 ;
8252 PyObject
* obj5
= 0 ;
8253 PyObject
* obj6
= 0 ;
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg3
= (int) SWIG_AsInt(obj2
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8278 arg6
= (long) SWIG_AsLong(obj5
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8283 arg7
= wxString_in_helper(obj6
);
8284 if (arg7
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8318 (char *) "self", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (int)(arg1
)->GetAlignment();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_FromInt((int)result
);
8338 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (int)(arg1
)->GetOrientation();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_FromInt((int)result
);
8364 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "self",(char *) "alignment", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 Py_INCREF(Py_None
); resultobj
= Py_None
;
8393 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8401 (char *) "self",(char *) "size", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 Py_INCREF(Py_None
); resultobj
= Py_None
;
8425 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8432 (char *) "self",(char *) "orientation", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8454 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8457 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8459 return Py_BuildValue((char *)"");
8461 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxLayoutAlgorithm
*result
;
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8483 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8511 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8512 wxRect
*arg3
= (wxRect
*) NULL
;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8516 PyObject
* obj2
= 0 ;
8518 (char *) "self",(char *) "frame",(char *) "rect", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8546 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8549 wxFrame
*arg2
= (wxFrame
*) 0 ;
8550 wxWindow
*arg3
= (wxWindow
*) NULL
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8556 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8584 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8587 wxWindow
*arg2
= (wxWindow
*) 0 ;
8588 wxWindow
*arg3
= (wxWindow
*) NULL
;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8592 PyObject
* obj2
= 0 ;
8594 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8603 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8625 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8627 return Py_BuildValue((char *)"");
8629 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxWindow
*arg1
= (wxWindow
*) 0 ;
8632 int arg2
= (int) wxBORDER_NONE
;
8633 wxPopupWindow
*result
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "parent",(char *) "flags", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (int) SWIG_AsInt(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8661 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxPopupWindow
*result
;
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 result
= (wxPopupWindow
*)new wxPopupWindow();
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8683 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8685 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8686 wxWindow
*arg2
= (wxWindow
*) 0 ;
8687 int arg3
= (int) wxBORDER_NONE
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 PyObject
* obj2
= 0 ;
8693 (char *) "self",(char *) "parent",(char *) "flags", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8702 arg3
= (int) SWIG_AsInt(obj2
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8721 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8732 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8744 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8765 return Py_BuildValue((char *)"");
8767 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxWindow
*arg1
= (wxWindow
*) 0 ;
8770 int arg2
= (int) wxBORDER_NONE
;
8771 wxPyPopupTransientWindow
*result
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "parent",(char *) "style", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 arg2
= (int) SWIG_AsInt(obj1
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8799 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxPyPopupTransientWindow
*result
;
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8821 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8824 PyObject
*arg2
= (PyObject
*) 0 ;
8825 PyObject
*arg3
= (PyObject
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8830 (char *) "self",(char *) "self",(char *) "_class", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8855 wxWindow
*arg2
= (wxWindow
*) NULL
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "focus", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->Popup(arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8911 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8913 return Py_BuildValue((char *)"");
8915 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxWindow
*arg1
= (wxWindow
*) 0 ;
8918 wxString
*arg2
= 0 ;
8919 int arg3
= (int) 100 ;
8920 wxRect
*arg4
= (wxRect
*) NULL
;
8921 wxTipWindow
*result
;
8922 bool temp2
= False
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 PyObject
* obj3
= 0 ;
8928 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 arg2
= wxString_in_helper(obj1
);
8936 if (arg2
== NULL
) SWIG_fail
;
8940 arg3
= (int) SWIG_AsInt(obj2
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8969 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "rectBound", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "self", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 Py_INCREF(Py_None
); resultobj
= Py_None
;
9026 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9029 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9031 return Py_BuildValue((char *)"");
9033 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxWindow
*arg1
= (wxWindow
*) 0 ;
9036 int arg2
= (int) wxID_ANY
;
9037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9041 long arg5
= (long) 0 ;
9042 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9044 wxPyVScrolledWindow
*result
;
9047 bool temp6
= False
;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9050 PyObject
* obj2
= 0 ;
9051 PyObject
* obj3
= 0 ;
9052 PyObject
* obj4
= 0 ;
9053 PyObject
* obj5
= 0 ;
9055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= (int) SWIG_AsInt(obj1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9078 arg5
= (long) SWIG_AsLong(obj4
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9083 arg6
= wxString_in_helper(obj5
);
9084 if (arg6
== NULL
) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9110 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxPyVScrolledWindow
*result
;
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9132 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9135 PyObject
*arg2
= (PyObject
*) 0 ;
9136 PyObject
*arg3
= (PyObject
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 PyObject
* obj2
= 0 ;
9141 (char *) "self",(char *) "self",(char *) "_class", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 Py_INCREF(Py_None
); resultobj
= Py_None
;
9163 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9166 wxWindow
*arg2
= (wxWindow
*) 0 ;
9167 int arg3
= (int) wxID_ANY
;
9168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9172 long arg6
= (long) 0 ;
9173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9178 bool temp7
= False
;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9181 PyObject
* obj2
= 0 ;
9182 PyObject
* obj3
= 0 ;
9183 PyObject
* obj4
= 0 ;
9184 PyObject
* obj5
= 0 ;
9185 PyObject
* obj6
= 0 ;
9187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 arg3
= (int) SWIG_AsInt(obj2
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9212 arg6
= (long) SWIG_AsLong(obj5
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9217 arg7
= wxString_in_helper(obj6
);
9218 if (arg7
== NULL
) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9246 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9253 (char *) "self",(char *) "count", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 (arg1
)->SetLineCount(arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 Py_INCREF(Py_None
); resultobj
= Py_None
;
9275 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9283 (char *) "self",(char *) "line", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9289 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9315 (char *) "self",(char *) "lines", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 arg2
= (int) SWIG_AsInt(obj1
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)(arg1
)->ScrollLines(arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9339 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9347 (char *) "self",(char *) "pages", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 arg2
= (int) SWIG_AsInt(obj1
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (bool)(arg1
)->ScrollPages(arg2
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9371 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9378 (char *) "self",(char *) "line", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->RefreshLine(arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 Py_INCREF(Py_None
); resultobj
= Py_None
;
9400 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 PyObject
* obj2
= 0 ;
9409 (char *) "self",(char *) "from",(char *) "to", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9417 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 (arg1
)->RefreshLines(arg2
,arg3
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 Py_INCREF(Py_None
); resultobj
= Py_None
;
9433 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 PyObject
* obj2
= 0 ;
9443 (char *) "self",(char *) "x",(char *) "y", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 arg2
= (int) SWIG_AsInt(obj1
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9451 arg3
= (int) SWIG_AsInt(obj2
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_FromInt((int)result
);
9467 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9476 (char *) "self",(char *) "pt", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_FromInt((int)result
);
9500 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->RefreshAll();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 Py_INCREF(Py_None
); resultobj
= Py_None
;
9525 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9551 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9577 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9603 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9611 (char *) "self",(char *) "line", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9635 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9638 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9640 return Py_BuildValue((char *)"");
9642 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9643 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9648 static PyObject
*_wrap_VListBoxNameStr_get() {
9653 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9655 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9662 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxWindow
*arg1
= (wxWindow
*) 0 ;
9665 int arg2
= (int) wxID_ANY
;
9666 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9667 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9668 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9669 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9670 long arg5
= (long) 0 ;
9671 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9672 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9673 wxPyVListBox
*result
;
9676 bool temp6
= False
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 PyObject
* obj2
= 0 ;
9680 PyObject
* obj3
= 0 ;
9681 PyObject
* obj4
= 0 ;
9682 PyObject
* obj5
= 0 ;
9684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 arg2
= (int) SWIG_AsInt(obj1
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9703 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9707 arg5
= (long) SWIG_AsLong(obj4
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9712 arg6
= wxString_in_helper(obj5
);
9713 if (arg6
== NULL
) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9739 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxPyVListBox
*result
;
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (wxPyVListBox
*)new wxPyVListBox();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9761 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9764 PyObject
*arg2
= (PyObject
*) 0 ;
9765 PyObject
*arg3
= (PyObject
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 PyObject
* obj2
= 0 ;
9770 (char *) "self",(char *) "self",(char *) "_class", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 Py_INCREF(Py_None
); resultobj
= Py_None
;
9792 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9795 wxWindow
*arg2
= (wxWindow
*) 0 ;
9796 int arg3
= (int) wxID_ANY
;
9797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9801 long arg6
= (long) 0 ;
9802 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9803 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9807 bool temp7
= False
;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9811 PyObject
* obj3
= 0 ;
9812 PyObject
* obj4
= 0 ;
9813 PyObject
* obj5
= 0 ;
9814 PyObject
* obj6
= 0 ;
9816 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 arg3
= (int) SWIG_AsInt(obj2
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9841 arg6
= (long) SWIG_AsLong(obj5
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9846 arg7
= wxString_in_helper(obj6
);
9847 if (arg7
== NULL
) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9901 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9929 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_FromInt((int)result
);
9955 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9963 (char *) "self",(char *) "item", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9987 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9989 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9995 (char *) "self",(char *) "item", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10045 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10048 unsigned long *arg2
= 0 ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "cookie", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10062 if (arg2
== NULL
) {
10063 PyErr_SetString(PyExc_TypeError
,"null reference");
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_FromInt((int)result
);
10080 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10083 unsigned long *arg2
= 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "cookie", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10097 if (arg2
== NULL
) {
10098 PyErr_SetString(PyExc_TypeError
,"null reference");
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_FromInt((int)result
);
10115 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10135 wxPoint
* resultptr
;
10136 resultptr
= new wxPoint((wxPoint
&) result
);
10137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10145 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10161 result
= (wxColour
*) &_result_ref
;
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10174 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "count", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 (arg1
)->SetItemCount(arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 Py_INCREF(Py_None
); resultobj
= Py_None
;
10203 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "selection", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 arg2
= (int) SWIG_AsInt(obj1
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 (arg1
)->SetSelection(arg2
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 Py_INCREF(Py_None
); resultobj
= Py_None
;
10257 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10261 bool arg3
= (bool) True
;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 PyObject
* obj2
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "item",(char *) "select", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 arg3
= (bool) SWIG_AsBool(obj2
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self",(char *) "from",(char *) "to", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10313 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10331 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self",(char *) "item", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 (arg1
)->Toggle(arg2
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 Py_INCREF(Py_None
); resultobj
= Py_None
;
10360 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (bool)(arg1
)->SelectAll();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10388 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (bool)(arg1
)->DeselectAll();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10416 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10419 wxPoint
*arg2
= 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "pt", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 Py_INCREF(Py_None
); resultobj
= Py_None
;
10448 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self",(char *) "x",(char *) "y", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg2
= (int) SWIG_AsInt(obj1
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10465 arg3
= (int) SWIG_AsInt(obj2
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 (arg1
)->SetMargins(arg2
,arg3
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 Py_INCREF(Py_None
); resultobj
= Py_None
;
10481 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10484 wxColour
*arg2
= 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "col", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10516 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10518 return Py_BuildValue((char *)"");
10520 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxWindow
*arg1
= (wxWindow
*) 0 ;
10523 int arg2
= (int) wxID_ANY
;
10524 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10525 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10526 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10527 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10528 long arg5
= (long) 0 ;
10529 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10530 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10531 wxPyHtmlListBox
*result
;
10534 bool temp6
= False
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 PyObject
* obj3
= 0 ;
10539 PyObject
* obj4
= 0 ;
10540 PyObject
* obj5
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 arg2
= (int) SWIG_AsInt(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10565 arg5
= (long) SWIG_AsLong(obj4
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10570 arg6
= wxString_in_helper(obj5
);
10571 if (arg6
== NULL
) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10597 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxPyHtmlListBox
*result
;
10600 char *kwnames
[] = {
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10619 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10622 PyObject
*arg2
= (PyObject
*) 0 ;
10623 PyObject
*arg3
= (PyObject
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 PyObject
* obj2
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "self",(char *) "_class", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 Py_INCREF(Py_None
); resultobj
= Py_None
;
10650 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10653 wxWindow
*arg2
= (wxWindow
*) 0 ;
10654 int arg3
= (int) wxID_ANY
;
10655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10659 long arg6
= (long) 0 ;
10660 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10665 bool temp7
= False
;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 PyObject
* obj3
= 0 ;
10670 PyObject
* obj4
= 0 ;
10671 PyObject
* obj5
= 0 ;
10672 PyObject
* obj6
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 arg3
= (int) SWIG_AsInt(obj2
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10699 arg6
= (long) SWIG_AsLong(obj5
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10704 arg7
= wxString_in_helper(obj6
);
10705 if (arg7
== NULL
) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10733 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->RefreshAll();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self",(char *) "count", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetItemCount(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10790 wxFileSystem
*result
;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10803 result
= (wxFileSystem
*) &_result_ref
;
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10816 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10819 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10821 return Py_BuildValue((char *)"");
10823 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxTaskBarIcon
*result
;
10826 char *kwnames
[] = {
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10845 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10870 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxTaskBarIcon_Destroy(arg1
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10923 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10951 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10955 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10956 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10958 bool temp3
= False
;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 PyObject
* obj2
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10972 if (arg2
== NULL
) {
10973 PyErr_SetString(PyExc_TypeError
,"null reference");
10978 arg3
= wxString_in_helper(obj2
);
10979 if (arg3
== NULL
) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)(arg1
)->RemoveIcon();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11038 wxMenu
*arg2
= (wxMenu
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "menu", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->PopupMenu(arg2
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11072 return Py_BuildValue((char *)"");
11074 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11077 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11078 wxTaskBarIconEvent
*result
;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "evtType",(char *) "tbIcon", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11086 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11104 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11107 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11109 return Py_BuildValue((char *)"");
11111 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11112 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11117 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11122 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11124 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11131 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11132 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11137 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11142 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11144 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11151 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11152 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11157 static PyObject
*_wrap_DirDialogNameStr_get() {
11162 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11164 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11171 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11172 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11177 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11182 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11184 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11191 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11192 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11197 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11202 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11204 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11211 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11212 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11217 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11222 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11224 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11231 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxColourData
*result
;
11234 char *kwnames
[] = {
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (wxColourData
*)new wxColourData();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11253 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxColourData
*arg1
= (wxColourData
*) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxColourData
*arg1
= (wxColourData
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (bool)(arg1
)->GetChooseFull();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11306 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxColourData
*arg1
= (wxColourData
*) 0 ;
11310 PyObject
* obj0
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (arg1
)->GetColour();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 wxColour
* resultptr
;
11327 resultptr
= new wxColour((wxColour
&) result
);
11328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11336 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxColourData
*arg1
= (wxColourData
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "i", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= (int) SWIG_AsInt(obj1
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (arg1
)->GetCustomColour(arg2
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 wxColour
* resultptr
;
11361 resultptr
= new wxColour((wxColour
&) result
);
11362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11370 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxColourData
*arg1
= (wxColourData
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "flag", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (int) SWIG_AsInt(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->SetChooseFull(arg2
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxColourData
*arg1
= (wxColourData
*) 0 ;
11402 wxColour
*arg2
= 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "colour", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 (arg1
)->SetColour((wxColour
const &)*arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 Py_INCREF(Py_None
); resultobj
= Py_None
;
11431 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxColourData
*arg1
= (wxColourData
*) 0 ;
11435 wxColour
*arg3
= 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 PyObject
* obj2
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "i",(char *) "colour", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11447 arg2
= (int) SWIG_AsInt(obj1
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11470 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11472 return Py_BuildValue((char *)"");
11474 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11476 wxWindow
*arg1
= (wxWindow
*) 0 ;
11477 wxColourData
*arg2
= (wxColourData
*) NULL
;
11478 wxColourDialog
*result
;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "parent",(char *) "data", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11506 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11509 wxColourData
*result
;
11510 PyObject
* obj0
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "self", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11522 result
= (wxColourData
*) &_result_ref
;
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11535 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11538 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11540 return Py_BuildValue((char *)"");
11542 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxWindow
*arg1
= (wxWindow
*) 0 ;
11545 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11546 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11549 long arg4
= (long) 0 ;
11550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11554 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11556 wxDirDialog
*result
;
11557 bool temp2
= False
;
11558 bool temp3
= False
;
11561 bool temp7
= False
;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 PyObject
* obj2
= 0 ;
11565 PyObject
* obj3
= 0 ;
11566 PyObject
* obj4
= 0 ;
11567 PyObject
* obj5
= 0 ;
11568 PyObject
* obj6
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 arg2
= wxString_in_helper(obj1
);
11579 if (arg2
== NULL
) SWIG_fail
;
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11591 arg4
= (long) SWIG_AsLong(obj3
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11597 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11603 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11608 arg7
= wxString_in_helper(obj6
);
11609 if (arg7
== NULL
) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11651 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (arg1
)->GetPath();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11683 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (arg1
)->GetMessage();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11715 static PyObject
*_wrap_DirDialog_GetStyle(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_GetStyle",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
= (long)(arg1
)->GetStyle();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_FromLong((long)result
);
11741 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11744 wxString
*arg2
= 0 ;
11745 bool temp2
= False
;
11746 PyObject
* obj0
= 0 ;
11747 PyObject
* obj1
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self",(char *) "message", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 arg2
= wxString_in_helper(obj1
);
11757 if (arg2
== NULL
) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 (arg1
)->SetMessage((wxString
const &)*arg2
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11785 wxString
*arg2
= 0 ;
11786 bool temp2
= False
;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "path", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 arg2
= wxString_in_helper(obj1
);
11798 if (arg2
== NULL
) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 (arg1
)->SetPath((wxString
const &)*arg2
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 Py_INCREF(Py_None
); resultobj
= Py_None
;
11823 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11826 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11828 return Py_BuildValue((char *)"");
11830 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxWindow
*arg1
= (wxWindow
*) 0 ;
11833 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11834 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11835 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11836 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11837 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11838 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11839 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11840 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11841 long arg6
= (long) 0 ;
11842 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11843 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11844 wxFileDialog
*result
;
11845 bool temp2
= False
;
11846 bool temp3
= False
;
11847 bool temp4
= False
;
11848 bool temp5
= False
;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 PyObject
* obj3
= 0 ;
11854 PyObject
* obj4
= 0 ;
11855 PyObject
* obj5
= 0 ;
11856 PyObject
* obj6
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 arg2
= wxString_in_helper(obj1
);
11867 if (arg2
== NULL
) SWIG_fail
;
11873 arg3
= wxString_in_helper(obj2
);
11874 if (arg3
== NULL
) SWIG_fail
;
11880 arg4
= wxString_in_helper(obj3
);
11881 if (arg4
== NULL
) SWIG_fail
;
11887 arg5
= wxString_in_helper(obj4
);
11888 if (arg5
== NULL
) SWIG_fail
;
11893 arg6
= (long) SWIG_AsLong(obj5
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11899 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11948 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11951 wxString
*arg2
= 0 ;
11952 bool temp2
= False
;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "message", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11963 arg2
= wxString_in_helper(obj1
);
11964 if (arg2
== NULL
) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 (arg1
)->SetMessage((wxString
const &)*arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11989 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11992 wxString
*arg2
= 0 ;
11993 bool temp2
= False
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "path", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetPath((wxString
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12033 wxString
*arg2
= 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "dir", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 arg2
= wxString_in_helper(obj1
);
12046 if (arg2
== NULL
) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12071 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12074 wxString
*arg2
= 0 ;
12075 bool temp2
= False
;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "name", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12086 arg2
= wxString_in_helper(obj1
);
12087 if (arg2
== NULL
) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 (arg1
)->SetFilename((wxString
const &)*arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 Py_INCREF(Py_None
); resultobj
= Py_None
;
12112 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12115 wxString
*arg2
= 0 ;
12116 bool temp2
= False
;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "wildCard", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 arg2
= wxString_in_helper(obj1
);
12128 if (arg2
== NULL
) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 Py_INCREF(Py_None
); resultobj
= Py_None
;
12153 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 PyObject
* obj1
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "style", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 arg2
= (long) SWIG_AsLong(obj1
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 (arg1
)->SetStyle(arg2
);
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 Py_INCREF(Py_None
); resultobj
= Py_None
;
12182 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self",(char *) "filterIndex", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 arg2
= (int) SWIG_AsInt(obj1
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->SetFilterIndex(arg2
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12243 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12275 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12307 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12311 PyObject
* obj0
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12339 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12371 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_FromLong((long)result
);
12397 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12401 PyObject
* obj0
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_FromInt((int)result
);
12423 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= result
;
12449 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
;
12475 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12478 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12480 return Py_BuildValue((char *)"");
12482 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxWindow
*arg1
= (wxWindow
*) 0 ;
12485 wxString
*arg2
= 0 ;
12486 wxString
*arg3
= 0 ;
12487 int arg4
= (int) 0 ;
12488 wxString
*arg5
= (wxString
*) 0 ;
12489 long arg6
= (long) wxCHOICEDLG_STYLE
;
12490 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12491 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12492 wxMultiChoiceDialog
*result
;
12493 bool temp2
= False
;
12494 bool temp3
= False
;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 PyObject
* obj2
= 0 ;
12499 PyObject
* obj3
= 0 ;
12500 PyObject
* obj4
= 0 ;
12501 PyObject
* obj5
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 arg2
= wxString_in_helper(obj1
);
12511 if (arg2
== NULL
) SWIG_fail
;
12515 arg3
= wxString_in_helper(obj2
);
12516 if (arg3
== NULL
) SWIG_fail
;
12521 arg4
= PyList_Size(obj3
);
12522 arg5
= wxString_LIST_helper(obj3
);
12523 if (arg5
== NULL
) SWIG_fail
;
12527 arg6
= (long) SWIG_AsLong(obj4
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12533 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12553 if (arg5
) delete [] arg5
;
12566 if (arg5
) delete [] arg5
;
12572 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12575 wxArrayInt
*arg2
= 0 ;
12576 bool temp2
= False
;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "selections", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12587 if (! PySequence_Check(obj1
)) {
12588 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12591 arg2
= new wxArrayInt
;
12593 int i
, len
=PySequence_Length(obj1
);
12594 for (i
=0; i
<len
; i
++) {
12595 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12596 PyObject
* number
= PyNumber_Int(item
);
12597 arg2
->Add(PyInt_AS_LONG(number
));
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 if (temp2
) delete arg2
;
12616 if (temp2
) delete arg2
;
12622 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= result
;
12648 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12651 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12653 return Py_BuildValue((char *)"");
12655 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxWindow
*arg1
= (wxWindow
*) 0 ;
12658 wxString
*arg2
= 0 ;
12659 wxString
*arg3
= 0 ;
12661 wxString
*arg5
= (wxString
*) 0 ;
12662 long arg6
= (long) wxCHOICEDLG_STYLE
;
12663 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12664 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12665 wxSingleChoiceDialog
*result
;
12666 bool temp2
= False
;
12667 bool temp3
= False
;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 PyObject
* obj3
= 0 ;
12673 PyObject
* obj4
= 0 ;
12674 PyObject
* obj5
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 arg2
= wxString_in_helper(obj1
);
12684 if (arg2
== NULL
) SWIG_fail
;
12688 arg3
= wxString_in_helper(obj2
);
12689 if (arg3
== NULL
) SWIG_fail
;
12693 arg4
= PyList_Size(obj3
);
12694 arg5
= wxString_LIST_helper(obj3
);
12695 if (arg5
== NULL
) SWIG_fail
;
12698 arg6
= (long) SWIG_AsLong(obj4
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12704 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12724 if (arg5
) delete [] arg5
;
12737 if (arg5
) delete [] arg5
;
12743 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (int)(arg1
)->GetSelection();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_FromInt((int)result
);
12769 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (arg1
)->GetStringSelection();
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12801 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self",(char *) "sel", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 arg2
= (int) SWIG_AsInt(obj1
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 (arg1
)->SetSelection(arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12835 return Py_BuildValue((char *)"");
12837 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 wxString
*arg2
= 0 ;
12841 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12845 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12846 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12847 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12848 wxTextEntryDialog
*result
;
12849 bool temp2
= False
;
12850 bool temp3
= False
;
12851 bool temp4
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 PyObject
* obj3
= 0 ;
12857 PyObject
* obj4
= 0 ;
12858 PyObject
* obj5
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 arg2
= wxString_in_helper(obj1
);
12868 if (arg2
== NULL
) SWIG_fail
;
12873 arg3
= wxString_in_helper(obj2
);
12874 if (arg3
== NULL
) SWIG_fail
;
12880 arg4
= wxString_in_helper(obj3
);
12881 if (arg4
== NULL
) SWIG_fail
;
12886 arg5
= (long) SWIG_AsLong(obj4
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12892 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12933 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (arg1
)->GetValue();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12965 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12968 wxString
*arg2
= 0 ;
12969 bool temp2
= False
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "value", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg2
= wxString_in_helper(obj1
);
12981 if (arg2
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetValue((wxString
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
13006 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13009 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13011 return Py_BuildValue((char *)"");
13013 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxFontData
*result
;
13016 char *kwnames
[] = {
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (wxFontData
*)new wxFontData();
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13035 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxFontData
*arg1
= (wxFontData
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxFontData
*arg1
= (wxFontData
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "enable", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 arg2
= (bool) SWIG_AsBool(obj1
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 (arg1
)->EnableEffects(arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxFontData
*arg1
= (wxFontData
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)(arg1
)->GetAllowSymbols();
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13117 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxFontData
*arg1
= (wxFontData
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (arg1
)->GetColour();
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13137 wxColour
* resultptr
;
13138 resultptr
= new wxColour((wxColour
&) result
);
13139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13147 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxFontData
*arg1
= (wxFontData
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (arg1
)->GetChosenFont();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 wxFont
* resultptr
;
13168 resultptr
= new wxFont((wxFont
&) result
);
13169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13177 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxFontData
*arg1
= (wxFontData
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (bool)(arg1
)->GetEnableEffects();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13205 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxFontData
*arg1
= (wxFontData
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 char *kwnames
[] = {
13211 (char *) "self", NULL
13214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (arg1
)->GetInitialFont();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13225 wxFont
* resultptr
;
13226 resultptr
= new wxFont((wxFont
&) result
);
13227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13235 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxFontData
*arg1
= (wxFontData
*) 0 ;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (bool)(arg1
)->GetShowHelp();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13263 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxFontData
*arg1
= (wxFontData
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "allowSymbols", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= (bool) SWIG_AsBool(obj1
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 (arg1
)->SetAllowSymbols(arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 Py_INCREF(Py_None
); resultobj
= Py_None
;
13292 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxFontData
*arg1
= (wxFontData
*) 0 ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self",(char *) "font", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13308 if (arg2
== NULL
) {
13309 PyErr_SetString(PyExc_TypeError
,"null reference");
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxFontData
*arg1
= (wxFontData
*) 0 ;
13329 wxColour
*arg2
= 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "colour", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetColour((wxColour
const &)*arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxFontData
*arg1
= (wxFontData
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "font", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13374 if (arg2
== NULL
) {
13375 PyErr_SetString(PyExc_TypeError
,"null reference");
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 Py_INCREF(Py_None
); resultobj
= Py_None
;
13392 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxFontData
*arg1
= (wxFontData
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 PyObject
* obj2
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "min",(char *) "max", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int) SWIG_AsInt(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13409 arg3
= (int) SWIG_AsInt(obj2
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->SetRange(arg2
,arg3
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxFontData
*arg1
= (wxFontData
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "showHelp", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 arg2
= (bool) SWIG_AsBool(obj1
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetShowHelp(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13459 return Py_BuildValue((char *)"");
13461 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxWindow
*arg1
= (wxWindow
*) 0 ;
13464 wxFontData
*arg2
= 0 ;
13465 wxFontDialog
*result
;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "parent",(char *) "data", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13478 if (arg2
== NULL
) {
13479 PyErr_SetString(PyExc_TypeError
,"null reference");
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13496 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13499 wxFontData
*result
;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13512 result
= (wxFontData
*) &_result_ref
;
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13525 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13528 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13530 return Py_BuildValue((char *)"");
13532 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxWindow
*arg1
= (wxWindow
*) 0 ;
13535 wxString
*arg2
= 0 ;
13536 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13538 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13539 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13540 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13541 wxMessageDialog
*result
;
13542 bool temp2
= False
;
13543 bool temp3
= False
;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 PyObject
* obj2
= 0 ;
13548 PyObject
* obj3
= 0 ;
13549 PyObject
* obj4
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 arg2
= wxString_in_helper(obj1
);
13559 if (arg2
== NULL
) SWIG_fail
;
13564 arg3
= wxString_in_helper(obj2
);
13565 if (arg3
== NULL
) SWIG_fail
;
13570 arg4
= (long) SWIG_AsLong(obj3
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13609 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13614 return Py_BuildValue((char *)"");
13616 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxString
*arg1
= 0 ;
13619 wxString
*arg2
= 0 ;
13620 int arg3
= (int) 100 ;
13621 wxWindow
*arg4
= (wxWindow
*) NULL
;
13622 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13623 wxProgressDialog
*result
;
13624 bool temp1
= False
;
13625 bool temp2
= False
;
13626 PyObject
* obj0
= 0 ;
13627 PyObject
* obj1
= 0 ;
13628 PyObject
* obj2
= 0 ;
13629 PyObject
* obj3
= 0 ;
13630 PyObject
* obj4
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13637 arg1
= wxString_in_helper(obj0
);
13638 if (arg1
== NULL
) SWIG_fail
;
13642 arg2
= wxString_in_helper(obj1
);
13643 if (arg2
== NULL
) SWIG_fail
;
13647 arg3
= (int) SWIG_AsInt(obj2
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13651 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg5
= (int) SWIG_AsInt(obj4
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13688 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13695 bool temp3
= False
;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 arg2
= (int) SWIG_AsInt(obj1
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 arg3
= wxString_in_helper(obj2
);
13711 if (arg3
== NULL
) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13739 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 Py_INCREF(Py_None
); resultobj
= Py_None
;
13764 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13767 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13769 return Py_BuildValue((char *)"");
13771 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13774 int arg2
= (int) 0 ;
13775 wxFindDialogEvent
*result
;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "commandType",(char *) "id", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13784 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13788 arg2
= (int) SWIG_AsInt(obj1
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13805 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (int)(arg1
)->GetFlags();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_FromInt((int)result
);
13831 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 wxString
const &_result_ref
= (arg1
)->GetFindString();
13847 result
= (wxString
*) &_result_ref
;
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13866 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13882 result
= (wxString
*) &_result_ref
;
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13901 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13904 wxFindReplaceDialog
*result
;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13927 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 PyObject
* obj1
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self",(char *) "flags", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13940 arg2
= (int) SWIG_AsInt(obj1
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 (arg1
)->SetFlags(arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 Py_INCREF(Py_None
); resultobj
= Py_None
;
13956 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13959 wxString
*arg2
= 0 ;
13960 bool temp2
= False
;
13961 PyObject
* obj0
= 0 ;
13962 PyObject
* obj1
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self",(char *) "str", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 arg2
= wxString_in_helper(obj1
);
13972 if (arg2
== NULL
) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->SetFindString((wxString
const &)*arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 Py_INCREF(Py_None
); resultobj
= Py_None
;
13997 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
;
13999 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14000 wxString
*arg2
= 0 ;
14001 bool temp2
= False
;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "str", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 arg2
= wxString_in_helper(obj1
);
14013 if (arg2
== NULL
) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 Py_INCREF(Py_None
); resultobj
= Py_None
;
14038 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14041 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14043 return Py_BuildValue((char *)"");
14045 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 int arg1
= (int) 0 ;
14048 wxFindReplaceData
*result
;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "flags", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14056 arg1
= (int) SWIG_AsInt(obj0
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14073 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 Py_INCREF(Py_None
); resultobj
= Py_None
;
14098 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 wxString
const &_result_ref
= (arg1
)->GetFindString();
14114 result
= (wxString
*) &_result_ref
;
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14133 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14149 result
= (wxString
*) &_result_ref
;
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14159 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14168 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (int)(arg1
)->GetFlags();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_FromInt((int)result
);
14194 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self",(char *) "flags", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 arg2
= (int) SWIG_AsInt(obj1
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 (arg1
)->SetFlags(arg2
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14226 wxString
*arg2
= 0 ;
14227 bool temp2
= False
;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "str", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 arg2
= wxString_in_helper(obj1
);
14239 if (arg2
== NULL
) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 (arg1
)->SetFindString((wxString
const &)*arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14267 wxString
*arg2
= 0 ;
14268 bool temp2
= False
;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self",(char *) "str", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 arg2
= wxString_in_helper(obj1
);
14280 if (arg2
== NULL
) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 Py_INCREF(Py_None
); resultobj
= Py_None
;
14305 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14308 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14310 return Py_BuildValue((char *)"");
14312 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxWindow
*arg1
= (wxWindow
*) 0 ;
14315 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14316 wxString
*arg3
= 0 ;
14317 int arg4
= (int) 0 ;
14318 wxFindReplaceDialog
*result
;
14319 bool temp3
= False
;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 PyObject
* obj2
= 0 ;
14323 PyObject
* obj3
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 arg3
= wxString_in_helper(obj2
);
14335 if (arg3
== NULL
) SWIG_fail
;
14339 arg4
= (int) SWIG_AsInt(obj3
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14364 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxFindReplaceDialog
*result
;
14367 char *kwnames
[] = {
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14386 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14389 wxWindow
*arg2
= (wxWindow
*) 0 ;
14390 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14391 wxString
*arg4
= 0 ;
14392 int arg5
= (int) 0 ;
14394 bool temp4
= False
;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 PyObject
* obj2
= 0 ;
14398 PyObject
* obj3
= 0 ;
14399 PyObject
* obj4
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 arg4
= wxString_in_helper(obj3
);
14413 if (arg4
== NULL
) SWIG_fail
;
14417 arg5
= (int) SWIG_AsInt(obj4
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14444 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14447 wxFindReplaceData
*result
;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14470 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14473 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 char *kwnames
[] = {
14477 (char *) "self",(char *) "data", NULL
14480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 (arg1
)->SetData(arg2
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 Py_INCREF(Py_None
); resultobj
= Py_None
;
14499 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14502 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14504 return Py_BuildValue((char *)"");
14506 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxWindow
*arg1
= (wxWindow
*) 0 ;
14510 wxString
*arg3
= 0 ;
14511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14515 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14516 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14517 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14518 wxMDIParentFrame
*result
;
14519 bool temp3
= False
;
14522 bool temp7
= False
;
14523 PyObject
* obj0
= 0 ;
14524 PyObject
* obj1
= 0 ;
14525 PyObject
* obj2
= 0 ;
14526 PyObject
* obj3
= 0 ;
14527 PyObject
* obj4
= 0 ;
14528 PyObject
* obj5
= 0 ;
14529 PyObject
* obj6
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 arg2
= (int const) SWIG_AsInt(obj1
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 arg3
= wxString_in_helper(obj2
);
14541 if (arg3
== NULL
) SWIG_fail
;
14547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14557 arg6
= (long) SWIG_AsLong(obj5
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14562 arg7
= wxString_in_helper(obj6
);
14563 if (arg7
== NULL
) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14597 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxMDIParentFrame
*result
;
14600 char *kwnames
[] = {
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14619 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14622 wxWindow
*arg2
= (wxWindow
*) 0 ;
14624 wxString
*arg4
= 0 ;
14625 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14626 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14627 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14628 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14629 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14630 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14631 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14633 bool temp4
= False
;
14636 bool temp8
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 PyObject
* obj2
= 0 ;
14640 PyObject
* obj3
= 0 ;
14641 PyObject
* obj4
= 0 ;
14642 PyObject
* obj5
= 0 ;
14643 PyObject
* obj6
= 0 ;
14644 PyObject
* obj7
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 arg3
= (int const) SWIG_AsInt(obj2
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 arg4
= wxString_in_helper(obj3
);
14658 if (arg4
== NULL
) SWIG_fail
;
14664 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14670 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14674 arg7
= (long) SWIG_AsLong(obj6
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14679 arg8
= wxString_in_helper(obj7
);
14680 if (arg8
== NULL
) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14716 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 (arg1
)->ActivateNext();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 Py_INCREF(Py_None
); resultobj
= Py_None
;
14741 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 (arg1
)->ActivatePrevious();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 Py_INCREF(Py_None
); resultobj
= Py_None
;
14766 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->ArrangeIcons();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 Py_INCREF(Py_None
); resultobj
= Py_None
;
14816 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14819 wxMDIChildFrame
*result
;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= wxPyMake_wxObject(result
);
14844 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14847 wxMDIClientWindow
*result
;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= wxPyMake_wxObject(result
);
14872 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxWindow
*)(arg1
)->GetToolBar();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= wxPyMake_wxObject(result
);
14900 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= wxPyMake_wxObject(result
);
14928 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14931 wxMenu
*arg2
= (wxMenu
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "menu", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->SetWindowMenu(arg2
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14960 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "toolbar", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 (arg1
)->SetToolBar(arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15011 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15014 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15016 return Py_BuildValue((char *)"");
15018 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15022 wxString
*arg3
= 0 ;
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 *)"OOO|OOOO: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
;
15049 arg2
= (int const) SWIG_AsInt(obj1
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 arg3
= wxString_in_helper(obj2
);
15053 if (arg3
== NULL
) SWIG_fail
;
15059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15069 arg6
= (long) SWIG_AsLong(obj5
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15074 arg7
= wxString_in_helper(obj6
);
15075 if (arg7
== NULL
) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= wxPyMake_wxObject(result
);
15111 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxMDIChildFrame
*result
;
15114 char *kwnames
[] = {
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= wxPyMake_wxObject(result
);
15135 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15138 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15140 wxString
*arg4
= 0 ;
15141 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15142 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15143 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15144 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15145 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15146 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15147 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15149 bool temp4
= False
;
15152 bool temp8
= False
;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 PyObject
* obj2
= 0 ;
15156 PyObject
* obj3
= 0 ;
15157 PyObject
* obj4
= 0 ;
15158 PyObject
* obj5
= 0 ;
15159 PyObject
* obj6
= 0 ;
15160 PyObject
* obj7
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 arg3
= (int const) SWIG_AsInt(obj2
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 arg4
= wxString_in_helper(obj3
);
15174 if (arg4
== NULL
) SWIG_fail
;
15180 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15186 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15190 arg7
= (long) SWIG_AsLong(obj6
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15195 arg8
= wxString_in_helper(obj7
);
15196 if (arg8
== NULL
) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15232 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->Activate();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "maximize", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 arg2
= (bool) SWIG_AsBool(obj1
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 (arg1
)->Maximize(arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 Py_INCREF(Py_None
); resultobj
= Py_None
;
15286 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 Py_INCREF(Py_None
); resultobj
= Py_None
;
15311 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15314 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15316 return Py_BuildValue((char *)"");
15318 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15321 long arg2
= (long) 0 ;
15322 wxMDIClientWindow
*result
;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "parent",(char *) "style", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 arg2
= (long) SWIG_AsLong(obj1
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= wxPyMake_wxObject(result
);
15352 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxMDIClientWindow
*result
;
15355 char *kwnames
[] = {
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= wxPyMake_wxObject(result
);
15376 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15379 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15380 long arg3
= (long) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 PyObject
* obj2
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "parent",(char *) "style", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 arg3
= (long) SWIG_AsLong(obj2
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15414 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15419 return Py_BuildValue((char *)"");
15421 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxWindow
*arg1
= (wxWindow
*) 0 ;
15425 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15426 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15427 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15428 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15429 long arg5
= (long) 0 ;
15430 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15431 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15432 wxPyWindow
*result
;
15435 bool temp6
= False
;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 PyObject
* obj2
= 0 ;
15439 PyObject
* obj3
= 0 ;
15440 PyObject
* obj4
= 0 ;
15441 PyObject
* obj5
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 arg2
= (int const) SWIG_AsInt(obj1
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15454 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15460 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15464 arg5
= (long) SWIG_AsLong(obj4
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15469 arg6
= wxString_in_helper(obj5
);
15470 if (arg6
== NULL
) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15496 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxPyWindow
*result
;
15499 char *kwnames
[] = {
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (wxPyWindow
*)new wxPyWindow();
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15518 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15521 PyObject
*arg2
= (PyObject
*) 0 ;
15522 PyObject
*arg3
= (PyObject
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 PyObject
* obj2
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "self",(char *) "_class", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 PyObject
* obj1
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self",(char *) "size", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 Py_INCREF(Py_None
); resultobj
= Py_None
;
15581 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 PyObject
* obj2
= 0 ;
15591 PyObject
* obj3
= 0 ;
15592 PyObject
* obj4
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 arg2
= (int) SWIG_AsInt(obj1
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15602 arg3
= (int) SWIG_AsInt(obj2
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15604 arg4
= (int) SWIG_AsInt(obj3
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15606 arg5
= (int) SWIG_AsInt(obj4
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 Py_INCREF(Py_None
); resultobj
= Py_None
;
15622 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
;
15624 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15629 int arg6
= (int) wxSIZE_AUTO
;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 PyObject
* obj2
= 0 ;
15633 PyObject
* obj3
= 0 ;
15634 PyObject
* obj4
= 0 ;
15635 PyObject
* obj5
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 arg2
= (int) SWIG_AsInt(obj1
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15645 arg3
= (int) SWIG_AsInt(obj2
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15647 arg4
= (int) SWIG_AsInt(obj3
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15649 arg5
= (int) SWIG_AsInt(obj4
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 arg6
= (int) SWIG_AsInt(obj5
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "width",(char *) "height", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 arg2
= (int) SWIG_AsInt(obj1
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15686 arg3
= (int) SWIG_AsInt(obj2
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 PyObject
* obj2
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "x",(char *) "y", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 arg2
= (int) SWIG_AsInt(obj1
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15719 arg3
= (int) SWIG_AsInt(obj2
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15738 int *arg2
= (int *) 0 ;
15739 int *arg3
= (int *) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15761 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15762 resultobj
= t_output_helper(resultobj
,o
);
15765 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15766 resultobj
= t_output_helper(resultobj
,o
);
15774 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15777 int *arg2
= (int *) 0 ;
15778 int *arg3
= (int *) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15801 resultobj
= t_output_helper(resultobj
,o
);
15804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15805 resultobj
= t_output_helper(resultobj
,o
);
15813 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15816 int *arg2
= (int *) 0 ;
15817 int *arg3
= (int *) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15839 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15840 resultobj
= t_output_helper(resultobj
,o
);
15843 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15844 resultobj
= t_output_helper(resultobj
,o
);
15852 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 wxSize
* resultptr
;
15873 resultptr
= new wxSize((wxSize
&) result
);
15874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15882 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 wxSize
* resultptr
;
15903 resultptr
= new wxSize((wxSize
&) result
);
15904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15912 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 (arg1
)->base_InitDialog();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (bool)(arg1
)->base_TransferDataToWindow();
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15965 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15993 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= (bool)(arg1
)->base_Validate();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16021 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16053 PyObject
* obj0
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16077 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 wxSize
* resultptr
;
16098 resultptr
= new wxSize((wxSize
&) result
);
16099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16107 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16110 wxWindow
*arg2
= (wxWindow
*) 0 ;
16111 PyObject
* obj0
= 0 ;
16112 PyObject
* obj1
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self",(char *) "child", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 (arg1
)->base_AddChild(arg2
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 Py_INCREF(Py_None
); resultobj
= Py_None
;
16136 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16139 wxWindow
*arg2
= (wxWindow
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 PyObject
* obj1
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self",(char *) "child", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 (arg1
)->base_RemoveChild(arg2
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16193 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16196 wxColour
*arg2
= 0 ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self",(char *) "c", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 Py_INCREF(Py_None
); resultobj
= Py_None
;
16225 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16228 wxVisualAttributes result
;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (arg1
)->base_GetDefaultAttributes();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 wxVisualAttributes
* resultptr
;
16246 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16255 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16258 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16260 return Py_BuildValue((char *)"");
16262 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxWindow
*arg1
= (wxWindow
*) 0 ;
16266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16270 long arg5
= (long) 0 ;
16271 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16276 bool temp6
= False
;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 PyObject
* obj2
= 0 ;
16280 PyObject
* obj3
= 0 ;
16281 PyObject
* obj4
= 0 ;
16282 PyObject
* obj5
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 arg2
= (int const) SWIG_AsInt(obj1
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16301 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16305 arg5
= (long) SWIG_AsLong(obj4
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16310 arg6
= wxString_in_helper(obj5
);
16311 if (arg6
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16337 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16340 char *kwnames
[] = {
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (wxPyPanel
*)new wxPyPanel();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16359 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16362 PyObject
*arg2
= (PyObject
*) 0 ;
16363 PyObject
*arg3
= (PyObject
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 PyObject
* obj2
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "self",(char *) "_class", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "size", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16422 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 PyObject
* obj2
= 0 ;
16432 PyObject
* obj3
= 0 ;
16433 PyObject
* obj4
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 arg2
= (int) SWIG_AsInt(obj1
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16443 arg3
= (int) SWIG_AsInt(obj2
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16445 arg4
= (int) SWIG_AsInt(obj3
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16447 arg5
= (int) SWIG_AsInt(obj4
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16470 int arg6
= (int) wxSIZE_AUTO
;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 PyObject
* obj2
= 0 ;
16474 PyObject
* obj3
= 0 ;
16475 PyObject
* obj4
= 0 ;
16476 PyObject
* obj5
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 arg2
= (int) SWIG_AsInt(obj1
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16486 arg3
= (int) SWIG_AsInt(obj2
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16488 arg4
= (int) SWIG_AsInt(obj3
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16490 arg5
= (int) SWIG_AsInt(obj4
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 arg6
= (int) SWIG_AsInt(obj5
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 Py_INCREF(Py_None
); resultobj
= Py_None
;
16510 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 PyObject
* obj2
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "width",(char *) "height", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= (int) SWIG_AsInt(obj1
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16527 arg3
= (int) SWIG_AsInt(obj2
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 PyObject
* obj2
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "x",(char *) "y", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 arg2
= (int) SWIG_AsInt(obj1
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16560 arg3
= (int) SWIG_AsInt(obj2
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 Py_INCREF(Py_None
); resultobj
= Py_None
;
16576 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16579 int *arg2
= (int *) 0 ;
16580 int *arg3
= (int *) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16603 resultobj
= t_output_helper(resultobj
,o
);
16606 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16607 resultobj
= t_output_helper(resultobj
,o
);
16615 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16618 int *arg2
= (int *) 0 ;
16619 int *arg3
= (int *) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 Py_INCREF(Py_None
); resultobj
= Py_None
;
16641 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16642 resultobj
= t_output_helper(resultobj
,o
);
16645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16646 resultobj
= t_output_helper(resultobj
,o
);
16654 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16657 int *arg2
= (int *) 0 ;
16658 int *arg3
= (int *) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16680 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16681 resultobj
= t_output_helper(resultobj
,o
);
16684 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16685 resultobj
= t_output_helper(resultobj
,o
);
16693 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 wxSize
* resultptr
;
16714 resultptr
= new wxSize((wxSize
&) result
);
16715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16723 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 wxSize
* resultptr
;
16744 resultptr
= new wxSize((wxSize
&) result
);
16745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16753 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->base_InitDialog();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (bool)(arg1
)->base_TransferDataToWindow();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16806 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16834 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (bool)(arg1
)->base_Validate();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16862 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16890 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16918 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 wxSize
* resultptr
;
16939 resultptr
= new wxSize((wxSize
&) result
);
16940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16948 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16951 wxWindow
*arg2
= (wxWindow
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "child", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 (arg1
)->base_AddChild(arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16980 wxWindow
*arg2
= (wxWindow
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "child", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 (arg1
)->base_RemoveChild(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 Py_INCREF(Py_None
); resultobj
= Py_None
;
17006 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17034 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17037 wxColour
*arg2
= 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "c", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17069 wxVisualAttributes result
;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (arg1
)->base_GetDefaultAttributes();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 wxVisualAttributes
* resultptr
;
17087 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17096 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17101 return Py_BuildValue((char *)"");
17103 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxWindow
*arg1
= (wxWindow
*) 0 ;
17107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17111 long arg5
= (long) 0 ;
17112 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17114 wxPyScrolledWindow
*result
;
17117 bool temp6
= False
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 PyObject
* obj3
= 0 ;
17122 PyObject
* obj4
= 0 ;
17123 PyObject
* obj5
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 arg2
= (int const) SWIG_AsInt(obj1
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17146 arg5
= (long) SWIG_AsLong(obj4
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17151 arg6
= wxString_in_helper(obj5
);
17152 if (arg6
== NULL
) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17178 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxPyScrolledWindow
*result
;
17181 char *kwnames
[] = {
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17200 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17203 PyObject
*arg2
= (PyObject
*) 0 ;
17204 PyObject
*arg3
= (PyObject
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self",(char *) "self",(char *) "_class", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 Py_INCREF(Py_None
); resultobj
= Py_None
;
17231 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "size", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17247 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 PyObject
* obj3
= 0 ;
17274 PyObject
* obj4
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 arg2
= (int) SWIG_AsInt(obj1
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17284 arg3
= (int) SWIG_AsInt(obj2
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17286 arg4
= (int) SWIG_AsInt(obj3
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17288 arg5
= (int) SWIG_AsInt(obj4
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 Py_INCREF(Py_None
); resultobj
= Py_None
;
17304 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17311 int arg6
= (int) wxSIZE_AUTO
;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 PyObject
* obj2
= 0 ;
17315 PyObject
* obj3
= 0 ;
17316 PyObject
* obj4
= 0 ;
17317 PyObject
* obj5
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17325 arg2
= (int) SWIG_AsInt(obj1
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17327 arg3
= (int) SWIG_AsInt(obj2
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17329 arg4
= (int) SWIG_AsInt(obj3
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17331 arg5
= (int) SWIG_AsInt(obj4
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 arg6
= (int) SWIG_AsInt(obj5
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "width",(char *) "height", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (int) SWIG_AsInt(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17368 arg3
= (int) SWIG_AsInt(obj2
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17384 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "x",(char *) "y", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17401 arg3
= (int) SWIG_AsInt(obj2
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17420 int *arg2
= (int *) 0 ;
17421 int *arg3
= (int *) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17444 resultobj
= t_output_helper(resultobj
,o
);
17447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17448 resultobj
= t_output_helper(resultobj
,o
);
17456 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17459 int *arg2
= (int *) 0 ;
17460 int *arg3
= (int *) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17482 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17483 resultobj
= t_output_helper(resultobj
,o
);
17486 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17487 resultobj
= t_output_helper(resultobj
,o
);
17495 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17498 int *arg2
= (int *) 0 ;
17499 int *arg3
= (int *) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17521 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17522 resultobj
= t_output_helper(resultobj
,o
);
17525 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17526 resultobj
= t_output_helper(resultobj
,o
);
17534 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 wxSize
* resultptr
;
17555 resultptr
= new wxSize((wxSize
&) result
);
17556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17564 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 wxSize
* resultptr
;
17585 resultptr
= new wxSize((wxSize
&) result
);
17586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17594 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 (arg1
)->base_InitDialog();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 Py_INCREF(Py_None
); resultobj
= Py_None
;
17619 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17620 PyObject
*resultobj
;
17621 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (bool)(arg1
)->base_TransferDataToWindow();
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17647 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->base_Validate();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 wxSize
* resultptr
;
17780 resultptr
= new wxSize((wxSize
&) result
);
17781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17789 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17792 wxWindow
*arg2
= (wxWindow
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "child", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->base_AddChild(arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17821 wxWindow
*arg2
= (wxWindow
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "child", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 (arg1
)->base_RemoveChild(arg2
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 Py_INCREF(Py_None
); resultobj
= Py_None
;
17847 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17875 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17878 wxColour
*arg2
= 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "c", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17910 wxVisualAttributes result
;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (arg1
)->base_GetDefaultAttributes();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 wxVisualAttributes
* resultptr
;
17928 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17937 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17940 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17942 return Py_BuildValue((char *)"");
17944 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17945 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17950 static PyObject
*_wrap_PrintoutTitleStr_get() {
17955 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17957 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17964 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17965 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17970 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17975 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17977 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17984 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPrintData
*result
;
17987 char *kwnames
[] = {
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (wxPrintData
*)new wxPrintData();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18006 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= (int)(arg1
)->GetNoCopies();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_FromInt((int)result
);
18057 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (bool)(arg1
)->GetCollate();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18085 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (int)(arg1
)->GetOrientation();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_FromInt((int)result
);
18111 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (bool)(arg1
)->Ok();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18139 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18155 result
= (wxString
*) &_result_ref
;
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18174 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (bool)(arg1
)->GetColour();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18202 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (int)(arg1
)->GetDuplex();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_FromInt((int)result
);
18228 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (int)(arg1
)->GetPaperId();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_FromInt((int)result
);
18254 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18270 result
= (wxSize
*) &_result_ref
;
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18283 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (int)(arg1
)->GetQuality();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_FromInt((int)result
);
18309 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "v", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 arg2
= (int) SWIG_AsInt(obj1
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 (arg1
)->SetNoCopies(arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 Py_INCREF(Py_None
); resultobj
= Py_None
;
18338 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "flag", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 arg2
= (bool) SWIG_AsBool(obj1
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetCollate(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self",(char *) "orient", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18380 arg2
= (int) SWIG_AsInt(obj1
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->SetOrientation(arg2
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18396 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18399 wxString
*arg2
= 0 ;
18400 bool temp2
= False
;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "name", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 arg2
= wxString_in_helper(obj1
);
18412 if (arg2
== NULL
) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18437 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self",(char *) "colour", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18450 arg2
= (bool) SWIG_AsBool(obj1
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->SetColour(arg2
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 Py_INCREF(Py_None
); resultobj
= Py_None
;
18466 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self",(char *) "duplex", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 Py_INCREF(Py_None
); resultobj
= Py_None
;
18495 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self",(char *) "sizeId", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18508 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 Py_INCREF(Py_None
); resultobj
= Py_None
;
18524 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "sz", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 Py_INCREF(Py_None
); resultobj
= Py_None
;
18556 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self",(char *) "quality", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18569 arg2
= (int) SWIG_AsInt(obj1
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetQuality(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18601 result
= (wxString
*) &_result_ref
;
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18620 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18636 result
= (wxString
*) &_result_ref
;
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18646 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18655 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18671 result
= (wxString
*) &_result_ref
;
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18681 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18690 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 wxString
const &_result_ref
= (arg1
)->GetFilename();
18706 result
= (wxString
*) &_result_ref
;
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18725 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18741 result
= (wxString
*) &_result_ref
;
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18760 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (double)(arg1
)->GetPrinterScaleX();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_FromDouble((double)result
);
18786 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (double)(arg1
)->GetPrinterScaleY();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_FromDouble((double)result
);
18812 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (long)(arg1
)->GetPrinterTranslateX();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_FromLong((long)result
);
18838 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18842 PyObject
* obj0
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (long)(arg1
)->GetPrinterTranslateY();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_FromLong((long)result
);
18864 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18868 PyObject
* obj0
= 0 ;
18869 char *kwnames
[] = {
18870 (char *) "self", NULL
18873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (int)(arg1
)->GetPrintMode();
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_FromInt((int)result
);
18890 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18893 wxString
*arg2
= 0 ;
18894 bool temp2
= False
;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "command", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18905 arg2
= wxString_in_helper(obj1
);
18906 if (arg2
== NULL
) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18934 wxString
*arg2
= 0 ;
18935 bool temp2
= False
;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "options", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= wxString_in_helper(obj1
);
18947 if (arg2
== NULL
) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18972 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
;
18974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18975 wxString
*arg2
= 0 ;
18976 bool temp2
= False
;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "command", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 arg2
= wxString_in_helper(obj1
);
18988 if (arg2
== NULL
) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19016 wxString
*arg2
= 0 ;
19017 bool temp2
= False
;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "filename", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 arg2
= wxString_in_helper(obj1
);
19029 if (arg2
== NULL
) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->SetFilename((wxString
const &)*arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19057 wxString
*arg2
= 0 ;
19058 bool temp2
= False
;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self",(char *) "path", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 arg2
= wxString_in_helper(obj1
);
19070 if (arg2
== NULL
) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "x", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= (double) SWIG_AsDouble(obj1
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->SetPrinterScaleX(arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "y", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 arg2
= (double) SWIG_AsDouble(obj1
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->SetPrinterScaleY(arg2
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 Py_INCREF(Py_None
); resultobj
= Py_None
;
19153 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 PyObject
* obj2
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "x",(char *) "y", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19168 arg2
= (double) SWIG_AsDouble(obj1
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19170 arg3
= (double) SWIG_AsDouble(obj2
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "x", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 arg2
= (long) SWIG_AsLong(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->SetPrinterTranslateX(arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "y", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (long) SWIG_AsLong(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetPrinterTranslateY(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 Py_INCREF(Py_None
); resultobj
= Py_None
;
19244 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "x",(char *) "y", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (long) SWIG_AsLong(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19261 arg3
= (long) SWIG_AsLong(obj2
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 Py_INCREF(Py_None
); resultobj
= Py_None
;
19277 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "printMode", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19290 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19309 wxOutputStream
*result
;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19332 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19335 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "outputstream", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->SetOutputStream(arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19364 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19366 return Py_BuildValue((char *)"");
19368 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPageSetupDialogData
*result
;
19371 char *kwnames
[] = {
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19390 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 char *kwnames
[] = {
19395 (char *) "self", NULL
19398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "flag", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 arg2
= (bool) SWIG_AsBool(obj1
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->EnableHelp(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "flag", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 arg2
= (bool) SWIG_AsBool(obj1
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->EnableMargins(arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 PyObject
* obj1
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self",(char *) "flag", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 arg2
= (bool) SWIG_AsBool(obj1
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->EnableOrientation(arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "flag", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 arg2
= (bool) SWIG_AsBool(obj1
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->EnablePaper(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "flag", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 arg2
= (bool) SWIG_AsBool(obj1
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 (arg1
)->EnablePrinter(arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (bool)(arg1
)->GetDefaultMinMargins();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19588 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (bool)(arg1
)->GetEnableMargins();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19616 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (bool)(arg1
)->GetEnableOrientation();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19644 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (bool)(arg1
)->GetEnablePaper();
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19672 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (bool)(arg1
)->GetEnablePrinter();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (bool)(arg1
)->GetEnableHelp();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19728 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (bool)(arg1
)->GetDefaultInfo();
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19756 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (arg1
)->GetMarginTopLeft();
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19776 wxPoint
* resultptr
;
19777 resultptr
= new wxPoint((wxPoint
&) result
);
19778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19786 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
;
19788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (arg1
)->GetMarginBottomRight();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19806 wxPoint
* resultptr
;
19807 resultptr
= new wxPoint((wxPoint
&) result
);
19808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19816 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 char *kwnames
[] = {
19822 (char *) "self", NULL
19825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (arg1
)->GetMinMarginTopLeft();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 wxPoint
* resultptr
;
19837 resultptr
= new wxPoint((wxPoint
&) result
);
19838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19846 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (arg1
)->GetMinMarginBottomRight();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 wxPoint
* resultptr
;
19867 resultptr
= new wxPoint((wxPoint
&) result
);
19868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19876 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (int)(arg1
)->GetPaperId();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_FromInt((int)result
);
19902 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (arg1
)->GetPaperSize();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 wxSize
* resultptr
;
19923 resultptr
= new wxSize((wxSize
&) result
);
19924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19932 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19935 wxPrintData
*result
;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19948 result
= (wxPrintData
*) &_result_ref
;
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19961 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (bool)(arg1
)->Ok();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19989 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "flag", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 arg2
= (bool) SWIG_AsBool(obj1
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 (arg1
)->SetDefaultInfo(arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 Py_INCREF(Py_None
); resultobj
= Py_None
;
20018 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "flag", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 arg2
= (bool) SWIG_AsBool(obj1
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 (arg1
)->SetDefaultMinMargins(arg2
);
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 Py_INCREF(Py_None
); resultobj
= Py_None
;
20047 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20050 wxPoint
*arg2
= 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "pt", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 Py_INCREF(Py_None
); resultobj
= Py_None
;
20079 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20082 wxPoint
*arg2
= 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self",(char *) "pt", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 Py_INCREF(Py_None
); resultobj
= Py_None
;
20111 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20114 wxPoint
*arg2
= 0 ;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "pt", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 Py_INCREF(Py_None
); resultobj
= Py_None
;
20143 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20146 wxPoint
*arg2
= 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self",(char *) "pt", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 Py_INCREF(Py_None
); resultobj
= Py_None
;
20175 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "id", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "size", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 Py_INCREF(Py_None
); resultobj
= Py_None
;
20236 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20239 wxPrintData
*arg2
= 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char *kwnames
[] = {
20243 (char *) "self",(char *) "printData", NULL
20246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20252 if (arg2
== NULL
) {
20253 PyErr_SetString(PyExc_TypeError
,"null reference");
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20273 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20275 return Py_BuildValue((char *)"");
20277 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxWindow
*arg1
= (wxWindow
*) 0 ;
20280 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20281 wxPageSetupDialog
*result
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "parent",(char *) "data", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20309 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20312 wxPageSetupDialogData
*result
;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20325 result
= (wxPageSetupDialogData
*) &_result_ref
;
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20338 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (int)(arg1
)->ShowModal();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_FromInt((int)result
);
20364 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20367 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20369 return Py_BuildValue((char *)"");
20371 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20372 PyObject
*resultobj
;
20373 wxPrintDialogData
*result
;
20375 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20390 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20391 PyObject
*resultobj
;
20392 wxPrintData
*arg1
= 0 ;
20393 wxPrintDialogData
*result
;
20394 PyObject
* obj0
= 0 ;
20396 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20400 if (arg1
== NULL
) {
20401 PyErr_SetString(PyExc_TypeError
,"null reference");
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20418 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20423 argc
= PyObject_Length(args
);
20424 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20425 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20428 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20434 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20442 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20446 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20451 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 Py_INCREF(Py_None
); resultobj
= Py_None
;
20476 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_FromInt((int)result
);
20502 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_FromInt((int)result
);
20528 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_FromInt((int)result
);
20554 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_FromInt((int)result
);
20580 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_FromInt((int)result
);
20606 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20634 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20662 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20690 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20718 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20746 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "v", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 arg2
= (int) SWIG_AsInt(obj1
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 (arg1
)->SetFromPage(arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 Py_INCREF(Py_None
); resultobj
= Py_None
;
20775 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "v", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 arg2
= (int) SWIG_AsInt(obj1
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 (arg1
)->SetToPage(arg2
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 Py_INCREF(Py_None
); resultobj
= Py_None
;
20804 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 PyObject
* obj1
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self",(char *) "v", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 arg2
= (int) SWIG_AsInt(obj1
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 (arg1
)->SetMinPage(arg2
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 Py_INCREF(Py_None
); resultobj
= Py_None
;
20833 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "v", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 arg2
= (int) SWIG_AsInt(obj1
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->SetMaxPage(arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 Py_INCREF(Py_None
); resultobj
= Py_None
;
20862 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20866 PyObject
* obj0
= 0 ;
20867 PyObject
* obj1
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self",(char *) "v", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20875 arg2
= (int) SWIG_AsInt(obj1
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetNoCopies(arg2
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 Py_INCREF(Py_None
); resultobj
= Py_None
;
20891 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self",(char *) "flag", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20904 arg2
= (bool) SWIG_AsBool(obj1
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 (arg1
)->SetAllPages(arg2
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 Py_INCREF(Py_None
); resultobj
= Py_None
;
20920 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self",(char *) "flag", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 arg2
= (bool) SWIG_AsBool(obj1
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 (arg1
)->SetSelection(arg2
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 Py_INCREF(Py_None
); resultobj
= Py_None
;
20949 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "flag", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 arg2
= (bool) SWIG_AsBool(obj1
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 (arg1
)->SetCollate(arg2
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 Py_INCREF(Py_None
); resultobj
= Py_None
;
20978 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "flag", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20991 arg2
= (bool) SWIG_AsBool(obj1
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 (arg1
)->SetPrintToFile(arg2
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 Py_INCREF(Py_None
); resultobj
= Py_None
;
21007 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self",(char *) "flag", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 arg2
= (bool) SWIG_AsBool(obj1
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->SetSetupDialog(arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 Py_INCREF(Py_None
); resultobj
= Py_None
;
21036 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "flag", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21049 arg2
= (bool) SWIG_AsBool(obj1
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 (arg1
)->EnablePrintToFile(arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 Py_INCREF(Py_None
); resultobj
= Py_None
;
21065 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self",(char *) "flag", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21078 arg2
= (bool) SWIG_AsBool(obj1
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 (arg1
)->EnableSelection(arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 Py_INCREF(Py_None
); resultobj
= Py_None
;
21094 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 PyObject
* obj1
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "self",(char *) "flag", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 arg2
= (bool) SWIG_AsBool(obj1
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 (arg1
)->EnablePageNumbers(arg2
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 Py_INCREF(Py_None
); resultobj
= Py_None
;
21123 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self",(char *) "flag", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21136 arg2
= (bool) SWIG_AsBool(obj1
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->EnableHelp(arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21184 PyObject
* obj0
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21208 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21236 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21264 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21292 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
;
21294 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21295 wxPrintData
*result
;
21296 PyObject
* obj0
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21308 result
= (wxPrintData
*) &_result_ref
;
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21321 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21324 wxPrintData
*arg2
= 0 ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self",(char *) "printData", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21337 if (arg2
== NULL
) {
21338 PyErr_SetString(PyExc_TypeError
,"null reference");
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21358 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21360 return Py_BuildValue((char *)"");
21362 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxWindow
*arg1
= (wxWindow
*) 0 ;
21365 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21366 wxPrintDialog
*result
;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "parent",(char *) "data", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21394 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21397 wxPrintDialogData
*result
;
21398 PyObject
* obj0
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21410 result
= (wxPrintDialogData
*) &_result_ref
;
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21423 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (wxDC
*)(arg1
)->GetPrintDC();
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= wxPyMake_wxObject(result
);
21451 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21455 PyObject
* obj0
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (int)(arg1
)->ShowModal();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_FromInt((int)result
);
21477 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21480 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21482 return Py_BuildValue((char *)"");
21484 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "data", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (wxPrinter
*)new wxPrinter(arg1
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21512 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 Py_INCREF(Py_None
); resultobj
= Py_None
;
21537 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21540 wxWindow
*arg2
= (wxWindow
*) 0 ;
21541 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "parent",(char *) "printout", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21573 wxPrintDialogData
*result
;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21586 result
= (wxPrintDialogData
*) &_result_ref
;
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21599 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21602 wxWindow
*arg2
= (wxWindow
*) 0 ;
21603 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21604 int arg4
= (int) True
;
21606 PyObject
* obj0
= 0 ;
21607 PyObject
* obj1
= 0 ;
21608 PyObject
* obj2
= 0 ;
21609 PyObject
* obj3
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21619 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 arg4
= (int) SWIG_AsInt(obj3
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21641 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21644 wxWindow
*arg2
= (wxWindow
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self",(char *) "parent", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= wxPyMake_wxObject(result
);
21673 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21676 wxWindow
*arg2
= (wxWindow
*) 0 ;
21677 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21678 wxString
*arg4
= 0 ;
21679 bool temp4
= False
;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 PyObject
* obj3
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21696 arg4
= wxString_in_helper(obj3
);
21697 if (arg4
== NULL
) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 Py_INCREF(Py_None
); resultobj
= Py_None
;
21722 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21725 wxWindow
*arg2
= (wxWindow
*) 0 ;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self",(char *) "parent", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (bool)(arg1
)->Setup(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21754 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21758 PyObject
* obj0
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)(arg1
)->GetAbort();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21782 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21785 char *kwnames
[] = {
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (int)wxPrinter::GetLastError();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_FromInt((int)result
);
21804 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21807 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21809 return Py_BuildValue((char *)"");
21811 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21814 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21815 wxPyPrintout
*result
;
21816 bool temp1
= False
;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "title", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21825 arg1
= wxString_in_helper(obj0
);
21826 if (arg1
== NULL
) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= wxPyMake_wxObject(result
);
21854 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21857 PyObject
*arg2
= (PyObject
*) 0 ;
21858 PyObject
*arg3
= (PyObject
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 PyObject
* obj2
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "self",(char *) "_class", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 Py_INCREF(Py_None
); resultobj
= Py_None
;
21885 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21917 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (wxDC
*)(arg1
)->GetDC();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= wxPyMake_wxObject(result
);
21945 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21948 wxDC
*arg2
= (wxDC
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "dc", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->SetDC(arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 Py_INCREF(Py_None
); resultobj
= Py_None
;
21974 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "w",(char *) "h", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (int) SWIG_AsInt(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21991 arg3
= (int) SWIG_AsInt(obj2
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 Py_INCREF(Py_None
); resultobj
= Py_None
;
22007 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22010 int *arg2
= (int *) 0 ;
22011 int *arg3
= (int *) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 Py_INCREF(Py_None
); resultobj
= Py_None
;
22033 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22034 resultobj
= t_output_helper(resultobj
,o
);
22037 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22038 resultobj
= t_output_helper(resultobj
,o
);
22046 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 PyObject
* obj2
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "w",(char *) "h", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 arg2
= (int) SWIG_AsInt(obj1
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22063 arg3
= (int) SWIG_AsInt(obj2
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22082 int *arg2
= (int *) 0 ;
22083 int *arg3
= (int *) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22106 resultobj
= t_output_helper(resultobj
,o
);
22109 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22110 resultobj
= t_output_helper(resultobj
,o
);
22118 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 char *kwnames
[] = {
22127 (char *) "self",(char *) "x",(char *) "y", NULL
22130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 arg2
= (int) SWIG_AsInt(obj1
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22135 arg3
= (int) SWIG_AsInt(obj2
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 (arg1
)->SetPPIScreen(arg2
,arg3
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 Py_INCREF(Py_None
); resultobj
= Py_None
;
22151 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
;
22153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22154 int *arg2
= (int *) 0 ;
22155 int *arg3
= (int *) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->GetPPIScreen(arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22178 resultobj
= t_output_helper(resultobj
,o
);
22181 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22182 resultobj
= t_output_helper(resultobj
,o
);
22190 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 PyObject
* obj2
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self",(char *) "x",(char *) "y", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 arg2
= (int) SWIG_AsInt(obj1
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22207 arg3
= (int) SWIG_AsInt(obj2
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 Py_INCREF(Py_None
); resultobj
= Py_None
;
22223 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22226 int *arg2
= (int *) 0 ;
22227 int *arg3
= (int *) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 Py_INCREF(Py_None
); resultobj
= Py_None
;
22249 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22250 resultobj
= t_output_helper(resultobj
,o
);
22253 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22254 resultobj
= t_output_helper(resultobj
,o
);
22262 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (bool)(arg1
)->IsPreview();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22290 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "p", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 arg2
= (bool) SWIG_AsBool(obj1
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 (arg1
)->SetIsPreview(arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 Py_INCREF(Py_None
); resultobj
= Py_None
;
22319 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 PyObject
* obj2
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22335 arg2
= (int) SWIG_AsInt(obj1
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22337 arg3
= (int) SWIG_AsInt(obj2
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22355 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->base_OnEndDocument();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->base_OnBeginPrinting();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 (arg1
)->base_OnEndPrinting();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->base_OnPreparePrinting();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "page", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 arg2
= (int) SWIG_AsInt(obj1
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (bool)(arg1
)->base_HasPage(arg2
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22487 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22490 int *arg2
= (int *) 0 ;
22491 int *arg3
= (int *) 0 ;
22492 int *arg4
= (int *) 0 ;
22493 int *arg5
= (int *) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22520 resultobj
= t_output_helper(resultobj
,o
);
22523 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22524 resultobj
= t_output_helper(resultobj
,o
);
22527 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22528 resultobj
= t_output_helper(resultobj
,o
);
22531 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22532 resultobj
= t_output_helper(resultobj
,o
);
22540 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22543 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22545 return Py_BuildValue((char *)"");
22547 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22550 wxWindow
*arg2
= (wxWindow
*) 0 ;
22551 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22552 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22553 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22554 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22555 long arg5
= (long) 0 ;
22556 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22557 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22558 wxPreviewCanvas
*result
;
22561 bool temp6
= False
;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 PyObject
* obj2
= 0 ;
22565 PyObject
* obj3
= 0 ;
22566 PyObject
* obj4
= 0 ;
22567 PyObject
* obj5
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22586 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22590 arg5
= (long) SWIG_AsLong(obj4
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22595 arg6
= wxString_in_helper(obj5
);
22596 if (arg6
== NULL
) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22622 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22625 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22627 return Py_BuildValue((char *)"");
22629 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22632 wxFrame
*arg2
= (wxFrame
*) 0 ;
22633 wxString
*arg3
= 0 ;
22634 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22635 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22636 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22637 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22638 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22639 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22640 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22641 wxPreviewFrame
*result
;
22642 bool temp3
= False
;
22645 bool temp7
= False
;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 PyObject
* obj3
= 0 ;
22650 PyObject
* obj4
= 0 ;
22651 PyObject
* obj5
= 0 ;
22652 PyObject
* obj6
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 arg3
= wxString_in_helper(obj2
);
22664 if (arg3
== NULL
) SWIG_fail
;
22670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22680 arg6
= (long) SWIG_AsLong(obj5
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22685 arg7
= wxString_in_helper(obj6
);
22686 if (arg7
== NULL
) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22720 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 (arg1
)->Initialize();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 (arg1
)->CreateControlBar();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->CreateCanvas();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22798 wxPreviewControlBar
*result
;
22799 PyObject
* obj0
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22821 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22824 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22826 return Py_BuildValue((char *)"");
22828 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22832 wxWindow
*arg3
= (wxWindow
*) 0 ;
22833 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22834 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22835 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22836 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22837 long arg6
= (long) wxTAB_TRAVERSAL
;
22838 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22839 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22840 wxPreviewControlBar
*result
;
22843 bool temp7
= False
;
22844 PyObject
* obj0
= 0 ;
22845 PyObject
* obj1
= 0 ;
22846 PyObject
* obj2
= 0 ;
22847 PyObject
* obj3
= 0 ;
22848 PyObject
* obj4
= 0 ;
22849 PyObject
* obj5
= 0 ;
22850 PyObject
* obj6
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (long) SWIG_AsLong(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22860 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22875 arg6
= (long) SWIG_AsLong(obj5
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22880 arg7
= wxString_in_helper(obj6
);
22881 if (arg7
== NULL
) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22907 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (int)(arg1
)->GetZoomControl();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_FromInt((int)result
);
22933 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self",(char *) "zoom", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22946 arg2
= (int) SWIG_AsInt(obj1
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->SetZoomControl(arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22965 wxPrintPreview
*result
;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22988 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22991 PyObject
* obj0
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 Py_INCREF(Py_None
); resultobj
= Py_None
;
23013 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->OnPrevious();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23116 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23118 return Py_BuildValue((char *)"");
23120 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23121 PyObject
*resultobj
;
23122 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23123 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23124 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23125 wxPrintPreview
*result
;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 PyObject
* obj2
= 0 ;
23130 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23136 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23153 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23154 PyObject
*resultobj
;
23155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23156 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23157 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23158 wxPrintPreview
*result
;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 PyObject
* obj2
= 0 ;
23163 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23184 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23189 argc
= PyObject_Length(args
);
23190 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23191 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23193 if ((argc
>= 2) && (argc
<= 3)) {
23197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23207 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23216 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23220 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23228 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23257 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23265 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23271 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23276 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self",(char *) "pageNum", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 arg2
= (int) SWIG_AsInt(obj1
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23308 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (int)(arg1
)->GetCurrentPage();
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_FromInt((int)result
);
23334 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23337 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "printout", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 (arg1
)->SetPrintout(arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 Py_INCREF(Py_None
); resultobj
= Py_None
;
23363 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23366 wxPyPrintout
*result
;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= wxPyMake_wxObject(result
);
23391 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23394 wxPyPrintout
*result
;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= wxPyMake_wxObject(result
);
23419 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23422 wxFrame
*arg2
= (wxFrame
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "frame", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetFrame(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23451 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "canvas", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 (arg1
)->SetCanvas(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 Py_INCREF(Py_None
); resultobj
= Py_None
;
23477 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (wxFrame
*)(arg1
)->GetFrame();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= wxPyMake_wxObject(result
);
23505 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23508 wxPreviewCanvas
*result
;
23509 PyObject
* obj0
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23531 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23534 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 PyObject
* obj2
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23552 if (arg3
== NULL
) {
23553 PyErr_SetString(PyExc_TypeError
,"null reference");
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23572 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23575 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23593 if (arg3
== NULL
) {
23594 PyErr_SetString(PyExc_TypeError
,"null reference");
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23613 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "pageNum", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 arg2
= (int) SWIG_AsInt(obj1
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= (bool)(arg1
)->RenderPage(arg2
);
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23645 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23648 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "canvas", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->AdjustScrollbars(arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 Py_INCREF(Py_None
); resultobj
= Py_None
;
23674 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23677 wxPrintDialogData
*result
;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23690 result
= (wxPrintDialogData
*) &_result_ref
;
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23703 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self",(char *) "percent", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23716 arg2
= (int) SWIG_AsInt(obj1
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 (arg1
)->SetZoom(arg2
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 Py_INCREF(Py_None
); resultobj
= Py_None
;
23732 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (int)(arg1
)->GetZoom();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_FromInt((int)result
);
23758 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (int)(arg1
)->GetMaxPage();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_FromInt((int)result
);
23784 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (int)(arg1
)->GetMinPage();
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= SWIG_FromInt((int)result
);
23810 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23814 PyObject
* obj0
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (bool)(arg1
)->Ok();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23838 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "ok", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 arg2
= (bool) SWIG_AsBool(obj1
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 (arg1
)->SetOk(arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 Py_INCREF(Py_None
); resultobj
= Py_None
;
23867 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self",(char *) "interactive", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 arg2
= (bool) SWIG_AsBool(obj1
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (bool)(arg1
)->Print(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23899 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->DetermineScaling();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 Py_INCREF(Py_None
); resultobj
= Py_None
;
23924 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23927 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23929 return Py_BuildValue((char *)"");
23931 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23932 PyObject
*resultobj
;
23933 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23934 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23935 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23936 wxPyPrintPreview
*result
;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23941 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23964 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23965 PyObject
*resultobj
;
23966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23967 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23968 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23969 wxPyPrintPreview
*result
;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 PyObject
* obj2
= 0 ;
23974 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23995 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24000 argc
= PyObject_Length(args
);
24001 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24004 if ((argc
>= 2) && (argc
<= 3)) {
24008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24018 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24027 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24031 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24039 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24048 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24058 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24068 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24076 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24082 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24087 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24090 PyObject
*arg2
= (PyObject
*) 0 ;
24091 PyObject
*arg3
= (PyObject
*) 0 ;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 PyObject
* obj2
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "self",(char *) "_class", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "pageNum", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 arg2
= (int) SWIG_AsInt(obj1
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24150 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24153 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24168 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24171 if (arg3
== NULL
) {
24172 PyErr_SetString(PyExc_TypeError
,"null reference");
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24191 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24194 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 PyObject
* obj2
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24212 if (arg3
== NULL
) {
24213 PyErr_SetString(PyExc_TypeError
,"null reference");
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24232 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
;
24234 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "pageNum", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 arg2
= (int) SWIG_AsInt(obj1
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "percent", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 arg2
= (int) SWIG_AsInt(obj1
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->base_SetZoom(arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "interactive", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 arg2
= (bool) SWIG_AsBool(obj1
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (bool)(arg1
)->base_Print(arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24325 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 (arg1
)->base_DetermineScaling();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 Py_INCREF(Py_None
); resultobj
= Py_None
;
24350 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24353 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24355 return Py_BuildValue((char *)"");
24357 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24360 wxFrame
*arg2
= (wxFrame
*) 0 ;
24361 wxString
*arg3
= 0 ;
24362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24366 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24367 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24369 wxPyPreviewFrame
*result
;
24370 bool temp3
= False
;
24373 bool temp7
= False
;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 PyObject
* obj3
= 0 ;
24378 PyObject
* obj4
= 0 ;
24379 PyObject
* obj5
= 0 ;
24380 PyObject
* obj6
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 arg3
= wxString_in_helper(obj2
);
24392 if (arg3
== NULL
) SWIG_fail
;
24398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24408 arg6
= (long) SWIG_AsLong(obj5
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24413 arg7
= wxString_in_helper(obj6
);
24414 if (arg7
== NULL
) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24448 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24451 PyObject
*arg2
= (PyObject
*) 0 ;
24452 PyObject
*arg3
= (PyObject
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 PyObject
* obj2
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "self",(char *) "_class", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 Py_INCREF(Py_None
); resultobj
= Py_None
;
24479 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24482 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "canvas", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->SetPreviewCanvas(arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24511 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self",(char *) "bar", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 (arg1
)->SetControlBar(arg2
);
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 Py_INCREF(Py_None
); resultobj
= Py_None
;
24537 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
;
24539 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 (arg1
)->base_Initialize();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 Py_INCREF(Py_None
); resultobj
= Py_None
;
24562 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 char *kwnames
[] = {
24567 (char *) "self", NULL
24570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 (arg1
)->base_CreateCanvas();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 Py_INCREF(Py_None
); resultobj
= Py_None
;
24587 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->base_CreateControlBar();
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24615 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24617 return Py_BuildValue((char *)"");
24619 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24623 wxWindow
*arg3
= (wxWindow
*) 0 ;
24624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24628 long arg6
= (long) 0 ;
24629 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24631 wxPyPreviewControlBar
*result
;
24634 bool temp7
= False
;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 PyObject
* obj2
= 0 ;
24638 PyObject
* obj3
= 0 ;
24639 PyObject
* obj4
= 0 ;
24640 PyObject
* obj5
= 0 ;
24641 PyObject
* obj6
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 arg2
= (long) SWIG_AsLong(obj1
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24651 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24666 arg6
= (long) SWIG_AsLong(obj5
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24671 arg7
= wxString_in_helper(obj6
);
24672 if (arg7
== NULL
) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24698 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24701 PyObject
*arg2
= (PyObject
*) 0 ;
24702 PyObject
*arg3
= (PyObject
*) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 PyObject
* obj2
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self",(char *) "self",(char *) "_class", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 Py_INCREF(Py_None
); resultobj
= Py_None
;
24729 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24732 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24733 PyObject
* obj0
= 0 ;
24734 PyObject
* obj1
= 0 ;
24735 char *kwnames
[] = {
24736 (char *) "self",(char *) "preview", NULL
24739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 (arg1
)->SetPrintPreview(arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 (arg1
)->base_CreateButtons();
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 Py_INCREF(Py_None
); resultobj
= Py_None
;
24783 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self",(char *) "zoom", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 arg2
= (int) SWIG_AsInt(obj1
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->base_SetZoomControl(arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24815 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24817 return Py_BuildValue((char *)"");
24819 static PyMethodDef SwigMethods
[] = {
24820 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24826 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24841 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24842 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24850 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24864 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24888 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24900 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24904 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24908 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24913 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24929 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24957 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24964 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24987 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24995 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25007 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25013 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25022 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25028 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25033 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25039 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25043 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25061 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25087 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25095 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25104 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25106 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25115 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25118 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25125 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25143 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25147 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25152 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25156 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25172 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25175 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25177 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25181 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25190 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25199 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25205 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25220 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25227 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25231 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25257 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25283 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25309 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25355 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25387 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25391 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25392 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25425 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25430 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25441 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25464 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25466 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25472 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25482 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25483 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25506 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25507 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25516 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25524 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25534 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25536 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25537 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25539 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25540 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25542 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25543 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25545 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25546 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25548 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25549 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25551 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25552 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25554 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25555 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25557 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25558 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25560 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25561 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25563 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25566 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25569 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25570 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25572 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25575 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25576 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25578 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25579 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25581 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25582 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25584 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25585 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25587 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25588 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25590 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25591 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25593 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25594 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25596 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25597 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25599 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25600 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25602 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25603 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25605 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25606 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25608 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25611 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25612 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25614 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25615 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25617 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25618 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25620 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25621 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25623 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25624 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25626 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25627 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25629 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25630 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25632 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25635 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25636 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25638 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25639 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25641 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25642 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25644 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25647 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25650 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25651 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25653 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25654 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25656 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25657 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25659 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25660 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25662 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25663 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25665 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25668 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25671 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25674 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25677 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25678 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25680 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25681 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25683 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25684 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25686 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25689 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25692 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25695 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25698 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25701 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25704 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25707 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25708 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25710 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25711 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25713 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25716 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25719 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25722 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25723 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25725 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25728 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25731 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25732 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25734 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25735 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25737 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25738 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25740 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25743 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25744 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25746 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25747 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25749 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25752 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25753 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25755 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25758 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25761 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25764 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25765 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25767 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25770 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25771 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25773 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25774 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25776 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25779 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25782 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25785 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25788 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25789 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25791 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25794 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25797 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25800 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25803 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25804 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25806 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25809 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25812 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25815 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25816 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25818 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25819 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25821 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25822 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25824 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25825 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25827 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25828 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25830 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25831 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25833 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25834 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25836 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25837 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25839 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25842 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25845 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25848 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25851 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25854 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25857 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25860 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25863 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25866 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25869 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) ((wxSizer
*) x
));
25872 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25875 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25878 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25881 static void *_p_wxEventTo_p_wxObject(void *x
) {
25882 return (void *)((wxObject
*) ((wxEvent
*) x
));
25884 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25885 return (void *)((wxObject
*) ((wxFontData
*) x
));
25887 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25888 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25890 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25891 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25893 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25894 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25896 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25897 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25899 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25900 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25902 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25903 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25905 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25908 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25911 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25914 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25917 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25920 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25923 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25926 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25929 static void *_p_wxControlTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25932 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25935 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25938 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25941 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25944 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25947 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25950 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) ((wxColourData
*) x
));
25953 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25956 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25959 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25962 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25965 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25968 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25971 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25974 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25977 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25980 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25983 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25986 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25989 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25992 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25995 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25998 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26001 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26004 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26007 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26010 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26013 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26016 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26019 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26022 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26025 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26028 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26031 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26034 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26037 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26040 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26043 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26046 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26049 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26052 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26055 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26058 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26061 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26064 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26067 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26070 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26073 static void *_p_wxImageTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) ((wxImage
*) x
));
26076 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26079 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26082 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26085 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26088 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26091 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26094 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26097 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26100 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26103 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26106 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26109 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26112 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26115 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26118 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26121 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26124 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26127 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26130 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26133 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26136 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26139 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26142 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26145 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26148 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26149 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26151 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26152 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26154 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26155 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26157 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26160 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26163 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26166 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26169 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26172 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26175 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26178 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26179 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26181 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26184 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26185 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26187 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26188 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26190 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26191 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26193 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26194 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26196 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26197 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26199 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26202 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26203 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26205 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26208 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26211 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26212 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26214 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26215 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26217 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26220 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26223 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26224 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26226 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26227 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26229 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26232 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26233 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26235 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26236 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26238 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26239 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26241 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26242 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26244 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26245 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26247 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26248 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26250 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26251 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26253 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26254 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26256 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26257 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26259 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26260 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26262 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26263 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26265 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26266 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26268 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26269 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26271 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26272 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26274 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26275 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26277 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26278 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26280 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26281 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26283 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26284 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26286 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26287 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26289 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26290 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26292 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26293 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26295 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26296 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26298 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26299 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26301 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26302 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26304 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26305 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26307 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26308 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26310 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26311 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26313 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26314 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26316 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26317 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26319 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26320 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26322 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26323 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26325 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26326 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26328 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26329 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26331 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26332 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26334 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26335 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26337 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26338 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26340 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26341 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26343 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26344 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26346 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26347 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26349 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26350 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26352 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26353 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26355 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26356 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26358 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26359 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26361 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26362 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26364 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26365 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26367 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26368 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26370 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26371 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26373 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26374 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26376 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26377 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26379 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26380 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26382 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26383 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26385 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26386 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26388 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26389 return (void *)((wxWindow
*) ((wxControl
*) x
));
26391 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26394 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26395 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26397 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26398 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26400 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26401 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26403 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26404 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26406 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26407 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26409 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26410 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26412 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26413 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26415 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26416 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26418 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26419 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26421 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26422 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26424 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26425 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26427 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26428 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26430 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26431 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26433 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26434 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26436 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26437 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26439 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26440 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26442 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26443 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26445 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26446 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26448 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26449 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26451 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26452 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26454 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26455 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26457 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26458 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26460 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26461 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26463 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26464 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26466 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26467 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26469 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26470 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26472 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26473 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26475 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26476 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26478 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26479 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26481 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26482 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26484 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26485 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26487 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26488 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26490 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26491 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26493 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26494 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26496 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26497 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26499 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26500 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26502 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26503 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26505 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26506 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26508 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26509 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26511 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26512 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26514 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26515 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26517 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26518 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26520 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26521 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26523 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26524 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26526 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26527 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26529 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26530 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26532 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26533 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26535 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26536 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26538 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26539 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26541 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26542 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26544 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26545 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26547 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26548 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26560 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}};
26561 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}};
26562 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}};
26563 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}};
26564 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}};
26565 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}};
26566 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}};
26567 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}};
26568 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}};
26569 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}};
26570 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}};
26571 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}};
26572 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}};
26573 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}};
26574 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}};
26575 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}};
26576 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}};
26577 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}};
26578 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}};
26579 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}};
26580 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}};
26581 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}};
26582 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}};
26583 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}};
26584 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}};
26585 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}};
26586 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}};
26587 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}};
26588 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}};
26589 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}};
26590 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}};
26591 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}};
26592 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}};
26593 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}};
26594 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}};
26595 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}};
26596 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}};
26597 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}};
26598 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}};
26599 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}};
26600 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}};
26601 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}};
26602 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26603 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}};
26604 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}};
26605 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}};
26606 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}};
26607 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}};
26608 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}};
26609 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}};
26610 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}};
26611 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}};
26612 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}};
26613 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}};
26614 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}};
26615 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}};
26616 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}};
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26638 static swig_type_info
*swig_types_initial
[] = {
26639 _swigt__p_wxQueryLayoutInfoEvent
,
26640 _swigt__p_wxPreviewFrame
,
26641 _swigt__p_wxPyPreviewFrame
,
26642 _swigt__p_wxPyPanel
,
26644 _swigt__p_wxFontData
,
26646 _swigt__p_wxPrintData
,
26647 _swigt__p_wxTaskBarIcon
,
26648 _swigt__p_wxIconBundle
,
26649 _swigt__p_wxLayoutAlgorithm
,
26650 _swigt__p_wxFindDialogEvent
,
26651 _swigt__p_wxPreviewCanvas
,
26653 _swigt__p_wxSplitterEvent
,
26654 _swigt__p_wxRegion
,
26655 _swigt__p_wxFindReplaceData
,
26660 _swigt__p_wxVisualAttributes
,
26661 _swigt__p_wxMDIChildFrame
,
26662 _swigt__p_wxColourData
,
26663 _swigt__p_wxNotifyEvent
,
26664 _swigt__p_wxPyWindow
,
26665 _swigt__p_wxSplashScreen
,
26666 _swigt__p_wxFindReplaceDialog
,
26667 _swigt__p_wxProgressDialog
,
26668 _swigt__p_wxMessageDialog
,
26669 _swigt__p_wxTextEntryDialog
,
26670 _swigt__p_wxSingleChoiceDialog
,
26671 _swigt__p_wxMultiChoiceDialog
,
26672 _swigt__p_wxFileDialog
,
26673 _swigt__p_wxPrinter
,
26674 _swigt__p_wxArrayInt
,
26675 _swigt__p_wxEvtHandler
,
26676 _swigt__p_wxCalculateLayoutEvent
,
26677 _swigt__p_wxPyHtmlListBox
,
26678 _swigt__p_wxPyVListBox
,
26681 _swigt__p_wxMiniFrame
,
26683 _swigt__p_wxPyPrintout
,
26684 _swigt__p_wxTaskBarIconEvent
,
26685 _swigt__p_wxScrollWinEvent
,
26686 _swigt__p_wxStatusBar
,
26687 _swigt__p_wxMDIParentFrame
,
26689 _swigt__p_wxObject
,
26690 _swigt__p_wxOutputStream
,
26691 _swigt__p_unsigned_long
,
26692 _swigt__p_wxPyScrolledWindow
,
26693 _swigt__p_wxMDIClientWindow
,
26694 _swigt__p_wxTipWindow
,
26695 _swigt__p_wxSashLayoutWindow
,
26696 _swigt__p_wxSplitterWindow
,
26697 _swigt__p_wxSplashScreenWindow
,
26698 _swigt__p_wxPyVScrolledWindow
,
26699 _swigt__p_wxPyPopupTransientWindow
,
26700 _swigt__p_wxPopupWindow
,
26701 _swigt__p_wxSashWindow
,
26702 _swigt__p_wxTopLevelWindow
,
26703 _swigt__p_wxWindow
,
26704 _swigt__p_wxScrolledWindow
,
26705 _swigt__p_wxMenuBar
,
26706 _swigt__p_wxPrintPreview
,
26707 _swigt__p_wxSashEvent
,
26708 _swigt__p_wxString
,
26709 _swigt__p_wxPyPrintPreview
,
26710 _swigt__p_wxFontDialog
,
26711 _swigt__p_wxDirDialog
,
26712 _swigt__p_wxColourDialog
,
26713 _swigt__p_wxDialog
,
26715 _swigt__p_wxPageSetupDialog
,
26716 _swigt__p_wxPrintDialog
,
26717 _swigt__p_wxFileSystem
,
26718 _swigt__p_wxBitmap
,
26719 _swigt__p_wxCommandEvent
,
26720 _swigt__p_wxPreviewControlBar
,
26721 _swigt__p_wxPyPreviewControlBar
,
26722 _swigt__p_wxColour
,
26723 _swigt__p_wxToolBar
,
26724 _swigt__p_wxPageSetupDialogData
,
26725 _swigt__p_wxPrintDialogData
,
26730 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26732 static swig_const_info swig_const_table
[] = {
26742 SWIGEXPORT(void) SWIG_init(void) {
26743 static PyObject
*SWIG_globals
= 0;
26744 static int typeinit
= 0;
26747 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26748 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26749 d
= PyModule_GetDict(m
);
26752 for (i
= 0; swig_types_initial
[i
]; i
++) {
26753 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26757 SWIG_InstallConstants(d
,swig_const_table
);
26759 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26760 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26761 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26762 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26763 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26764 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26765 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26766 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26767 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26768 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26769 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26770 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26771 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26772 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26773 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26774 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26775 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26776 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26777 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26778 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26779 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26780 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26781 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26782 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26783 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26784 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26785 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26786 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26787 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26788 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26789 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26790 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26791 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26792 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26793 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26794 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26795 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26796 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26797 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26798 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26799 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26800 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26801 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26802 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26803 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26804 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26805 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26806 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26807 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26808 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26809 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26810 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26811 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26812 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26813 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26814 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26815 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26816 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26817 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26818 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26819 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26820 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26821 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26822 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26823 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26824 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26825 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26826 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26827 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26828 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26829 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26830 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26831 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26832 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26833 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26834 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26835 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26836 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26837 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26838 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26839 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26840 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26841 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26842 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26843 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26844 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26845 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26846 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26847 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26848 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26849 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26850 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26851 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26853 // Map renamed classes back to their common name for OOR
26854 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26855 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26856 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26858 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26859 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26860 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26861 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26862 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26863 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26864 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26865 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26866 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26867 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26868 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26869 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26870 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26871 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26872 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26873 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26874 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26875 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26876 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26877 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26878 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26879 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26880 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26881 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26882 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26883 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26884 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26885 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26886 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26887 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26888 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26889 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26890 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26891 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26892 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26893 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26894 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26895 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26896 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26897 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26898 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26899 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26900 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26901 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26902 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26903 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26904 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26905 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26906 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26907 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26908 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26909 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26910 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26911 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26912 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26913 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26914 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26915 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26916 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26917 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26919 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");