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_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow 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 if (!wxPyCheckForApp()) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= wxPyMake_wxObject(result
);
1365 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1374 if (!wxPyCheckForApp()) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (wxPanel
*)new wxPanel();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= wxPyMake_wxObject(result
);
1390 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxPanel
*arg1
= (wxPanel
*) 0 ;
1393 wxWindow
*arg2
= (wxWindow
*) 0 ;
1394 int arg3
= (int) (int)-1 ;
1395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1399 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1400 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1405 bool temp7
= False
;
1406 PyObject
* obj0
= 0 ;
1407 PyObject
* obj1
= 0 ;
1408 PyObject
* obj2
= 0 ;
1409 PyObject
* obj3
= 0 ;
1410 PyObject
* obj4
= 0 ;
1411 PyObject
* obj5
= 0 ;
1412 PyObject
* obj6
= 0 ;
1414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1423 arg3
= (int const) SWIG_AsInt(obj2
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1439 arg6
= (long) SWIG_AsLong(obj5
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1444 arg7
= wxString_in_helper(obj6
);
1445 if (arg7
== NULL
) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1473 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxPanel
*arg1
= (wxPanel
*) 0 ;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "self", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 (arg1
)->InitDialog();
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1501 wxVisualAttributes result
;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "variant", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 if (!wxPyCheckForApp()) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 wxVisualAttributes
* resultptr
;
1522 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1531 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1534 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1536 return Py_BuildValue((char *)"");
1538 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxWindow
*arg1
= (wxWindow
*) 0 ;
1541 int arg2
= (int) (int)-1 ;
1542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1546 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1547 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1549 wxScrolledWindow
*result
;
1552 bool temp6
= False
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1555 PyObject
* obj2
= 0 ;
1556 PyObject
* obj3
= 0 ;
1557 PyObject
* obj4
= 0 ;
1558 PyObject
* obj5
= 0 ;
1560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1567 arg2
= (int const) SWIG_AsInt(obj1
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1583 arg5
= (long) SWIG_AsLong(obj4
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1588 arg6
= wxString_in_helper(obj5
);
1589 if (arg6
== NULL
) SWIG_fail
;
1594 if (!wxPyCheckForApp()) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1616 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxScrolledWindow
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1625 if (!wxPyCheckForApp()) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1639 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 wxWindow
*arg2
= (wxWindow
*) 0 ;
1643 int arg3
= (int) (int)-1 ;
1644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1648 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1649 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1654 bool temp7
= False
;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1658 PyObject
* obj3
= 0 ;
1659 PyObject
* obj4
= 0 ;
1660 PyObject
* obj5
= 0 ;
1661 PyObject
* obj6
= 0 ;
1663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 arg3
= (int const) SWIG_AsInt(obj2
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1688 arg6
= (long) SWIG_AsLong(obj5
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1693 arg7
= wxString_in_helper(obj6
);
1694 if (arg7
== NULL
) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1722 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1729 int arg6
= (int) 0 ;
1730 int arg7
= (int) 0 ;
1731 bool arg8
= (bool) False
;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1734 PyObject
* obj2
= 0 ;
1735 PyObject
* obj3
= 0 ;
1736 PyObject
* obj4
= 0 ;
1737 PyObject
* obj5
= 0 ;
1738 PyObject
* obj6
= 0 ;
1739 PyObject
* obj7
= 0 ;
1741 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (int) SWIG_AsInt(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1751 arg4
= (int) SWIG_AsInt(obj3
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1753 arg5
= (int) SWIG_AsInt(obj4
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 arg6
= (int) SWIG_AsInt(obj5
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1760 arg7
= (int) SWIG_AsInt(obj6
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 arg8
= (bool) SWIG_AsBool(obj7
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1790 (char *) "self",(char *) "x",(char *) "y", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 arg2
= (int) SWIG_AsInt(obj1
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->Scroll(arg2
,arg3
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "orient", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 resultobj
= SWIG_FromInt((int)result
);
1844 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1850 PyObject
* obj1
= 0 ;
1851 PyObject
* obj2
= 0 ;
1853 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 arg2
= (int) SWIG_AsInt(obj1
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1861 arg3
= (int) SWIG_AsInt(obj2
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1870 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1883 PyObject
* obj1
= 0 ;
1884 PyObject
* obj2
= 0 ;
1886 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 arg2
= (int) SWIG_AsInt(obj1
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1894 arg3
= (int) SWIG_AsInt(obj2
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 (arg1
)->SetScrollRate(arg2
,arg3
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1913 int *arg2
= (int *) 0 ;
1914 int *arg3
= (int *) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1937 resultobj
= t_output_helper(resultobj
,o
);
1940 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1941 resultobj
= t_output_helper(resultobj
,o
);
1949 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1956 PyObject
* obj2
= 0 ;
1958 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (bool) SWIG_AsBool(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1966 arg3
= (bool) SWIG_AsBool(obj2
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->EnableScrolling(arg2
,arg3
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 int *arg2
= (int *) 0 ;
1986 int *arg3
= (int *) 0 ;
1989 PyObject
* obj0
= 0 ;
1991 (char *) "self", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2009 resultobj
= t_output_helper(resultobj
,o
);
2012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2013 resultobj
= t_output_helper(resultobj
,o
);
2021 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2028 PyObject
* obj2
= 0 ;
2030 (char *) "self",(char *) "xs",(char *) "ys", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2036 arg2
= (double) SWIG_AsDouble(obj1
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2038 arg3
= (double) SWIG_AsDouble(obj2
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 (arg1
)->SetScale(arg2
,arg3
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2054 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "self", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 resultobj
= SWIG_FromDouble((double)result
);
2080 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 PyObject
* obj0
= 0 ;
2086 (char *) "self", NULL
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 resultobj
= SWIG_FromDouble((double)result
);
2106 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 wxPoint
* resultptr
;
2131 resultptr
= new wxPoint((wxPoint
&) result
);
2132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2140 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2141 PyObject
*resultobj
;
2142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2145 int *arg4
= (int *) 0 ;
2146 int *arg5
= (int *) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2151 PyObject
* obj2
= 0 ;
2155 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 arg2
= (int) SWIG_AsInt(obj1
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2160 arg3
= (int) SWIG_AsInt(obj2
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2172 resultobj
= t_output_helper(resultobj
,o
);
2175 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2176 resultobj
= t_output_helper(resultobj
,o
);
2184 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2189 argc
= PyObject_Length(args
);
2190 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2191 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2206 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2209 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2225 _v
= SWIG_CheckInt(argv
[1]);
2227 _v
= SWIG_CheckInt(argv
[2]);
2229 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2240 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2241 PyObject
*resultobj
;
2242 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2264 wxPoint
* resultptr
;
2265 resultptr
= new wxPoint((wxPoint
&) result
);
2266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2274 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2275 PyObject
*resultobj
;
2276 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2279 int *arg4
= (int *) 0 ;
2280 int *arg5
= (int *) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2285 PyObject
* obj2
= 0 ;
2289 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 arg3
= (int) SWIG_AsInt(obj2
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2306 resultobj
= t_output_helper(resultobj
,o
);
2309 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2310 resultobj
= t_output_helper(resultobj
,o
);
2318 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2323 argc
= PyObject_Length(args
);
2324 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2325 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2331 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2340 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2343 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2351 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= SWIG_CheckInt(argv
[1]);
2361 _v
= SWIG_CheckInt(argv
[2]);
2363 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2369 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2374 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "self", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 (arg1
)->AdjustScrollbars();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 Py_INCREF(Py_None
); resultobj
= Py_None
;
2399 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2402 wxScrollWinEvent
*arg2
= 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 (char *) "self",(char *) "event", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2417 PyErr_SetString(PyExc_TypeError
,"null reference");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 resultobj
= SWIG_FromInt((int)result
);
2434 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 wxWindow
*arg2
= (wxWindow
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "target", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 (arg1
)->SetTargetWindow(arg2
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= wxPyMake_wxObject(result
);
2491 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2494 wxVisualAttributes result
;
2495 PyObject
* obj0
= 0 ;
2497 (char *) "variant", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2502 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 if (!wxPyCheckForApp()) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2514 wxVisualAttributes
* resultptr
;
2515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2524 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2527 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2529 return Py_BuildValue((char *)"");
2531 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2532 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2537 static PyObject
*_wrap_FrameNameStr_get() {
2542 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2544 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2551 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2552 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2557 static PyObject
*_wrap_DialogNameStr_get() {
2562 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2564 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2571 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2572 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2577 static PyObject
*_wrap_StatusLineNameStr_get() {
2582 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2584 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2591 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2592 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2597 static PyObject
*_wrap_ToolBarNameStr_get() {
2602 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2604 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2611 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 bool arg2
= (bool) True
;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "maximize", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2625 arg2
= (bool) SWIG_AsBool(obj1
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 (arg1
)->Maximize(arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_TopLevelWindow_Iconize(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 *) "iconize", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",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
)->Iconize(arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2726 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2754 static PyObject
*_wrap_TopLevelWindow_GetIcon(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_GetIcon",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
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2775 resultptr
= new wxIcon((wxIcon
&) result
);
2776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2784 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "icon", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2801 PyErr_SetString(PyExc_TypeError
,"null reference");
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2811 Py_INCREF(Py_None
); resultobj
= Py_None
;
2818 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2820 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2821 wxIconBundle
*arg2
= 0 ;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj1
= 0 ;
2825 (char *) "self",(char *) "icons", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2835 PyErr_SetString(PyExc_TypeError
,"null reference");
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2856 long arg3
= (long) wxFULLSCREEN_ALL
;
2858 PyObject
* obj0
= 0 ;
2859 PyObject
* obj1
= 0 ;
2860 PyObject
* obj2
= 0 ;
2862 (char *) "self",(char *) "show",(char *) "style", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2868 arg2
= (bool) SWIG_AsBool(obj1
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 arg3
= (long) SWIG_AsLong(obj2
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2890 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2918 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2921 wxString
*arg2
= 0 ;
2922 bool temp2
= False
;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "title", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 (arg1
)->SetTitle((wxString
const &)*arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2991 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2994 wxRegion
*arg2
= 0 ;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 (char *) "self",(char *) "region", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3009 PyErr_SetString(PyExc_TypeError
,"null reference");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3028 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3031 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3033 return Py_BuildValue((char *)"");
3035 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxWindow
*arg1
= (wxWindow
*) 0 ;
3038 int arg2
= (int) (int)-1 ;
3039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3045 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3046 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3049 bool temp3
= False
;
3052 bool temp7
= False
;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3055 PyObject
* obj2
= 0 ;
3056 PyObject
* obj3
= 0 ;
3057 PyObject
* obj4
= 0 ;
3058 PyObject
* obj5
= 0 ;
3059 PyObject
* obj6
= 0 ;
3061 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3068 arg2
= (int const) SWIG_AsInt(obj1
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3073 arg3
= wxString_in_helper(obj2
);
3074 if (arg3
== NULL
) SWIG_fail
;
3081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3091 arg6
= (long) SWIG_AsLong(obj5
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3096 arg7
= wxString_in_helper(obj6
);
3097 if (arg7
== NULL
) SWIG_fail
;
3102 if (!wxPyCheckForApp()) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3110 resultobj
= wxPyMake_wxObject(result
);
3134 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3143 if (!wxPyCheckForApp()) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (wxFrame
*)new wxFrame();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3151 resultobj
= wxPyMake_wxObject(result
);
3159 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxFrame
*arg1
= (wxFrame
*) 0 ;
3162 wxWindow
*arg2
= (wxWindow
*) 0 ;
3163 int arg3
= (int) (int)-1 ;
3164 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3165 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3166 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3167 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3168 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3169 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3170 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3171 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3172 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3174 bool temp4
= False
;
3177 bool temp8
= False
;
3178 PyObject
* obj0
= 0 ;
3179 PyObject
* obj1
= 0 ;
3180 PyObject
* obj2
= 0 ;
3181 PyObject
* obj3
= 0 ;
3182 PyObject
* obj4
= 0 ;
3183 PyObject
* obj5
= 0 ;
3184 PyObject
* obj6
= 0 ;
3185 PyObject
* obj7
= 0 ;
3187 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3196 arg3
= (int const) SWIG_AsInt(obj2
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3201 arg4
= wxString_in_helper(obj3
);
3202 if (arg4
== NULL
) SWIG_fail
;
3209 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3215 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3219 arg7
= (long) SWIG_AsLong(obj6
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3224 arg8
= wxString_in_helper(obj7
);
3225 if (arg8
== NULL
) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3261 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxFrame
*arg1
= (wxFrame
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "self", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3281 wxPoint
* resultptr
;
3282 resultptr
= new wxPoint((wxPoint
&) result
);
3283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3291 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxFrame
*arg1
= (wxFrame
*) 0 ;
3294 PyObject
* obj0
= 0 ;
3296 (char *) "self", NULL
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SendSizeEvent();
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxFrame
*arg1
= (wxFrame
*) 0 ;
3319 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "self",(char *) "menubar", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 (arg1
)->SetMenuBar(arg2
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxFrame
*arg1
= (wxFrame
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= wxPyMake_wxObject(result
);
3373 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxFrame
*arg1
= (wxFrame
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "winid", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (int) SWIG_AsInt(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3405 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxFrame
*arg1
= (wxFrame
*) 0 ;
3408 int arg2
= (int) 1 ;
3409 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3410 int arg4
= (int) 0 ;
3411 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3412 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3413 wxStatusBar
*result
;
3414 bool temp5
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3417 PyObject
* obj2
= 0 ;
3418 PyObject
* obj3
= 0 ;
3419 PyObject
* obj4
= 0 ;
3421 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (int) SWIG_AsInt(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3432 arg3
= (long) SWIG_AsLong(obj2
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 arg4
= (int) SWIG_AsInt(obj3
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3441 arg5
= wxString_in_helper(obj4
);
3442 if (arg5
== NULL
) SWIG_fail
;
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= wxPyMake_wxObject(result
);
3470 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxFrame
*arg1
= (wxFrame
*) 0 ;
3473 wxStatusBar
*result
;
3474 PyObject
* obj0
= 0 ;
3476 (char *) "self", NULL
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= wxPyMake_wxObject(result
);
3498 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxFrame
*arg1
= (wxFrame
*) 0 ;
3501 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3505 (char *) "self",(char *) "statBar", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 (arg1
)->SetStatusBar(arg2
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 Py_INCREF(Py_None
); resultobj
= Py_None
;
3527 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxFrame
*arg1
= (wxFrame
*) 0 ;
3530 wxString
*arg2
= 0 ;
3531 int arg3
= (int) 0 ;
3532 bool temp2
= False
;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3537 (char *) "self",(char *) "text",(char *) "number", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 arg2
= wxString_in_helper(obj1
);
3545 if (arg2
== NULL
) SWIG_fail
;
3549 arg3
= (int) SWIG_AsInt(obj2
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 Py_INCREF(Py_None
); resultobj
= Py_None
;
3574 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxFrame
*arg1
= (wxFrame
*) 0 ;
3578 int *arg3
= (int *) 0 ;
3579 PyObject
* obj0
= 0 ;
3580 PyObject
* obj1
= 0 ;
3582 (char *) "self",(char *) "widths", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3589 arg2
= PyList_Size(obj1
);
3590 arg3
= int_LIST_helper(obj1
);
3591 if (arg3
== NULL
) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3602 if (arg3
) delete [] arg3
;
3607 if (arg3
) delete [] arg3
;
3613 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxFrame
*arg1
= (wxFrame
*) 0 ;
3616 wxString
*arg2
= 0 ;
3617 int arg3
= (int) 0 ;
3618 bool temp2
= False
;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3621 PyObject
* obj2
= 0 ;
3623 (char *) "self",(char *) "text",(char *) "number", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3630 arg2
= wxString_in_helper(obj1
);
3631 if (arg2
== NULL
) SWIG_fail
;
3635 arg3
= (int) SWIG_AsInt(obj2
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxFrame
*arg1
= (wxFrame
*) 0 ;
3663 int arg2
= (int) 0 ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "number", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 arg2
= (int) SWIG_AsInt(obj1
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->PopStatusText(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxFrame
*arg1
= (wxFrame
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "n", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 arg2
= (int) SWIG_AsInt(obj1
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 (arg1
)->SetStatusBarPane(arg2
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 Py_INCREF(Py_None
); resultobj
= Py_None
;
3720 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxFrame
*arg1
= (wxFrame
*) 0 ;
3724 PyObject
* obj0
= 0 ;
3726 (char *) "self", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= SWIG_FromInt((int)result
);
3746 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxFrame
*arg1
= (wxFrame
*) 0 ;
3749 long arg2
= (long) -1 ;
3750 int arg3
= (int) -1 ;
3751 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3752 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3754 bool temp4
= False
;
3755 PyObject
* obj0
= 0 ;
3756 PyObject
* obj1
= 0 ;
3757 PyObject
* obj2
= 0 ;
3758 PyObject
* obj3
= 0 ;
3760 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3767 arg2
= (long) SWIG_AsLong(obj1
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3771 arg3
= (int) SWIG_AsInt(obj2
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3776 arg4
= wxString_in_helper(obj3
);
3777 if (arg4
== NULL
) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= wxPyMake_wxObject(result
);
3805 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxFrame
*arg1
= (wxFrame
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3811 (char *) "self", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= wxPyMake_wxObject(result
);
3833 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxFrame
*arg1
= (wxFrame
*) 0 ;
3836 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3840 (char *) "self",(char *) "toolbar", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->SetToolBar(arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3862 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxFrame
*arg1
= (wxFrame
*) 0 ;
3865 wxString
*arg2
= 0 ;
3867 bool temp2
= False
;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3870 PyObject
* obj2
= 0 ;
3872 (char *) "self",(char *) "text",(char *) "show", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= wxString_in_helper(obj1
);
3880 if (arg2
== NULL
) SWIG_fail
;
3883 arg3
= (bool) SWIG_AsBool(obj2
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3907 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxFrame
*arg1
= (wxFrame
*) 0 ;
3910 wxMenu
*arg2
= (wxMenu
*) NULL
;
3911 PyObject
* obj0
= 0 ;
3912 PyObject
* obj1
= 0 ;
3914 (char *) "self",(char *) "menu", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 (arg1
)->DoMenuUpdates(arg2
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3941 wxVisualAttributes result
;
3942 PyObject
* obj0
= 0 ;
3944 (char *) "variant", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3949 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3953 if (!wxPyCheckForApp()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3961 wxVisualAttributes
* resultptr
;
3962 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3971 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3974 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3976 return Py_BuildValue((char *)"");
3978 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxWindow
*arg1
= (wxWindow
*) 0 ;
3981 int arg2
= (int) (int)-1 ;
3982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3988 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3989 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3992 bool temp3
= False
;
3995 bool temp7
= False
;
3996 PyObject
* obj0
= 0 ;
3997 PyObject
* obj1
= 0 ;
3998 PyObject
* obj2
= 0 ;
3999 PyObject
* obj3
= 0 ;
4000 PyObject
* obj4
= 0 ;
4001 PyObject
* obj5
= 0 ;
4002 PyObject
* obj6
= 0 ;
4004 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4011 arg2
= (int const) SWIG_AsInt(obj1
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4016 arg3
= wxString_in_helper(obj2
);
4017 if (arg3
== NULL
) SWIG_fail
;
4024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4034 arg6
= (long) SWIG_AsLong(obj5
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4039 arg7
= wxString_in_helper(obj6
);
4040 if (arg7
== NULL
) SWIG_fail
;
4045 if (!wxPyCheckForApp()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= wxPyMake_wxObject(result
);
4077 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4086 if (!wxPyCheckForApp()) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (wxDialog
*)new wxDialog();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= wxPyMake_wxObject(result
);
4102 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxDialog
*arg1
= (wxDialog
*) 0 ;
4105 wxWindow
*arg2
= (wxWindow
*) 0 ;
4106 int arg3
= (int) (int)-1 ;
4107 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4108 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4109 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4110 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4111 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4112 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4113 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4114 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4115 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4117 bool temp4
= False
;
4120 bool temp8
= False
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 PyObject
* obj2
= 0 ;
4124 PyObject
* obj3
= 0 ;
4125 PyObject
* obj4
= 0 ;
4126 PyObject
* obj5
= 0 ;
4127 PyObject
* obj6
= 0 ;
4128 PyObject
* obj7
= 0 ;
4130 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4139 arg3
= (int const) SWIG_AsInt(obj2
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4144 arg4
= wxString_in_helper(obj3
);
4145 if (arg4
== NULL
) SWIG_fail
;
4152 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4158 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4162 arg7
= (long) SWIG_AsLong(obj6
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4167 arg8
= wxString_in_helper(obj7
);
4168 if (arg8
== NULL
) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4204 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxDialog
*arg1
= (wxDialog
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4211 (char *) "self",(char *) "returnCode", NULL
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 arg2
= (int) SWIG_AsInt(obj1
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetReturnCode(arg2
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxDialog
*arg1
= (wxDialog
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4239 (char *) "self", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_FromInt((int)result
);
4259 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxDialog
*arg1
= (wxDialog
*) 0 ;
4262 wxString
*arg2
= 0 ;
4264 bool temp2
= False
;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "self",(char *) "message", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4275 arg2
= wxString_in_helper(obj1
);
4276 if (arg2
== NULL
) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= wxPyMake_wxSizer(result
);
4303 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxDialog
*arg1
= (wxDialog
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4311 (char *) "self",(char *) "flags", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4317 arg2
= (long) SWIG_AsLong(obj1
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxSizer(result
);
4335 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxDialog
*arg1
= (wxDialog
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "self", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4363 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
*resultobj
;
4365 wxDialog
*arg1
= (wxDialog
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4369 (char *) "self", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (int)(arg1
)->ShowModal();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_FromInt((int)result
);
4389 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxDialog
*arg1
= (wxDialog
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4396 (char *) "self",(char *) "retCode", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 arg2
= (int) SWIG_AsInt(obj1
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 (arg1
)->EndModal(arg2
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 Py_INCREF(Py_None
); resultobj
= Py_None
;
4418 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4421 wxVisualAttributes result
;
4422 PyObject
* obj0
= 0 ;
4424 (char *) "variant", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4429 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4433 if (!wxPyCheckForApp()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4441 wxVisualAttributes
* resultptr
;
4442 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4451 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4454 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4456 return Py_BuildValue((char *)"");
4458 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxWindow
*arg1
= (wxWindow
*) 0 ;
4461 int arg2
= (int) (int)-1 ;
4462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4468 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4469 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4471 wxMiniFrame
*result
;
4472 bool temp3
= False
;
4475 bool temp7
= False
;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 PyObject
* obj2
= 0 ;
4479 PyObject
* obj3
= 0 ;
4480 PyObject
* obj4
= 0 ;
4481 PyObject
* obj5
= 0 ;
4482 PyObject
* obj6
= 0 ;
4484 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 arg2
= (int const) SWIG_AsInt(obj1
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4496 arg3
= wxString_in_helper(obj2
);
4497 if (arg3
== NULL
) SWIG_fail
;
4504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4514 arg6
= (long) SWIG_AsLong(obj5
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4519 arg7
= wxString_in_helper(obj6
);
4520 if (arg7
== NULL
) SWIG_fail
;
4525 if (!wxPyCheckForApp()) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4555 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxMiniFrame
*result
;
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4564 if (!wxPyCheckForApp()) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (wxMiniFrame
*)new wxMiniFrame();
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4578 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4581 wxWindow
*arg2
= (wxWindow
*) 0 ;
4582 int arg3
= (int) (int)-1 ;
4583 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4584 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4585 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4586 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4587 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4588 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4589 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4590 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4591 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4593 bool temp4
= False
;
4596 bool temp8
= False
;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 PyObject
* obj2
= 0 ;
4600 PyObject
* obj3
= 0 ;
4601 PyObject
* obj4
= 0 ;
4602 PyObject
* obj5
= 0 ;
4603 PyObject
* obj6
= 0 ;
4604 PyObject
* obj7
= 0 ;
4606 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4615 arg3
= (int const) SWIG_AsInt(obj2
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4620 arg4
= wxString_in_helper(obj3
);
4621 if (arg4
== NULL
) SWIG_fail
;
4628 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4634 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4638 arg7
= (long) SWIG_AsLong(obj6
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4643 arg8
= wxString_in_helper(obj7
);
4644 if (arg8
== NULL
) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4680 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4683 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4685 return Py_BuildValue((char *)"");
4687 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxBitmap
*arg1
= 0 ;
4690 wxWindow
*arg2
= (wxWindow
*) 0 ;
4692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4696 long arg6
= (long) wxNO_BORDER
;
4697 wxSplashScreenWindow
*result
;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4703 PyObject
* obj3
= 0 ;
4704 PyObject
* obj4
= 0 ;
4705 PyObject
* obj5
= 0 ;
4707 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4715 PyErr_SetString(PyExc_TypeError
,"null reference");
4718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 arg3
= (int) SWIG_AsInt(obj2
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4725 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4731 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4735 arg6
= (long) SWIG_AsLong(obj5
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 if (!wxPyCheckForApp()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4753 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4756 wxBitmap
*arg2
= 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "self",(char *) "bitmap", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4770 PyErr_SetString(PyExc_TypeError
,"null reference");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "self", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4803 result
= (wxBitmap
*) &_result_ref
;
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4810 wxBitmap
* resultptr
= new wxBitmap(*result
);
4811 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4819 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4822 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4824 return Py_BuildValue((char *)"");
4826 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxBitmap
*arg1
= 0 ;
4831 wxWindow
*arg4
= (wxWindow
*) 0 ;
4832 int arg5
= (int) -1 ;
4833 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4834 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4835 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4836 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4837 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4838 wxSplashScreen
*result
;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4843 PyObject
* obj2
= 0 ;
4844 PyObject
* obj3
= 0 ;
4845 PyObject
* obj4
= 0 ;
4846 PyObject
* obj5
= 0 ;
4847 PyObject
* obj6
= 0 ;
4848 PyObject
* obj7
= 0 ;
4850 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4858 PyErr_SetString(PyExc_TypeError
,"null reference");
4861 arg2
= (long) SWIG_AsLong(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 arg3
= (int) SWIG_AsInt(obj2
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4865 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4868 arg5
= (int) SWIG_AsInt(obj4
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4874 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4880 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4884 arg8
= (long) SWIG_AsLong(obj7
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4888 if (!wxPyCheckForApp()) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4902 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4908 (char *) "self", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_FromLong((long)result
);
4928 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4931 wxSplashScreenWindow
*result
;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4954 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_FromInt((int)result
);
4980 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4983 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4985 return Py_BuildValue((char *)"");
4987 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxWindow
*arg1
= (wxWindow
*) 0 ;
4990 int arg2
= (int) -1 ;
4991 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4992 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4993 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4994 wxStatusBar
*result
;
4995 bool temp4
= False
;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
4999 PyObject
* obj3
= 0 ;
5001 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg2
= (int) SWIG_AsInt(obj1
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5012 arg3
= (long) SWIG_AsLong(obj2
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5017 arg4
= wxString_in_helper(obj3
);
5018 if (arg4
== NULL
) SWIG_fail
;
5023 if (!wxPyCheckForApp()) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= wxPyMake_wxObject(result
);
5047 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxStatusBar
*result
;
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5056 if (!wxPyCheckForApp()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (wxStatusBar
*)new wxStatusBar();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= wxPyMake_wxObject(result
);
5072 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5075 wxWindow
*arg2
= (wxWindow
*) 0 ;
5076 int arg3
= (int) -1 ;
5077 long arg4
= (long) wxST_SIZEGRIP
;
5078 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5079 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5081 bool temp5
= False
;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5088 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg3
= (int) SWIG_AsInt(obj2
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5101 arg4
= (long) SWIG_AsLong(obj3
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5106 arg5
= wxString_in_helper(obj4
);
5107 if (arg5
== NULL
) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5135 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5138 int arg2
= (int) 1 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5142 (char *) "self",(char *) "number", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5149 arg2
= (int) SWIG_AsInt(obj1
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetFieldsCount(arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 Py_INCREF(Py_None
); resultobj
= Py_None
;
5166 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
;
5168 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5170 PyObject
* obj0
= 0 ;
5172 (char *) "self", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_FromInt((int)result
);
5192 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5195 wxString
*arg2
= 0 ;
5196 int arg3
= (int) 0 ;
5197 bool temp2
= False
;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5202 (char *) "self",(char *) "text",(char *) "number", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 arg2
= wxString_in_helper(obj1
);
5210 if (arg2
== NULL
) SWIG_fail
;
5214 arg3
= (int) SWIG_AsInt(obj2
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 Py_INCREF(Py_None
); resultobj
= Py_None
;
5239 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5242 int arg2
= (int) 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "self",(char *) "number", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5254 arg2
= (int) SWIG_AsInt(obj1
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5277 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5280 wxString
*arg2
= 0 ;
5281 int arg3
= (int) 0 ;
5282 bool temp2
= False
;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5285 PyObject
* obj2
= 0 ;
5287 (char *) "self",(char *) "text",(char *) "number", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5294 arg2
= wxString_in_helper(obj1
);
5295 if (arg2
== NULL
) SWIG_fail
;
5299 arg3
= (int) SWIG_AsInt(obj2
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5327 int arg2
= (int) 0 ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5331 (char *) "self",(char *) "number", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 arg2
= (int) SWIG_AsInt(obj1
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->PopStatusText(arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 Py_INCREF(Py_None
); resultobj
= Py_None
;
5355 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
;
5357 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5359 int *arg3
= (int *) 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5363 (char *) "self",(char *) "widths", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5370 arg2
= PyList_Size(obj1
);
5371 arg3
= int_LIST_helper(obj1
);
5372 if (arg3
== NULL
) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5383 if (arg3
) delete [] arg3
;
5388 if (arg3
) delete [] arg3
;
5394 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5402 (char *) "self",(char *) "i", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5408 arg2
= (int) SWIG_AsInt(obj1
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5419 resultptr
= new wxRect((wxRect
&) result
);
5420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5428 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5435 (char *) "self",(char *) "height", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 arg2
= (int) SWIG_AsInt(obj1
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetMinHeight(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5463 (char *) "self", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_FromInt((int)result
);
5483 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_FromInt((int)result
);
5509 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5512 wxVisualAttributes result
;
5513 PyObject
* obj0
= 0 ;
5515 (char *) "variant", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5520 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 if (!wxPyCheckForApp()) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 wxVisualAttributes
* resultptr
;
5533 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5542 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5545 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5547 return Py_BuildValue((char *)"");
5549 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5550 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5555 static PyObject
*_wrap_SplitterNameStr_get() {
5560 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5562 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5569 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxWindow
*arg1
= (wxWindow
*) 0 ;
5572 int arg2
= (int) -1 ;
5573 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5574 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5575 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5576 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5577 long arg5
= (long) wxSP_3D
;
5578 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5579 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5580 wxSplitterWindow
*result
;
5583 bool temp6
= False
;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5587 PyObject
* obj3
= 0 ;
5588 PyObject
* obj4
= 0 ;
5589 PyObject
* obj5
= 0 ;
5591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5598 arg2
= (int) SWIG_AsInt(obj1
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5614 arg5
= (long) SWIG_AsLong(obj4
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5619 arg6
= wxString_in_helper(obj5
);
5620 if (arg6
== NULL
) SWIG_fail
;
5625 if (!wxPyCheckForApp()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5647 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxSplitterWindow
*result
;
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5656 if (!wxPyCheckForApp()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5670 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5673 wxWindow
*arg2
= (wxWindow
*) 0 ;
5674 int arg3
= (int) -1 ;
5675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5679 long arg6
= (long) wxSP_3D
;
5680 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5685 bool temp7
= False
;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 PyObject
* obj3
= 0 ;
5690 PyObject
* obj4
= 0 ;
5691 PyObject
* obj5
= 0 ;
5692 PyObject
* obj6
= 0 ;
5694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 arg3
= (int) SWIG_AsInt(obj2
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5719 arg6
= (long) SWIG_AsLong(obj5
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5724 arg7
= wxString_in_helper(obj6
);
5725 if (arg7
== NULL
) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5753 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5757 PyObject
* obj0
= 0 ;
5759 (char *) "self", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= wxPyMake_wxObject(result
);
5781 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= wxPyMake_wxObject(result
);
5809 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5816 (char *) "self",(char *) "mode", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 arg2
= (int) SWIG_AsInt(obj1
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->SetSplitMode(arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 Py_INCREF(Py_None
); resultobj
= Py_None
;
5838 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_FromInt((int)result
);
5864 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5867 wxWindow
*arg2
= (wxWindow
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5871 (char *) "self",(char *) "window", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->Initialize(arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5896 wxWindow
*arg2
= (wxWindow
*) 0 ;
5897 wxWindow
*arg3
= (wxWindow
*) 0 ;
5898 int arg4
= (int) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 PyObject
* obj2
= 0 ;
5903 PyObject
* obj3
= 0 ;
5905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 arg4
= (int) SWIG_AsInt(obj3
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5938 wxWindow
*arg2
= (wxWindow
*) 0 ;
5939 wxWindow
*arg3
= (wxWindow
*) 0 ;
5940 int arg4
= (int) 0 ;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 PyObject
* obj2
= 0 ;
5945 PyObject
* obj3
= 0 ;
5947 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 arg4
= (int) SWIG_AsInt(obj3
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5977 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5980 wxWindow
*arg2
= (wxWindow
*) NULL
;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5985 (char *) "self",(char *) "toRemove", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (bool)(arg1
)->Unsplit(arg2
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6014 wxWindow
*arg2
= (wxWindow
*) 0 ;
6015 wxWindow
*arg3
= (wxWindow
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 PyObject
* obj2
= 0 ;
6021 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6047 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 (arg1
)->UpdateSize();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 Py_INCREF(Py_None
); resultobj
= Py_None
;
6072 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "width", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 arg2
= (int) SWIG_AsInt(obj1
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 (arg1
)->SetSashSize(arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 Py_INCREF(Py_None
); resultobj
= Py_None
;
6129 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "width", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 arg2
= (int) SWIG_AsInt(obj1
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 (arg1
)->SetBorderSize(arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 Py_INCREF(Py_None
); resultobj
= Py_None
;
6158 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_FromInt((int)result
);
6184 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_FromInt((int)result
);
6210 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6214 bool arg3
= (bool) True
;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 PyObject
* obj2
= 0 ;
6219 (char *) "self",(char *) "position",(char *) "redraw", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 arg2
= (int) SWIG_AsInt(obj1
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 arg3
= (bool) SWIG_AsBool(obj2
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 (arg1
)->SetSashPosition(arg2
,arg3
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_FromInt((int)result
);
6271 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6278 (char *) "self",(char *) "min", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (int) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 (arg1
)->SetMinimumPaneSize(arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= SWIG_FromInt((int)result
);
6326 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6331 int arg4
= (int) 5 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 PyObject
* obj2
= 0 ;
6336 PyObject
* obj3
= 0 ;
6338 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 arg2
= (int) SWIG_AsInt(obj1
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6346 arg3
= (int) SWIG_AsInt(obj2
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 arg4
= (int) SWIG_AsInt(obj3
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6368 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6373 (char *) "self", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 (arg1
)->SizeWindows();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "needUpdating", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (bool) SWIG_AsBool(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 (arg1
)->SetNeedUpdating(arg2
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6450 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6453 wxVisualAttributes result
;
6454 PyObject
* obj0
= 0 ;
6456 (char *) "variant", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6461 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 if (!wxPyCheckForApp()) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 wxVisualAttributes
* resultptr
;
6474 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6483 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6486 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6488 return Py_BuildValue((char *)"");
6490 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6493 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6494 wxSplitterEvent
*result
;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6498 (char *) "type",(char *) "splitter", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6503 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6524 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6531 (char *) "self",(char *) "pos", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 arg2
= (int) SWIG_AsInt(obj1
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->SetSashPosition(arg2
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 Py_INCREF(Py_None
); resultobj
= Py_None
;
6553 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_FromInt((int)result
);
6579 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= wxPyMake_wxObject(result
);
6607 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_FromInt((int)result
);
6633 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_FromInt((int)result
);
6659 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6662 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6664 return Py_BuildValue((char *)"");
6666 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6667 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6672 static PyObject
*_wrap_SashNameStr_get() {
6677 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6679 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6686 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6687 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6692 static PyObject
*_wrap_SashLayoutNameStr_get() {
6697 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6699 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6706 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxWindow
*arg1
= (wxWindow
*) 0 ;
6709 int arg2
= (int) -1 ;
6710 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6711 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6712 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6713 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6714 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6715 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6716 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6717 wxSashWindow
*result
;
6720 bool temp6
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 PyObject
* obj4
= 0 ;
6726 PyObject
* obj5
= 0 ;
6728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6735 arg2
= (int) SWIG_AsInt(obj1
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6741 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6751 arg5
= (long) SWIG_AsLong(obj4
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6756 arg6
= wxString_in_helper(obj5
);
6757 if (arg6
== NULL
) SWIG_fail
;
6762 if (!wxPyCheckForApp()) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6784 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxSashWindow
*result
;
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (wxSashWindow
*)new wxSashWindow();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6807 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6810 wxWindow
*arg2
= (wxWindow
*) 0 ;
6811 int arg3
= (int) -1 ;
6812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6816 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6817 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6822 bool temp7
= False
;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6827 PyObject
* obj4
= 0 ;
6828 PyObject
* obj5
= 0 ;
6829 PyObject
* obj6
= 0 ;
6831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6840 arg3
= (int) SWIG_AsInt(obj2
);
6841 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 ;
8137 int arg2
= (int) -1 ;
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 *)"O|OOOOO: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
;
8163 arg2
= (int) SWIG_AsInt(obj1
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8179 arg5
= (long) SWIG_AsLong(obj4
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8184 arg6
= wxString_in_helper(obj5
);
8185 if (arg6
== NULL
) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8212 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxSashLayoutWindow
*result
;
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8221 if (!wxPyCheckForApp()) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8235 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8238 wxWindow
*arg2
= (wxWindow
*) 0 ;
8239 int arg3
= (int) -1 ;
8240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8244 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8245 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8250 bool temp7
= False
;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8254 PyObject
* obj3
= 0 ;
8255 PyObject
* obj4
= 0 ;
8256 PyObject
* obj5
= 0 ;
8257 PyObject
* obj6
= 0 ;
8259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg3
= (int) SWIG_AsInt(obj2
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8284 arg6
= (long) SWIG_AsLong(obj5
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8289 arg7
= wxString_in_helper(obj6
);
8290 if (arg7
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8318 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (int)(arg1
)->GetAlignment();
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_FromInt((int)result
);
8344 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (int)(arg1
)->GetOrientation();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_FromInt((int)result
);
8370 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "alignment", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "size", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8438 (char *) "self",(char *) "orientation", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8463 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8465 return Py_BuildValue((char *)"");
8467 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxLayoutAlgorithm
*result
;
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8489 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8517 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8518 wxRect
*arg3
= (wxRect
*) NULL
;
8520 PyObject
* obj0
= 0 ;
8521 PyObject
* obj1
= 0 ;
8522 PyObject
* obj2
= 0 ;
8524 (char *) "self",(char *) "frame",(char *) "rect", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8552 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8555 wxFrame
*arg2
= (wxFrame
*) 0 ;
8556 wxWindow
*arg3
= (wxWindow
*) NULL
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8562 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8590 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8593 wxWindow
*arg2
= (wxWindow
*) 0 ;
8594 wxWindow
*arg3
= (wxWindow
*) NULL
;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8600 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8631 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8633 return Py_BuildValue((char *)"");
8635 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxWindow
*arg1
= (wxWindow
*) 0 ;
8638 int arg2
= (int) wxBORDER_NONE
;
8639 wxPopupWindow
*result
;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "parent",(char *) "flags", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= (int) SWIG_AsInt(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 if (!wxPyCheckForApp()) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8668 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxPopupWindow
*result
;
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8677 if (!wxPyCheckForApp()) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (wxPopupWindow
*)new wxPopupWindow();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8691 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8694 wxWindow
*arg2
= (wxWindow
*) 0 ;
8695 int arg3
= (int) wxBORDER_NONE
;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8699 PyObject
* obj2
= 0 ;
8701 (char *) "self",(char *) "parent",(char *) "flags", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8710 arg3
= (int) SWIG_AsInt(obj2
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8729 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8740 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8752 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8771 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8773 return Py_BuildValue((char *)"");
8775 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxWindow
*arg1
= (wxWindow
*) 0 ;
8778 int arg2
= (int) wxBORDER_NONE
;
8779 wxPyPopupTransientWindow
*result
;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8783 (char *) "parent",(char *) "style", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 arg2
= (int) SWIG_AsInt(obj1
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8794 if (!wxPyCheckForApp()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8808 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxPyPopupTransientWindow
*result
;
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8817 if (!wxPyCheckForApp()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8831 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8834 PyObject
*arg2
= (PyObject
*) 0 ;
8835 PyObject
*arg3
= (PyObject
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8840 (char *) "self",(char *) "self",(char *) "_class", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8865 wxWindow
*arg2
= (wxWindow
*) NULL
;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8869 (char *) "self",(char *) "focus", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->Popup(arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8923 return Py_BuildValue((char *)"");
8925 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxWindow
*arg1
= (wxWindow
*) 0 ;
8928 wxString
*arg2
= 0 ;
8929 int arg3
= (int) 100 ;
8930 wxRect
*arg4
= (wxRect
*) NULL
;
8931 wxTipWindow
*result
;
8932 bool temp2
= False
;
8933 PyObject
* obj0
= 0 ;
8934 PyObject
* obj1
= 0 ;
8935 PyObject
* obj2
= 0 ;
8936 PyObject
* obj3
= 0 ;
8938 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 arg2
= wxString_in_helper(obj1
);
8946 if (arg2
== NULL
) SWIG_fail
;
8950 arg3
= (int) SWIG_AsInt(obj2
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 if (!wxPyCheckForApp()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8980 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8988 (char *) "self",(char *) "rectBound", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9040 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9042 return Py_BuildValue((char *)"");
9044 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxWindow
*arg1
= (wxWindow
*) 0 ;
9047 int arg2
= (int) wxID_ANY
;
9048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9052 long arg5
= (long) 0 ;
9053 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9055 wxPyVScrolledWindow
*result
;
9058 bool temp6
= False
;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 PyObject
* obj2
= 0 ;
9062 PyObject
* obj3
= 0 ;
9063 PyObject
* obj4
= 0 ;
9064 PyObject
* obj5
= 0 ;
9066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 arg2
= (int) SWIG_AsInt(obj1
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9089 arg5
= (long) SWIG_AsLong(obj4
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9094 arg6
= wxString_in_helper(obj5
);
9095 if (arg6
== NULL
) SWIG_fail
;
9100 if (!wxPyCheckForApp()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9122 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyVScrolledWindow
*result
;
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9131 if (!wxPyCheckForApp()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9145 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9148 PyObject
*arg2
= (PyObject
*) 0 ;
9149 PyObject
*arg3
= (PyObject
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9154 (char *) "self",(char *) "self",(char *) "_class", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9179 wxWindow
*arg2
= (wxWindow
*) 0 ;
9180 int arg3
= (int) wxID_ANY
;
9181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9185 long arg6
= (long) 0 ;
9186 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9187 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9191 bool temp7
= False
;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 PyObject
* obj2
= 0 ;
9195 PyObject
* obj3
= 0 ;
9196 PyObject
* obj4
= 0 ;
9197 PyObject
* obj5
= 0 ;
9198 PyObject
* obj6
= 0 ;
9200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9209 arg3
= (int) SWIG_AsInt(obj2
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9225 arg6
= (long) SWIG_AsLong(obj5
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9230 arg7
= wxString_in_helper(obj6
);
9231 if (arg7
== NULL
) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9259 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9266 (char *) "self",(char *) "count", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetLineCount(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "line", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9328 (char *) "self",(char *) "lines", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 arg2
= (int) SWIG_AsInt(obj1
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)(arg1
)->ScrollLines(arg2
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9360 (char *) "self",(char *) "pages", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int) SWIG_AsInt(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (bool)(arg1
)->ScrollPages(arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9384 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "line", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->RefreshLine(arg2
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9422 (char *) "self",(char *) "from",(char *) "to", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9430 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->RefreshLines(arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9456 (char *) "self",(char *) "x",(char *) "y", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9462 arg2
= (int) SWIG_AsInt(obj1
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9464 arg3
= (int) SWIG_AsInt(obj2
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_FromInt((int)result
);
9480 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9489 (char *) "self",(char *) "pt", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_FromInt((int)result
);
9513 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->RefreshAll();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9564 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9590 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9616 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9622 PyObject
* obj1
= 0 ;
9624 (char *) "self",(char *) "line", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9651 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9653 return Py_BuildValue((char *)"");
9655 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9656 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9661 static PyObject
*_wrap_VListBoxNameStr_get() {
9666 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9668 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9675 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxWindow
*arg1
= (wxWindow
*) 0 ;
9678 int arg2
= (int) wxID_ANY
;
9679 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9680 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9681 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9682 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9683 long arg5
= (long) 0 ;
9684 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9685 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9686 wxPyVListBox
*result
;
9689 bool temp6
= False
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9693 PyObject
* obj3
= 0 ;
9694 PyObject
* obj4
= 0 ;
9695 PyObject
* obj5
= 0 ;
9697 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (int) SWIG_AsInt(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9720 arg5
= (long) SWIG_AsLong(obj4
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9725 arg6
= wxString_in_helper(obj5
);
9726 if (arg6
== NULL
) SWIG_fail
;
9731 if (!wxPyCheckForApp()) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9753 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxPyVListBox
*result
;
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxPyVListBox
*)new wxPyVListBox();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9776 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9779 PyObject
*arg2
= (PyObject
*) 0 ;
9780 PyObject
*arg3
= (PyObject
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9785 (char *) "self",(char *) "self",(char *) "_class", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 Py_INCREF(Py_None
); resultobj
= Py_None
;
9807 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9810 wxWindow
*arg2
= (wxWindow
*) 0 ;
9811 int arg3
= (int) wxID_ANY
;
9812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9816 long arg6
= (long) 0 ;
9817 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9822 bool temp7
= False
;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9829 PyObject
* obj6
= 0 ;
9831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 arg3
= (int) SWIG_AsInt(obj2
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9856 arg6
= (long) SWIG_AsLong(obj5
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9861 arg7
= wxString_in_helper(obj6
);
9862 if (arg7
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9916 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_FromInt((int)result
);
9970 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9978 (char *) "self",(char *) "item", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9984 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "item", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10034 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10060 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10063 unsigned long *arg2
= 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self",(char *) "cookie", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10077 if (arg2
== NULL
) {
10078 PyErr_SetString(PyExc_TypeError
,"null reference");
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_FromInt((int)result
);
10095 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10098 unsigned long *arg2
= 0 ;
10100 PyObject
* obj0
= 0 ;
10101 PyObject
* obj1
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self",(char *) "cookie", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10112 if (arg2
== NULL
) {
10113 PyErr_SetString(PyExc_TypeError
,"null reference");
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_FromInt((int)result
);
10130 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10150 wxPoint
* resultptr
;
10151 resultptr
= new wxPoint((wxPoint
&) result
);
10152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10160 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10176 result
= (wxColour
*) &_result_ref
;
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10189 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "count", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetItemCount(arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 Py_INCREF(Py_None
); resultobj
= Py_None
;
10243 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "selection", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 arg2
= (int) SWIG_AsInt(obj1
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->SetSelection(arg2
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10276 bool arg3
= (bool) True
;
10278 PyObject
* obj0
= 0 ;
10279 PyObject
* obj1
= 0 ;
10280 PyObject
* obj2
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "item",(char *) "select", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 arg3
= (bool) SWIG_AsBool(obj2
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 PyObject
* obj2
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "from",(char *) "to", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10328 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10346 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self",(char *) "item", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10359 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 (arg1
)->Toggle(arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (bool)(arg1
)->SelectAll();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)(arg1
)->DeselectAll();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10431 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10434 wxPoint
*arg2
= 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "pt", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 Py_INCREF(Py_None
); resultobj
= Py_None
;
10463 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "x",(char *) "y", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10478 arg2
= (int) SWIG_AsInt(obj1
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10480 arg3
= (int) SWIG_AsInt(obj2
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 (arg1
)->SetMargins(arg2
,arg3
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 Py_INCREF(Py_None
); resultobj
= Py_None
;
10496 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
;
10498 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10499 wxColour
*arg2
= 0 ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "col", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10528 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10531 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10533 return Py_BuildValue((char *)"");
10535 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxWindow
*arg1
= (wxWindow
*) 0 ;
10538 int arg2
= (int) wxID_ANY
;
10539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10543 long arg5
= (long) 0 ;
10544 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10546 wxPyHtmlListBox
*result
;
10549 bool temp6
= False
;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 PyObject
* obj2
= 0 ;
10553 PyObject
* obj3
= 0 ;
10554 PyObject
* obj4
= 0 ;
10555 PyObject
* obj5
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10564 arg2
= (int) SWIG_AsInt(obj1
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10580 arg5
= (long) SWIG_AsLong(obj4
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10585 arg6
= wxString_in_helper(obj5
);
10586 if (arg6
== NULL
) SWIG_fail
;
10591 if (!wxPyCheckForApp()) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10613 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxPyHtmlListBox
*result
;
10616 char *kwnames
[] = {
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10622 if (!wxPyCheckForApp()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10636 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10639 PyObject
*arg2
= (PyObject
*) 0 ;
10640 PyObject
*arg3
= (PyObject
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "self",(char *) "_class", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 Py_INCREF(Py_None
); resultobj
= Py_None
;
10667 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10670 wxWindow
*arg2
= (wxWindow
*) 0 ;
10671 int arg3
= (int) wxID_ANY
;
10672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10676 long arg6
= (long) 0 ;
10677 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10682 bool temp7
= False
;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 PyObject
* obj3
= 0 ;
10687 PyObject
* obj4
= 0 ;
10688 PyObject
* obj5
= 0 ;
10689 PyObject
* obj6
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 arg3
= (int) SWIG_AsInt(obj2
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10706 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10712 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10716 arg6
= (long) SWIG_AsLong(obj5
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10721 arg7
= wxString_in_helper(obj6
);
10722 if (arg7
== NULL
) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->RefreshAll();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "count", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->SetItemCount(arg2
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10807 wxFileSystem
*result
;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10820 result
= (wxFileSystem
*) &_result_ref
;
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10833 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10838 return Py_BuildValue((char *)"");
10840 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxTaskBarIcon
*result
;
10843 char *kwnames
[] = {
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10849 if (!wxPyCheckForApp()) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10863 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 Py_INCREF(Py_None
); resultobj
= Py_None
;
10888 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 wxTaskBarIcon_Destroy(arg1
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10941 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10973 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10974 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10976 bool temp3
= False
;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 PyObject
* obj2
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10990 if (arg2
== NULL
) {
10991 PyErr_SetString(PyExc_TypeError
,"null reference");
10996 arg3
= wxString_in_helper(obj2
);
10997 if (arg3
== NULL
) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11025 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11029 PyObject
* obj0
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)(arg1
)->RemoveIcon();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11056 wxMenu
*arg2
= (wxMenu
*) 0 ;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self",(char *) "menu", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (bool)(arg1
)->PopupMenu(arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11085 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11088 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11090 return Py_BuildValue((char *)"");
11092 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11095 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11096 wxTaskBarIconEvent
*result
;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "evtType",(char *) "tbIcon", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11104 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11122 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11125 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11127 return Py_BuildValue((char *)"");
11129 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11130 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11135 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11140 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11142 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11149 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11150 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11155 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11160 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11162 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11169 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11170 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11175 static PyObject
*_wrap_DirDialogNameStr_get() {
11180 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11182 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11189 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11190 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11195 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11200 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11202 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11209 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11210 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11215 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11220 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11222 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11229 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11230 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11235 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11240 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11242 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11249 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxColourData
*result
;
11252 char *kwnames
[] = {
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= (wxColourData
*)new wxColourData();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11271 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxColourData
*arg1
= (wxColourData
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxColourData
*arg1
= (wxColourData
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (bool)(arg1
)->GetChooseFull();
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11324 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxColourData
*arg1
= (wxColourData
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (arg1
)->GetColour();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 wxColour
* resultptr
;
11345 resultptr
= new wxColour((wxColour
&) result
);
11346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11354 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxColourData
*arg1
= (wxColourData
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "i", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11368 arg2
= (int) SWIG_AsInt(obj1
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (arg1
)->GetCustomColour(arg2
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 wxColour
* resultptr
;
11379 resultptr
= new wxColour((wxColour
&) result
);
11380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11388 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxColourData
*arg1
= (wxColourData
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "flag", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 arg2
= (int) SWIG_AsInt(obj1
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->SetChooseFull(arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxColourData
*arg1
= (wxColourData
*) 0 ;
11420 wxColour
*arg2
= 0 ;
11422 PyObject
* obj0
= 0 ;
11423 PyObject
* obj1
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self",(char *) "colour", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SetColour((wxColour
const &)*arg2
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxColourData
*arg1
= (wxColourData
*) 0 ;
11453 wxColour
*arg3
= 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "i",(char *) "colour", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 arg2
= (int) SWIG_AsInt(obj1
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11488 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11490 return Py_BuildValue((char *)"");
11492 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxWindow
*arg1
= (wxWindow
*) 0 ;
11495 wxColourData
*arg2
= (wxColourData
*) NULL
;
11496 wxColourDialog
*result
;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "parent",(char *) "data", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 if (!wxPyCheckForApp()) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11525 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11528 wxColourData
*result
;
11529 PyObject
* obj0
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11541 result
= (wxColourData
*) &_result_ref
;
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11554 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11557 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11559 return Py_BuildValue((char *)"");
11561 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxWindow
*arg1
= (wxWindow
*) 0 ;
11564 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11565 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11566 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11568 long arg4
= (long) 0 ;
11569 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11570 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11571 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11572 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11573 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11575 wxDirDialog
*result
;
11576 bool temp2
= False
;
11577 bool temp3
= False
;
11580 bool temp7
= False
;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11584 PyObject
* obj3
= 0 ;
11585 PyObject
* obj4
= 0 ;
11586 PyObject
* obj5
= 0 ;
11587 PyObject
* obj6
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= wxString_in_helper(obj1
);
11598 if (arg2
== NULL
) SWIG_fail
;
11604 arg3
= wxString_in_helper(obj2
);
11605 if (arg3
== NULL
) SWIG_fail
;
11610 arg4
= (long) SWIG_AsLong(obj3
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11616 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11622 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11627 arg7
= wxString_in_helper(obj6
);
11628 if (arg7
== NULL
) SWIG_fail
;
11633 if (!wxPyCheckForApp()) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11671 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (arg1
)->GetPath();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11703 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (arg1
)->GetMessage();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11735 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11739 PyObject
* obj0
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (long)(arg1
)->GetStyle();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_FromLong((long)result
);
11761 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11764 wxString
*arg2
= 0 ;
11765 bool temp2
= False
;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "message", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 arg2
= wxString_in_helper(obj1
);
11777 if (arg2
== NULL
) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 (arg1
)->SetMessage((wxString
const &)*arg2
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 Py_INCREF(Py_None
); resultobj
= Py_None
;
11802 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11805 wxString
*arg2
= 0 ;
11806 bool temp2
= False
;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "path", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11817 arg2
= wxString_in_helper(obj1
);
11818 if (arg2
== NULL
) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 (arg1
)->SetPath((wxString
const &)*arg2
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 Py_INCREF(Py_None
); resultobj
= Py_None
;
11843 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11846 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11848 return Py_BuildValue((char *)"");
11850 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxWindow
*arg1
= (wxWindow
*) 0 ;
11853 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11854 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11857 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11858 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11859 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11860 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11861 long arg6
= (long) 0 ;
11862 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11863 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11864 wxFileDialog
*result
;
11865 bool temp2
= False
;
11866 bool temp3
= False
;
11867 bool temp4
= False
;
11868 bool temp5
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 PyObject
* obj4
= 0 ;
11875 PyObject
* obj5
= 0 ;
11876 PyObject
* obj6
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg2
= wxString_in_helper(obj1
);
11887 if (arg2
== NULL
) SWIG_fail
;
11893 arg3
= wxString_in_helper(obj2
);
11894 if (arg3
== NULL
) SWIG_fail
;
11900 arg4
= wxString_in_helper(obj3
);
11901 if (arg4
== NULL
) SWIG_fail
;
11907 arg5
= wxString_in_helper(obj4
);
11908 if (arg5
== NULL
) SWIG_fail
;
11913 arg6
= (long) SWIG_AsLong(obj5
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11919 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11923 if (!wxPyCheckForApp()) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11969 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11972 wxString
*arg2
= 0 ;
11973 bool temp2
= False
;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "message", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 arg2
= wxString_in_helper(obj1
);
11985 if (arg2
== NULL
) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->SetMessage((wxString
const &)*arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 Py_INCREF(Py_None
); resultobj
= Py_None
;
12010 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
;
12012 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12013 wxString
*arg2
= 0 ;
12014 bool temp2
= False
;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self",(char *) "path", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 arg2
= wxString_in_helper(obj1
);
12026 if (arg2
== NULL
) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetPath((wxString
const &)*arg2
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12051 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12054 wxString
*arg2
= 0 ;
12055 bool temp2
= False
;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "dir", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 arg2
= wxString_in_helper(obj1
);
12067 if (arg2
== NULL
) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12095 wxString
*arg2
= 0 ;
12096 bool temp2
= False
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "name", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 arg2
= wxString_in_helper(obj1
);
12108 if (arg2
== NULL
) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->SetFilename((wxString
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12136 wxString
*arg2
= 0 ;
12137 bool temp2
= False
;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "wildCard", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= wxString_in_helper(obj1
);
12149 if (arg2
== NULL
) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "style", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 arg2
= (long) SWIG_AsLong(obj1
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 (arg1
)->SetStyle(arg2
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 Py_INCREF(Py_None
); resultobj
= Py_None
;
12203 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self",(char *) "filterIndex", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12216 arg2
= (int) SWIG_AsInt(obj1
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetFilterIndex(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12264 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12296 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12328 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12360 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12392 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_FromLong((long)result
);
12418 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_FromInt((int)result
);
12444 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12448 PyObject
* obj0
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= result
;
12470 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= result
;
12496 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12499 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12501 return Py_BuildValue((char *)"");
12503 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxWindow
*arg1
= (wxWindow
*) 0 ;
12506 wxString
*arg2
= 0 ;
12507 wxString
*arg3
= 0 ;
12508 int arg4
= (int) 0 ;
12509 wxString
*arg5
= (wxString
*) NULL
;
12510 long arg6
= (long) wxCHOICEDLG_STYLE
;
12511 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12512 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12513 wxMultiChoiceDialog
*result
;
12514 bool temp2
= False
;
12515 bool temp3
= False
;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 PyObject
* obj3
= 0 ;
12521 PyObject
* obj4
= 0 ;
12522 PyObject
* obj5
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 arg2
= wxString_in_helper(obj1
);
12532 if (arg2
== NULL
) SWIG_fail
;
12536 arg3
= wxString_in_helper(obj2
);
12537 if (arg3
== NULL
) SWIG_fail
;
12542 arg4
= PyList_Size(obj3
);
12543 arg5
= wxString_LIST_helper(obj3
);
12544 if (arg5
== NULL
) SWIG_fail
;
12548 arg6
= (long) SWIG_AsLong(obj4
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12554 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12558 if (!wxPyCheckForApp()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12575 if (arg5
) delete [] arg5
;
12588 if (arg5
) delete [] arg5
;
12594 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12597 wxArrayInt
*arg2
= 0 ;
12598 bool temp2
= False
;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self",(char *) "selections", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 if (! PySequence_Check(obj1
)) {
12610 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12613 arg2
= new wxArrayInt
;
12615 int i
, len
=PySequence_Length(obj1
);
12616 for (i
=0; i
<len
; i
++) {
12617 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12618 PyObject
* number
= PyNumber_Int(item
);
12619 arg2
->Add(PyInt_AS_LONG(number
));
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12633 if (temp2
) delete arg2
;
12638 if (temp2
) delete arg2
;
12644 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= result
;
12670 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12673 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12675 return Py_BuildValue((char *)"");
12677 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxWindow
*arg1
= (wxWindow
*) 0 ;
12680 wxString
*arg2
= 0 ;
12681 wxString
*arg3
= 0 ;
12683 wxString
*arg5
= (wxString
*) 0 ;
12684 long arg6
= (long) wxCHOICEDLG_STYLE
;
12685 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12686 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12687 wxSingleChoiceDialog
*result
;
12688 bool temp2
= False
;
12689 bool temp3
= False
;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 PyObject
* obj2
= 0 ;
12694 PyObject
* obj3
= 0 ;
12695 PyObject
* obj4
= 0 ;
12696 PyObject
* obj5
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 arg2
= wxString_in_helper(obj1
);
12706 if (arg2
== NULL
) SWIG_fail
;
12710 arg3
= wxString_in_helper(obj2
);
12711 if (arg3
== NULL
) SWIG_fail
;
12715 arg4
= PyList_Size(obj3
);
12716 arg5
= wxString_LIST_helper(obj3
);
12717 if (arg5
== NULL
) SWIG_fail
;
12720 arg6
= (long) SWIG_AsLong(obj4
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12726 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12730 if (!wxPyCheckForApp()) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12747 if (arg5
) delete [] arg5
;
12760 if (arg5
) delete [] arg5
;
12766 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
;
12768 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (int)(arg1
)->GetSelection();
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= SWIG_FromInt((int)result
);
12792 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (arg1
)->GetStringSelection();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12824 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "sel", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 arg2
= (int) SWIG_AsInt(obj1
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->SetSelection(arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12856 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12858 return Py_BuildValue((char *)"");
12860 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxWindow
*arg1
= (wxWindow
*) 0 ;
12863 wxString
*arg2
= 0 ;
12864 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12866 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12867 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12868 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12869 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12870 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12871 wxTextEntryDialog
*result
;
12872 bool temp2
= False
;
12873 bool temp3
= False
;
12874 bool temp4
= False
;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 PyObject
* obj2
= 0 ;
12879 PyObject
* obj3
= 0 ;
12880 PyObject
* obj4
= 0 ;
12881 PyObject
* obj5
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 arg2
= wxString_in_helper(obj1
);
12891 if (arg2
== NULL
) SWIG_fail
;
12896 arg3
= wxString_in_helper(obj2
);
12897 if (arg3
== NULL
) SWIG_fail
;
12903 arg4
= wxString_in_helper(obj3
);
12904 if (arg4
== NULL
) SWIG_fail
;
12909 arg5
= (long) SWIG_AsLong(obj4
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12915 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12919 if (!wxPyCheckForApp()) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12957 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (arg1
)->GetValue();
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12989 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12992 wxString
*arg2
= 0 ;
12993 bool temp2
= False
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self",(char *) "value", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13004 arg2
= wxString_in_helper(obj1
);
13005 if (arg2
== NULL
) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 (arg1
)->SetValue((wxString
const &)*arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13035 return Py_BuildValue((char *)"");
13037 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxFontData
*result
;
13040 char *kwnames
[] = {
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxFontData
*)new wxFontData();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13059 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxFontData
*arg1
= (wxFontData
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxFontData
*arg1
= (wxFontData
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "enable", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 arg2
= (bool) SWIG_AsBool(obj1
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->EnableEffects(arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13113 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxFontData
*arg1
= (wxFontData
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (bool)(arg1
)->GetAllowSymbols();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13141 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxFontData
*arg1
= (wxFontData
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (arg1
)->GetColour();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 wxColour
* resultptr
;
13162 resultptr
= new wxColour((wxColour
&) result
);
13163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13171 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxFontData
*arg1
= (wxFontData
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (arg1
)->GetChosenFont();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 wxFont
* resultptr
;
13192 resultptr
= new wxFont((wxFont
&) result
);
13193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13201 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxFontData
*arg1
= (wxFontData
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->GetEnableEffects();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxFontData
*arg1
= (wxFontData
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (arg1
)->GetInitialFont();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 wxFont
* resultptr
;
13250 resultptr
= new wxFont((wxFont
&) result
);
13251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13259 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxFontData
*arg1
= (wxFontData
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)(arg1
)->GetShowHelp();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxFontData
*arg1
= (wxFontData
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "allowSymbols", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 arg2
= (bool) SWIG_AsBool(obj1
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 (arg1
)->SetAllowSymbols(arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 Py_INCREF(Py_None
); resultobj
= Py_None
;
13316 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxFontData
*arg1
= (wxFontData
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self",(char *) "font", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13332 if (arg2
== NULL
) {
13333 PyErr_SetString(PyExc_TypeError
,"null reference");
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 Py_INCREF(Py_None
); resultobj
= Py_None
;
13350 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxFontData
*arg1
= (wxFontData
*) 0 ;
13353 wxColour
*arg2
= 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "colour", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetColour((wxColour
const &)*arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 Py_INCREF(Py_None
); resultobj
= Py_None
;
13382 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxFontData
*arg1
= (wxFontData
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "font", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13398 if (arg2
== NULL
) {
13399 PyErr_SetString(PyExc_TypeError
,"null reference");
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 Py_INCREF(Py_None
); resultobj
= Py_None
;
13416 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxFontData
*arg1
= (wxFontData
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 PyObject
* obj2
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "min",(char *) "max", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 arg2
= (int) SWIG_AsInt(obj1
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13433 arg3
= (int) SWIG_AsInt(obj2
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 (arg1
)->SetRange(arg2
,arg3
);
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 Py_INCREF(Py_None
); resultobj
= Py_None
;
13449 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxFontData
*arg1
= (wxFontData
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "showHelp", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 arg2
= (bool) SWIG_AsBool(obj1
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 (arg1
)->SetShowHelp(arg2
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 Py_INCREF(Py_None
); resultobj
= Py_None
;
13478 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13481 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13483 return Py_BuildValue((char *)"");
13485 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxWindow
*arg1
= (wxWindow
*) 0 ;
13488 wxFontData
*arg2
= 0 ;
13489 wxFontDialog
*result
;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "parent",(char *) "data", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13502 if (arg2
== NULL
) {
13503 PyErr_SetString(PyExc_TypeError
,"null reference");
13507 if (!wxPyCheckForApp()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13521 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13524 wxFontData
*result
;
13525 PyObject
* obj0
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13537 result
= (wxFontData
*) &_result_ref
;
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13550 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13553 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13555 return Py_BuildValue((char *)"");
13557 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxWindow
*arg1
= (wxWindow
*) 0 ;
13560 wxString
*arg2
= 0 ;
13561 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13562 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13563 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13564 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13565 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13566 wxMessageDialog
*result
;
13567 bool temp2
= False
;
13568 bool temp3
= False
;
13570 PyObject
* obj0
= 0 ;
13571 PyObject
* obj1
= 0 ;
13572 PyObject
* obj2
= 0 ;
13573 PyObject
* obj3
= 0 ;
13574 PyObject
* obj4
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 arg2
= wxString_in_helper(obj1
);
13584 if (arg2
== NULL
) SWIG_fail
;
13589 arg3
= wxString_in_helper(obj2
);
13590 if (arg3
== NULL
) SWIG_fail
;
13595 arg4
= (long) SWIG_AsLong(obj3
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13605 if (!wxPyCheckForApp()) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13635 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13638 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13640 return Py_BuildValue((char *)"");
13642 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxString
*arg1
= 0 ;
13645 wxString
*arg2
= 0 ;
13646 int arg3
= (int) 100 ;
13647 wxWindow
*arg4
= (wxWindow
*) NULL
;
13648 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13649 wxProgressDialog
*result
;
13650 bool temp1
= False
;
13651 bool temp2
= False
;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 PyObject
* obj2
= 0 ;
13655 PyObject
* obj3
= 0 ;
13656 PyObject
* obj4
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13663 arg1
= wxString_in_helper(obj0
);
13664 if (arg1
== NULL
) SWIG_fail
;
13668 arg2
= wxString_in_helper(obj1
);
13669 if (arg2
== NULL
) SWIG_fail
;
13673 arg3
= (int) SWIG_AsInt(obj2
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 arg5
= (int) SWIG_AsInt(obj4
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 if (!wxPyCheckForApp()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13715 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13722 bool temp3
= False
;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 PyObject
* obj2
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 arg2
= (int) SWIG_AsInt(obj1
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 arg3
= wxString_in_helper(obj2
);
13738 if (arg3
== NULL
) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13766 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
;
13768 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 Py_INCREF(Py_None
); resultobj
= Py_None
;
13791 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13794 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13796 return Py_BuildValue((char *)"");
13798 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13801 int arg2
= (int) 0 ;
13802 wxFindDialogEvent
*result
;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "commandType",(char *) "id", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13811 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13815 arg2
= (int) SWIG_AsInt(obj1
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13832 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (int)(arg1
)->GetFlags();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_FromInt((int)result
);
13858 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxString
const &_result_ref
= (arg1
)->GetFindString();
13874 result
= (wxString
*) &_result_ref
;
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13893 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13909 result
= (wxString
*) &_result_ref
;
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13928 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13931 wxFindReplaceDialog
*result
;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13954 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self",(char *) "flags", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 arg2
= (int) SWIG_AsInt(obj1
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 (arg1
)->SetFlags(arg2
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 Py_INCREF(Py_None
); resultobj
= Py_None
;
13983 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13986 wxString
*arg2
= 0 ;
13987 bool temp2
= False
;
13988 PyObject
* obj0
= 0 ;
13989 PyObject
* obj1
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self",(char *) "str", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13998 arg2
= wxString_in_helper(obj1
);
13999 if (arg2
== NULL
) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetFindString((wxString
const &)*arg2
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14024 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14027 wxString
*arg2
= 0 ;
14028 bool temp2
= False
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "str", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 arg2
= wxString_in_helper(obj1
);
14040 if (arg2
== NULL
) SWIG_fail
;
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 Py_INCREF(Py_None
); resultobj
= Py_None
;
14065 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14068 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14070 return Py_BuildValue((char *)"");
14072 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 int arg1
= (int) 0 ;
14075 wxFindReplaceData
*result
;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "flags", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14083 arg1
= (int) SWIG_AsInt(obj0
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14100 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 wxString
const &_result_ref
= (arg1
)->GetFindString();
14141 result
= (wxString
*) &_result_ref
;
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14160 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14176 result
= (wxString
*) &_result_ref
;
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14195 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (int)(arg1
)->GetFlags();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= SWIG_FromInt((int)result
);
14221 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "flags", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 arg2
= (int) SWIG_AsInt(obj1
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->SetFlags(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14250 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14253 wxString
*arg2
= 0 ;
14254 bool temp2
= False
;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "str", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 arg2
= wxString_in_helper(obj1
);
14266 if (arg2
== NULL
) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 (arg1
)->SetFindString((wxString
const &)*arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 Py_INCREF(Py_None
); resultobj
= Py_None
;
14291 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14294 wxString
*arg2
= 0 ;
14295 bool temp2
= False
;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self",(char *) "str", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 arg2
= wxString_in_helper(obj1
);
14307 if (arg2
== NULL
) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 Py_INCREF(Py_None
); resultobj
= Py_None
;
14332 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14335 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14337 return Py_BuildValue((char *)"");
14339 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxWindow
*arg1
= (wxWindow
*) 0 ;
14342 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14343 wxString
*arg3
= 0 ;
14344 int arg4
= (int) 0 ;
14345 wxFindReplaceDialog
*result
;
14346 bool temp3
= False
;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 PyObject
* obj2
= 0 ;
14350 PyObject
* obj3
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 arg3
= wxString_in_helper(obj2
);
14362 if (arg3
== NULL
) SWIG_fail
;
14366 arg4
= (int) SWIG_AsInt(obj3
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 if (!wxPyCheckForApp()) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14392 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxFindReplaceDialog
*result
;
14395 char *kwnames
[] = {
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14401 if (!wxPyCheckForApp()) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14415 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14418 wxWindow
*arg2
= (wxWindow
*) 0 ;
14419 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14420 wxString
*arg4
= 0 ;
14421 int arg5
= (int) 0 ;
14423 bool temp4
= False
;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 PyObject
* obj2
= 0 ;
14427 PyObject
* obj3
= 0 ;
14428 PyObject
* obj4
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 arg4
= wxString_in_helper(obj3
);
14442 if (arg4
== NULL
) SWIG_fail
;
14446 arg5
= (int) SWIG_AsInt(obj4
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14473 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14476 wxFindReplaceData
*result
;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14499 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
;
14501 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14502 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "data", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->SetData(arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14528 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14531 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14533 return Py_BuildValue((char *)"");
14535 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxWindow
*arg1
= (wxWindow
*) 0 ;
14538 int arg2
= (int) (int)-1 ;
14539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14545 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14546 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14548 wxMDIParentFrame
*result
;
14549 bool temp3
= False
;
14552 bool temp7
= False
;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 PyObject
* obj3
= 0 ;
14557 PyObject
* obj4
= 0 ;
14558 PyObject
* obj5
= 0 ;
14559 PyObject
* obj6
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 arg2
= (int const) SWIG_AsInt(obj1
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14573 arg3
= wxString_in_helper(obj2
);
14574 if (arg3
== NULL
) SWIG_fail
;
14581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14591 arg6
= (long) SWIG_AsLong(obj5
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14596 arg7
= wxString_in_helper(obj6
);
14597 if (arg7
== NULL
) SWIG_fail
;
14602 if (!wxPyCheckForApp()) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14632 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxMDIParentFrame
*result
;
14635 char *kwnames
[] = {
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14641 if (!wxPyCheckForApp()) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14655 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14658 wxWindow
*arg2
= (wxWindow
*) 0 ;
14659 int arg3
= (int) (int)-1 ;
14660 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14661 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14662 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14663 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14664 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14665 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14666 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14667 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14668 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14670 bool temp4
= False
;
14673 bool temp8
= False
;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 PyObject
* obj2
= 0 ;
14677 PyObject
* obj3
= 0 ;
14678 PyObject
* obj4
= 0 ;
14679 PyObject
* obj5
= 0 ;
14680 PyObject
* obj6
= 0 ;
14681 PyObject
* obj7
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 arg3
= (int const) SWIG_AsInt(obj2
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14697 arg4
= wxString_in_helper(obj3
);
14698 if (arg4
== NULL
) SWIG_fail
;
14705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14715 arg7
= (long) SWIG_AsLong(obj6
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14720 arg8
= wxString_in_helper(obj7
);
14721 if (arg8
== NULL
) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->ActivateNext();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->ActivatePrevious();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->ArrangeIcons();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 Py_INCREF(Py_None
); resultobj
= Py_None
;
14832 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 Py_INCREF(Py_None
); resultobj
= Py_None
;
14857 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14860 wxMDIChildFrame
*result
;
14861 PyObject
* obj0
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= wxPyMake_wxObject(result
);
14885 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14888 wxMDIClientWindow
*result
;
14889 PyObject
* obj0
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= wxPyMake_wxObject(result
);
14913 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (wxWindow
*)(arg1
)->GetToolBar();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= wxPyMake_wxObject(result
);
14941 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 Py_INCREF(Py_None
); resultobj
= Py_None
;
14966 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14971 return Py_BuildValue((char *)"");
14973 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14976 int arg2
= (int) (int)-1 ;
14977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14983 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14984 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14986 wxMDIChildFrame
*result
;
14987 bool temp3
= False
;
14990 bool temp7
= False
;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 PyObject
* obj3
= 0 ;
14995 PyObject
* obj4
= 0 ;
14996 PyObject
* obj5
= 0 ;
14997 PyObject
* obj6
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 arg2
= (int const) SWIG_AsInt(obj1
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15011 arg3
= wxString_in_helper(obj2
);
15012 if (arg3
== NULL
) SWIG_fail
;
15019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15029 arg6
= (long) SWIG_AsLong(obj5
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15034 arg7
= wxString_in_helper(obj6
);
15035 if (arg7
== NULL
) SWIG_fail
;
15040 if (!wxPyCheckForApp()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= wxPyMake_wxObject(result
);
15072 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMDIChildFrame
*result
;
15075 char *kwnames
[] = {
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15081 if (!wxPyCheckForApp()) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= wxPyMake_wxObject(result
);
15097 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15100 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15101 int arg3
= (int) (int)-1 ;
15102 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15103 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15104 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15105 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15106 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15107 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15108 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15109 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15112 bool temp4
= False
;
15115 bool temp8
= False
;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 PyObject
* obj3
= 0 ;
15120 PyObject
* obj4
= 0 ;
15121 PyObject
* obj5
= 0 ;
15122 PyObject
* obj6
= 0 ;
15123 PyObject
* obj7
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 arg3
= (int const) SWIG_AsInt(obj2
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15139 arg4
= wxString_in_helper(obj3
);
15140 if (arg4
== NULL
) SWIG_fail
;
15147 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15153 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15157 arg7
= (long) SWIG_AsLong(obj6
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15162 arg8
= wxString_in_helper(obj7
);
15163 if (arg8
== NULL
) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15199 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 (arg1
)->Activate();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 Py_INCREF(Py_None
); resultobj
= Py_None
;
15224 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "maximize", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 arg2
= (bool) SWIG_AsBool(obj1
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->Maximize(arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 Py_INCREF(Py_None
); resultobj
= Py_None
;
15253 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15281 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15283 return Py_BuildValue((char *)"");
15285 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15288 long arg2
= (long) 0 ;
15289 wxMDIClientWindow
*result
;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "parent",(char *) "style", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 arg2
= (long) SWIG_AsLong(obj1
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15304 if (!wxPyCheckForApp()) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= wxPyMake_wxObject(result
);
15320 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxMDIClientWindow
*result
;
15323 char *kwnames
[] = {
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15329 if (!wxPyCheckForApp()) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= wxPyMake_wxObject(result
);
15345 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15348 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15349 long arg3
= (long) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self",(char *) "parent",(char *) "style", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 arg3
= (long) SWIG_AsLong(obj2
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15383 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15386 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15388 return Py_BuildValue((char *)"");
15390 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxWindow
*arg1
= (wxWindow
*) 0 ;
15393 int arg2
= (int) (int)-1 ;
15394 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15395 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15396 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15397 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15398 long arg5
= (long) 0 ;
15399 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15400 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15401 wxPyWindow
*result
;
15404 bool temp6
= False
;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 PyObject
* obj2
= 0 ;
15408 PyObject
* obj3
= 0 ;
15409 PyObject
* obj4
= 0 ;
15410 PyObject
* obj5
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 arg2
= (int const) SWIG_AsInt(obj1
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15435 arg5
= (long) SWIG_AsLong(obj4
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15440 arg6
= wxString_in_helper(obj5
);
15441 if (arg6
== NULL
) SWIG_fail
;
15446 if (!wxPyCheckForApp()) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15468 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxPyWindow
*result
;
15471 char *kwnames
[] = {
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15477 if (!wxPyCheckForApp()) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (wxPyWindow
*)new wxPyWindow();
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15491 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15494 PyObject
*arg2
= (PyObject
*) 0 ;
15495 PyObject
*arg3
= (PyObject
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 PyObject
* obj2
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "self",(char *) "_class", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "size", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15538 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 Py_INCREF(Py_None
); resultobj
= Py_None
;
15554 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 PyObject
* obj3
= 0 ;
15565 PyObject
* obj4
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15573 arg2
= (int) SWIG_AsInt(obj1
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15575 arg3
= (int) SWIG_AsInt(obj2
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15577 arg4
= (int) SWIG_AsInt(obj3
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15579 arg5
= (int) SWIG_AsInt(obj4
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 Py_INCREF(Py_None
); resultobj
= Py_None
;
15595 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15602 int arg6
= (int) wxSIZE_AUTO
;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 PyObject
* obj3
= 0 ;
15607 PyObject
* obj4
= 0 ;
15608 PyObject
* obj5
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15616 arg2
= (int) SWIG_AsInt(obj1
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15618 arg3
= (int) SWIG_AsInt(obj2
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15620 arg4
= (int) SWIG_AsInt(obj3
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15622 arg5
= (int) SWIG_AsInt(obj4
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 arg6
= (int) SWIG_AsInt(obj5
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "width",(char *) "height", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 arg2
= (int) SWIG_AsInt(obj1
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15659 arg3
= (int) SWIG_AsInt(obj2
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "x",(char *) "y", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 arg2
= (int) SWIG_AsInt(obj1
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15692 arg3
= (int) SWIG_AsInt(obj2
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15708 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15711 int *arg2
= (int *) 0 ;
15712 int *arg3
= (int *) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 Py_INCREF(Py_None
); resultobj
= Py_None
;
15734 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15735 resultobj
= t_output_helper(resultobj
,o
);
15738 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15739 resultobj
= t_output_helper(resultobj
,o
);
15747 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15750 int *arg2
= (int *) 0 ;
15751 int *arg3
= (int *) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 Py_INCREF(Py_None
); resultobj
= Py_None
;
15773 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15774 resultobj
= t_output_helper(resultobj
,o
);
15777 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15778 resultobj
= t_output_helper(resultobj
,o
);
15786 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15789 int *arg2
= (int *) 0 ;
15790 int *arg3
= (int *) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 Py_INCREF(Py_None
); resultobj
= Py_None
;
15812 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15813 resultobj
= t_output_helper(resultobj
,o
);
15816 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15817 resultobj
= t_output_helper(resultobj
,o
);
15825 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15829 PyObject
* obj0
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 wxSize
* resultptr
;
15846 resultptr
= new wxSize((wxSize
&) result
);
15847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15855 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15859 PyObject
* obj0
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "self", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15875 wxSize
* resultptr
;
15876 resultptr
= new wxSize((wxSize
&) result
);
15877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15885 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 (arg1
)->base_InitDialog();
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 Py_INCREF(Py_None
); resultobj
= Py_None
;
15910 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (bool)(arg1
)->base_TransferDataToWindow();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15966 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (bool)(arg1
)->base_Validate();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15994 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16022 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16050 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16070 wxSize
* resultptr
;
16071 resultptr
= new wxSize((wxSize
&) result
);
16072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16080 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16083 wxWindow
*arg2
= (wxWindow
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "child", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->base_AddChild(arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16109 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16112 wxWindow
*arg2
= (wxWindow
*) 0 ;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "child", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 (arg1
)->base_RemoveChild(arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16166 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16169 wxColour
*arg2
= 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self",(char *) "c", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 Py_INCREF(Py_None
); resultobj
= Py_None
;
16198 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16201 wxVisualAttributes result
;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (arg1
)->base_GetDefaultAttributes();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 wxVisualAttributes
* resultptr
;
16219 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16228 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16231 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16233 return Py_BuildValue((char *)"");
16235 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxWindow
*arg1
= (wxWindow
*) 0 ;
16238 int arg2
= (int) (int)-1 ;
16239 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16240 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16241 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16242 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16243 long arg5
= (long) 0 ;
16244 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16245 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16249 bool temp6
= False
;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 PyObject
* obj2
= 0 ;
16253 PyObject
* obj3
= 0 ;
16254 PyObject
* obj4
= 0 ;
16255 PyObject
* obj5
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16264 arg2
= (int const) SWIG_AsInt(obj1
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16280 arg5
= (long) SWIG_AsLong(obj4
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16285 arg6
= wxString_in_helper(obj5
);
16286 if (arg6
== NULL
) SWIG_fail
;
16291 if (!wxPyCheckForApp()) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16313 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16316 char *kwnames
[] = {
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16322 if (!wxPyCheckForApp()) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 result
= (wxPyPanel
*)new wxPyPanel();
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16336 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16339 PyObject
*arg2
= (PyObject
*) 0 ;
16340 PyObject
*arg3
= (PyObject
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "self",(char *) "_class", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "size", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16383 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 Py_INCREF(Py_None
); resultobj
= Py_None
;
16399 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 PyObject
* obj2
= 0 ;
16409 PyObject
* obj3
= 0 ;
16410 PyObject
* obj4
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= (int) SWIG_AsInt(obj1
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16420 arg3
= (int) SWIG_AsInt(obj2
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16422 arg4
= (int) SWIG_AsInt(obj3
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16424 arg5
= (int) SWIG_AsInt(obj4
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 Py_INCREF(Py_None
); resultobj
= Py_None
;
16440 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16447 int arg6
= (int) wxSIZE_AUTO
;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 PyObject
* obj2
= 0 ;
16451 PyObject
* obj3
= 0 ;
16452 PyObject
* obj4
= 0 ;
16453 PyObject
* obj5
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 arg2
= (int) SWIG_AsInt(obj1
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16463 arg3
= (int) SWIG_AsInt(obj2
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16465 arg4
= (int) SWIG_AsInt(obj3
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16467 arg5
= (int) SWIG_AsInt(obj4
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 arg6
= (int) SWIG_AsInt(obj5
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 PyObject
* obj2
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self",(char *) "width",(char *) "height", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 arg2
= (int) SWIG_AsInt(obj1
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16504 arg3
= (int) SWIG_AsInt(obj2
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 PyObject
* obj2
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "x",(char *) "y", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 arg2
= (int) SWIG_AsInt(obj1
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16537 arg3
= (int) SWIG_AsInt(obj2
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16556 int *arg2
= (int *) 0 ;
16557 int *arg3
= (int *) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 Py_INCREF(Py_None
); resultobj
= Py_None
;
16579 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16580 resultobj
= t_output_helper(resultobj
,o
);
16583 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16584 resultobj
= t_output_helper(resultobj
,o
);
16592 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16595 int *arg2
= (int *) 0 ;
16596 int *arg3
= (int *) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16619 resultobj
= t_output_helper(resultobj
,o
);
16622 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16623 resultobj
= t_output_helper(resultobj
,o
);
16631 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16634 int *arg2
= (int *) 0 ;
16635 int *arg3
= (int *) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16658 resultobj
= t_output_helper(resultobj
,o
);
16661 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16662 resultobj
= t_output_helper(resultobj
,o
);
16670 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 wxSize
* resultptr
;
16691 resultptr
= new wxSize((wxSize
&) result
);
16692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16700 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 wxSize
* resultptr
;
16721 resultptr
= new wxSize((wxSize
&) result
);
16722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16730 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 (arg1
)->base_InitDialog();
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 Py_INCREF(Py_None
); resultobj
= Py_None
;
16755 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16759 PyObject
* obj0
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)(arg1
)->base_TransferDataToWindow();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16783 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
;
16785 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16787 PyObject
* obj0
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16811 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (bool)(arg1
)->base_Validate();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16839 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16867 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16895 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 wxSize
* resultptr
;
16916 resultptr
= new wxSize((wxSize
&) result
);
16917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16925 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16928 wxWindow
*arg2
= (wxWindow
*) 0 ;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self",(char *) "child", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 (arg1
)->base_AddChild(arg2
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 Py_INCREF(Py_None
); resultobj
= Py_None
;
16954 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16957 wxWindow
*arg2
= (wxWindow
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "child", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->base_RemoveChild(arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17011 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17014 wxColour
*arg2
= 0 ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "c", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 Py_INCREF(Py_None
); resultobj
= Py_None
;
17043 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
;
17045 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17046 wxVisualAttributes result
;
17047 PyObject
* obj0
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (arg1
)->base_GetDefaultAttributes();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 wxVisualAttributes
* resultptr
;
17064 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17073 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17076 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17078 return Py_BuildValue((char *)"");
17080 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxWindow
*arg1
= (wxWindow
*) 0 ;
17083 int arg2
= (int) (int)-1 ;
17084 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17085 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17086 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17087 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17088 long arg5
= (long) 0 ;
17089 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17090 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17091 wxPyScrolledWindow
*result
;
17094 bool temp6
= False
;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 PyObject
* obj2
= 0 ;
17098 PyObject
* obj3
= 0 ;
17099 PyObject
* obj4
= 0 ;
17100 PyObject
* obj5
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17109 arg2
= (int const) SWIG_AsInt(obj1
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17121 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17125 arg5
= (long) SWIG_AsLong(obj4
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17130 arg6
= wxString_in_helper(obj5
);
17131 if (arg6
== NULL
) SWIG_fail
;
17136 if (!wxPyCheckForApp()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17158 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPyScrolledWindow
*result
;
17161 char *kwnames
[] = {
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17167 if (!wxPyCheckForApp()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17181 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17184 PyObject
*arg2
= (PyObject
*) 0 ;
17185 PyObject
*arg3
= (PyObject
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "self",(char *) "_class", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self",(char *) "size", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 Py_INCREF(Py_None
); resultobj
= Py_None
;
17244 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 PyObject
* obj2
= 0 ;
17254 PyObject
* obj3
= 0 ;
17255 PyObject
* obj4
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 arg2
= (int) SWIG_AsInt(obj1
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17265 arg3
= (int) SWIG_AsInt(obj2
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17267 arg4
= (int) SWIG_AsInt(obj3
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17269 arg5
= (int) SWIG_AsInt(obj4
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 Py_INCREF(Py_None
); resultobj
= Py_None
;
17285 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17292 int arg6
= (int) wxSIZE_AUTO
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 PyObject
* obj4
= 0 ;
17298 PyObject
* obj5
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 arg2
= (int) SWIG_AsInt(obj1
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17308 arg3
= (int) SWIG_AsInt(obj2
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17310 arg4
= (int) SWIG_AsInt(obj3
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17312 arg5
= (int) SWIG_AsInt(obj4
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 arg6
= (int) SWIG_AsInt(obj5
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 Py_INCREF(Py_None
); resultobj
= Py_None
;
17332 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 PyObject
* obj2
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "width",(char *) "height", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17347 arg2
= (int) SWIG_AsInt(obj1
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17349 arg3
= (int) SWIG_AsInt(obj2
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 Py_INCREF(Py_None
); resultobj
= Py_None
;
17365 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 PyObject
* obj2
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "x",(char *) "y", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17380 arg2
= (int) SWIG_AsInt(obj1
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17382 arg3
= (int) SWIG_AsInt(obj2
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 Py_INCREF(Py_None
); resultobj
= Py_None
;
17398 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17400 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17401 int *arg2
= (int *) 0 ;
17402 int *arg3
= (int *) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 Py_INCREF(Py_None
); resultobj
= Py_None
;
17424 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17425 resultobj
= t_output_helper(resultobj
,o
);
17428 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17429 resultobj
= t_output_helper(resultobj
,o
);
17437 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17440 int *arg2
= (int *) 0 ;
17441 int *arg3
= (int *) 0 ;
17444 PyObject
* obj0
= 0 ;
17445 char *kwnames
[] = {
17446 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 Py_INCREF(Py_None
); resultobj
= Py_None
;
17463 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17464 resultobj
= t_output_helper(resultobj
,o
);
17467 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17468 resultobj
= t_output_helper(resultobj
,o
);
17476 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17479 int *arg2
= (int *) 0 ;
17480 int *arg3
= (int *) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17503 resultobj
= t_output_helper(resultobj
,o
);
17506 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17507 resultobj
= t_output_helper(resultobj
,o
);
17515 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 wxSize
* resultptr
;
17536 resultptr
= new wxSize((wxSize
&) result
);
17537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17545 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 wxSize
* resultptr
;
17566 resultptr
= new wxSize((wxSize
&) result
);
17567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17575 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 (arg1
)->base_InitDialog();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 Py_INCREF(Py_None
); resultobj
= Py_None
;
17600 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17604 PyObject
* obj0
= 0 ;
17605 char *kwnames
[] = {
17606 (char *) "self", NULL
17609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (bool)(arg1
)->base_TransferDataToWindow();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17628 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17656 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (bool)(arg1
)->base_Validate();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17684 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17712 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17740 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 wxSize
* resultptr
;
17761 resultptr
= new wxSize((wxSize
&) result
);
17762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17770 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17773 wxWindow
*arg2
= (wxWindow
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "child", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->base_AddChild(arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17802 wxWindow
*arg2
= (wxWindow
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "child", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->base_RemoveChild(arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17856 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17859 wxColour
*arg2
= 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "c", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17891 wxVisualAttributes result
;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (arg1
)->base_GetDefaultAttributes();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 wxVisualAttributes
* resultptr
;
17909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17918 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17921 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17923 return Py_BuildValue((char *)"");
17925 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17926 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17931 static PyObject
*_wrap_PrintoutTitleStr_get() {
17936 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17938 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17945 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17946 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17951 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17956 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17958 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17965 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxPrintData
*result
;
17968 char *kwnames
[] = {
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (wxPrintData
*)new wxPrintData();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17987 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 Py_INCREF(Py_None
); resultobj
= Py_None
;
18012 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (int)(arg1
)->GetNoCopies();
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_FromInt((int)result
);
18038 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (bool)(arg1
)->GetCollate();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18066 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (int)(arg1
)->GetOrientation();
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_FromInt((int)result
);
18092 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (bool)(arg1
)->Ok();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18120 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18136 result
= (wxString
*) &_result_ref
;
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18146 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18155 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (bool)(arg1
)->GetColour();
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18183 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (int)(arg1
)->GetDuplex();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_FromInt((int)result
);
18209 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (int)(arg1
)->GetPaperId();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_FromInt((int)result
);
18235 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18251 result
= (wxSize
*) &_result_ref
;
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18264 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (int)(arg1
)->GetQuality();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_FromInt((int)result
);
18290 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "v", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 arg2
= (int) SWIG_AsInt(obj1
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetNoCopies(arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "flag", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (bool) SWIG_AsBool(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->SetCollate(arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "orient", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18361 arg2
= (int) SWIG_AsInt(obj1
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 (arg1
)->SetOrientation(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18377 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18380 wxString
*arg2
= 0 ;
18381 bool temp2
= False
;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "name", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 arg2
= wxString_in_helper(obj1
);
18393 if (arg2
== NULL
) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 Py_INCREF(Py_None
); resultobj
= Py_None
;
18418 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 PyObject
* obj1
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self",(char *) "colour", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18431 arg2
= (bool) SWIG_AsBool(obj1
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->SetColour(arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 Py_INCREF(Py_None
); resultobj
= Py_None
;
18447 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "duplex", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 Py_INCREF(Py_None
); resultobj
= Py_None
;
18476 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self",(char *) "sizeId", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "sz", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "quality", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 arg2
= (int) SWIG_AsInt(obj1
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 (arg1
)->SetQuality(arg2
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 Py_INCREF(Py_None
); resultobj
= Py_None
;
18566 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18582 result
= (wxString
*) &_result_ref
;
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18601 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18617 result
= (wxString
*) &_result_ref
;
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18636 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18652 result
= (wxString
*) &_result_ref
;
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18671 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "self", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 wxString
const &_result_ref
= (arg1
)->GetFilename();
18687 result
= (wxString
*) &_result_ref
;
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18706 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18722 result
= (wxString
*) &_result_ref
;
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18741 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= (double)(arg1
)->GetPrinterScaleX();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_FromDouble((double)result
);
18767 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (double)(arg1
)->GetPrinterScaleY();
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_FromDouble((double)result
);
18793 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (long)(arg1
)->GetPrinterTranslateX();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= SWIG_FromLong((long)result
);
18819 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (long)(arg1
)->GetPrinterTranslateY();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_FromLong((long)result
);
18845 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (int)(arg1
)->GetPrintMode();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_FromInt((int)result
);
18871 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18874 wxString
*arg2
= 0 ;
18875 bool temp2
= False
;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "command", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18886 arg2
= wxString_in_helper(obj1
);
18887 if (arg2
== NULL
) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 Py_INCREF(Py_None
); resultobj
= Py_None
;
18912 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18915 wxString
*arg2
= 0 ;
18916 bool temp2
= False
;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "options", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18927 arg2
= wxString_in_helper(obj1
);
18928 if (arg2
== NULL
) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 Py_INCREF(Py_None
); resultobj
= Py_None
;
18953 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18956 wxString
*arg2
= 0 ;
18957 bool temp2
= False
;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "command", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= wxString_in_helper(obj1
);
18969 if (arg2
== NULL
) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 Py_INCREF(Py_None
); resultobj
= Py_None
;
18994 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18997 wxString
*arg2
= 0 ;
18998 bool temp2
= False
;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "filename", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19009 arg2
= wxString_in_helper(obj1
);
19010 if (arg2
== NULL
) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 (arg1
)->SetFilename((wxString
const &)*arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 Py_INCREF(Py_None
); resultobj
= Py_None
;
19035 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19038 wxString
*arg2
= 0 ;
19039 bool temp2
= False
;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "path", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19050 arg2
= wxString_in_helper(obj1
);
19051 if (arg2
== NULL
) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 Py_INCREF(Py_None
); resultobj
= Py_None
;
19076 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "x", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 arg2
= (double) SWIG_AsDouble(obj1
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 (arg1
)->SetPrinterScaleX(arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 Py_INCREF(Py_None
); resultobj
= Py_None
;
19105 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "y", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 arg2
= (double) SWIG_AsDouble(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->SetPrinterScaleY(arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 PyObject
* obj2
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "x",(char *) "y", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 arg2
= (double) SWIG_AsDouble(obj1
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19151 arg3
= (double) SWIG_AsDouble(obj2
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 Py_INCREF(Py_None
); resultobj
= Py_None
;
19167 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "x", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19180 arg2
= (long) SWIG_AsLong(obj1
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 (arg1
)->SetPrinterTranslateX(arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 Py_INCREF(Py_None
); resultobj
= Py_None
;
19196 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "self",(char *) "y", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 arg2
= (long) SWIG_AsLong(obj1
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetPrinterTranslateY(arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 PyObject
* obj2
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "x",(char *) "y", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= (long) SWIG_AsLong(obj1
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19242 arg3
= (long) SWIG_AsLong(obj2
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 Py_INCREF(Py_None
); resultobj
= Py_None
;
19258 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "printMode", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 Py_INCREF(Py_None
); resultobj
= Py_None
;
19287 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19290 wxOutputStream
*result
;
19291 PyObject
* obj0
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19313 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19316 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "outputstream", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 (arg1
)->SetOutputStream(arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 Py_INCREF(Py_None
); resultobj
= Py_None
;
19342 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19345 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19347 return Py_BuildValue((char *)"");
19349 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxPageSetupDialogData
*result
;
19352 char *kwnames
[] = {
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19371 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "flag", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 arg2
= (bool) SWIG_AsBool(obj1
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->EnableHelp(arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "flag", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19438 arg2
= (bool) SWIG_AsBool(obj1
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->EnableMargins(arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 Py_INCREF(Py_None
); resultobj
= Py_None
;
19454 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self",(char *) "flag", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19467 arg2
= (bool) SWIG_AsBool(obj1
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->EnableOrientation(arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 Py_INCREF(Py_None
); resultobj
= Py_None
;
19483 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "flag", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19496 arg2
= (bool) SWIG_AsBool(obj1
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 (arg1
)->EnablePaper(arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "flag", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 arg2
= (bool) SWIG_AsBool(obj1
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->EnablePrinter(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (bool)(arg1
)->GetDefaultMinMargins();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19569 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (bool)(arg1
)->GetEnableMargins();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19597 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (bool)(arg1
)->GetEnableOrientation();
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19625 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (bool)(arg1
)->GetEnablePaper();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19653 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (bool)(arg1
)->GetEnablePrinter();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19681 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (bool)(arg1
)->GetEnableHelp();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19709 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (bool)(arg1
)->GetDefaultInfo();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19737 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (arg1
)->GetMarginTopLeft();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 wxPoint
* resultptr
;
19758 resultptr
= new wxPoint((wxPoint
&) result
);
19759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19767 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (arg1
)->GetMarginBottomRight();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 wxPoint
* resultptr
;
19788 resultptr
= new wxPoint((wxPoint
&) result
);
19789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19797 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (arg1
)->GetMinMarginTopLeft();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 wxPoint
* resultptr
;
19818 resultptr
= new wxPoint((wxPoint
&) result
);
19819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19827 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (arg1
)->GetMinMarginBottomRight();
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19847 wxPoint
* resultptr
;
19848 resultptr
= new wxPoint((wxPoint
&) result
);
19849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19857 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (int)(arg1
)->GetPaperId();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_FromInt((int)result
);
19883 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (arg1
)->GetPaperSize();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 wxSize
* resultptr
;
19904 resultptr
= new wxSize((wxSize
&) result
);
19905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19913 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19916 wxPrintData
*result
;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19929 result
= (wxPrintData
*) &_result_ref
;
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19942 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)(arg1
)->Ok();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "flag", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19983 arg2
= (bool) SWIG_AsBool(obj1
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->SetDefaultInfo(arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "flag", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 arg2
= (bool) SWIG_AsBool(obj1
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetDefaultMinMargins(arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20031 wxPoint
*arg2
= 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "pt", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20063 wxPoint
*arg2
= 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "pt", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20095 wxPoint
*arg2
= 0 ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self",(char *) "pt", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 Py_INCREF(Py_None
); resultobj
= Py_None
;
20124 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20127 wxPoint
*arg2
= 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "pt", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self",(char *) "id", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "size", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20220 wxPrintData
*arg2
= 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "printData", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20233 if (arg2
== NULL
) {
20234 PyErr_SetString(PyExc_TypeError
,"null reference");
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20254 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20256 return Py_BuildValue((char *)"");
20258 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxWindow
*arg1
= (wxWindow
*) 0 ;
20261 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20262 wxPageSetupDialog
*result
;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "parent",(char *) "data", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20277 if (!wxPyCheckForApp()) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20291 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
;
20293 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20294 wxPageSetupDialogData
*result
;
20295 PyObject
* obj0
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20307 result
= (wxPageSetupDialogData
*) &_result_ref
;
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20320 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (int)(arg1
)->ShowModal();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_FromInt((int)result
);
20346 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20349 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20351 return Py_BuildValue((char *)"");
20353 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20354 PyObject
*resultobj
;
20355 wxPrintDialogData
*result
;
20357 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20372 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20373 PyObject
*resultobj
;
20374 wxPrintData
*arg1
= 0 ;
20375 wxPrintDialogData
*result
;
20376 PyObject
* obj0
= 0 ;
20378 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20382 if (arg1
== NULL
) {
20383 PyErr_SetString(PyExc_TypeError
,"null reference");
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20400 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20405 argc
= PyObject_Length(args
);
20406 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20407 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20410 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20416 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20424 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20428 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20433 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_FromInt((int)result
);
20484 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_FromInt((int)result
);
20510 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_FromInt((int)result
);
20536 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= SWIG_FromInt((int)result
);
20562 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 resultobj
= SWIG_FromInt((int)result
);
20588 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20616 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20644 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20672 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20674 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20700 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20728 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "v", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 arg2
= (int) SWIG_AsInt(obj1
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->SetFromPage(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 Py_INCREF(Py_None
); resultobj
= Py_None
;
20757 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 PyObject
* obj1
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self",(char *) "v", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= (int) SWIG_AsInt(obj1
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->SetToPage(arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 Py_INCREF(Py_None
); resultobj
= Py_None
;
20786 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self",(char *) "v", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 arg2
= (int) SWIG_AsInt(obj1
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 (arg1
)->SetMinPage(arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 Py_INCREF(Py_None
); resultobj
= Py_None
;
20815 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "v", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 arg2
= (int) SWIG_AsInt(obj1
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->SetMaxPage(arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "v", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 arg2
= (int) SWIG_AsInt(obj1
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->SetNoCopies(arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 Py_INCREF(Py_None
); resultobj
= Py_None
;
20873 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj1
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self",(char *) "flag", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 arg2
= (bool) SWIG_AsBool(obj1
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->SetAllPages(arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 Py_INCREF(Py_None
); resultobj
= Py_None
;
20902 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 PyObject
* obj1
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self",(char *) "flag", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 arg2
= (bool) SWIG_AsBool(obj1
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 (arg1
)->SetSelection(arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 Py_INCREF(Py_None
); resultobj
= Py_None
;
20931 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "flag", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 arg2
= (bool) SWIG_AsBool(obj1
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 (arg1
)->SetCollate(arg2
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 Py_INCREF(Py_None
); resultobj
= Py_None
;
20960 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self",(char *) "flag", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 arg2
= (bool) SWIG_AsBool(obj1
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 (arg1
)->SetPrintToFile(arg2
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 Py_INCREF(Py_None
); resultobj
= Py_None
;
20989 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "flag", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21002 arg2
= (bool) SWIG_AsBool(obj1
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->SetSetupDialog(arg2
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 char *kwnames
[] = {
21025 (char *) "self",(char *) "flag", NULL
21028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 arg2
= (bool) SWIG_AsBool(obj1
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 (arg1
)->EnablePrintToFile(arg2
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 Py_INCREF(Py_None
); resultobj
= Py_None
;
21047 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "flag", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 arg2
= (bool) SWIG_AsBool(obj1
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 (arg1
)->EnableSelection(arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 Py_INCREF(Py_None
); resultobj
= Py_None
;
21076 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 PyObject
* obj1
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self",(char *) "flag", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 arg2
= (bool) SWIG_AsBool(obj1
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 (arg1
)->EnablePageNumbers(arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 Py_INCREF(Py_None
); resultobj
= Py_None
;
21105 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self",(char *) "flag", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 arg2
= (bool) SWIG_AsBool(obj1
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->EnableHelp(arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 Py_INCREF(Py_None
); resultobj
= Py_None
;
21134 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21162 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21190 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21218 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
;
21220 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21246 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21274 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21277 wxPrintData
*result
;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21290 result
= (wxPrintData
*) &_result_ref
;
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21303 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21306 wxPrintData
*arg2
= 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "printData", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21319 if (arg2
== NULL
) {
21320 PyErr_SetString(PyExc_TypeError
,"null reference");
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 Py_INCREF(Py_None
); resultobj
= Py_None
;
21337 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21340 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21342 return Py_BuildValue((char *)"");
21344 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxWindow
*arg1
= (wxWindow
*) 0 ;
21347 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21348 wxPrintDialog
*result
;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "parent",(char *) "data", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 if (!wxPyCheckForApp()) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21377 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21380 wxPrintDialogData
*result
;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21393 result
= (wxPrintDialogData
*) &_result_ref
;
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21406 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (wxDC
*)(arg1
)->GetPrintDC();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= wxPyMake_wxObject(result
);
21434 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (int)(arg1
)->ShowModal();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_FromInt((int)result
);
21460 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21463 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21465 return Py_BuildValue((char *)"");
21467 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "data", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 if (!wxPyCheckForApp()) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (wxPrinter
*)new wxPrinter(arg1
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21496 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21499 PyObject
* obj0
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 Py_INCREF(Py_None
); resultobj
= Py_None
;
21521 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21524 wxWindow
*arg2
= (wxWindow
*) 0 ;
21525 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 PyObject
* obj2
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "parent",(char *) "printout", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 Py_INCREF(Py_None
); resultobj
= Py_None
;
21554 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21557 wxPrintDialogData
*result
;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21570 result
= (wxPrintDialogData
*) &_result_ref
;
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21583 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21586 wxWindow
*arg2
= (wxWindow
*) 0 ;
21587 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21588 int arg4
= (int) True
;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 PyObject
* obj2
= 0 ;
21593 PyObject
* obj3
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21603 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 arg4
= (int) SWIG_AsInt(obj3
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21625 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21628 wxWindow
*arg2
= (wxWindow
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "parent", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= wxPyMake_wxObject(result
);
21657 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21660 wxWindow
*arg2
= (wxWindow
*) 0 ;
21661 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21662 wxString
*arg4
= 0 ;
21663 bool temp4
= False
;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 PyObject
* obj2
= 0 ;
21667 PyObject
* obj3
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21680 arg4
= wxString_in_helper(obj3
);
21681 if (arg4
== NULL
) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21709 wxWindow
*arg2
= (wxWindow
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "parent", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (bool)(arg1
)->Setup(arg2
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21738 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)(arg1
)->GetAbort();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21769 char *kwnames
[] = {
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (int)wxPrinter::GetLastError();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= SWIG_FromInt((int)result
);
21788 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21791 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21793 return Py_BuildValue((char *)"");
21795 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21798 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21799 wxPyPrintout
*result
;
21800 bool temp1
= False
;
21801 PyObject
* obj0
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "title", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21809 arg1
= wxString_in_helper(obj0
);
21810 if (arg1
== NULL
) SWIG_fail
;
21815 if (!wxPyCheckForApp()) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= wxPyMake_wxObject(result
);
21839 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21842 PyObject
*arg2
= (PyObject
*) 0 ;
21843 PyObject
*arg3
= (PyObject
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "self",(char *) "_class", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 Py_INCREF(Py_None
); resultobj
= Py_None
;
21870 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21902 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (wxDC
*)(arg1
)->GetDC();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= wxPyMake_wxObject(result
);
21930 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21933 wxDC
*arg2
= (wxDC
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "dc", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 (arg1
)->SetDC(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 Py_INCREF(Py_None
); resultobj
= Py_None
;
21959 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 PyObject
* obj2
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "w",(char *) "h", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 arg2
= (int) SWIG_AsInt(obj1
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21976 arg3
= (int) SWIG_AsInt(obj2
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21995 int *arg2
= (int *) 0 ;
21996 int *arg3
= (int *) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22019 resultobj
= t_output_helper(resultobj
,o
);
22022 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22023 resultobj
= t_output_helper(resultobj
,o
);
22031 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22036 PyObject
* obj0
= 0 ;
22037 PyObject
* obj1
= 0 ;
22038 PyObject
* obj2
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "w",(char *) "h", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 arg2
= (int) SWIG_AsInt(obj1
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22048 arg3
= (int) SWIG_AsInt(obj2
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22067 int *arg2
= (int *) 0 ;
22068 int *arg3
= (int *) 0 ;
22071 PyObject
* obj0
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22091 resultobj
= t_output_helper(resultobj
,o
);
22094 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22095 resultobj
= t_output_helper(resultobj
,o
);
22103 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "x",(char *) "y", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 arg2
= (int) SWIG_AsInt(obj1
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= (int) SWIG_AsInt(obj2
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 (arg1
)->SetPPIScreen(arg2
,arg3
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 Py_INCREF(Py_None
); resultobj
= Py_None
;
22136 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22139 int *arg2
= (int *) 0 ;
22140 int *arg3
= (int *) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->GetPPIScreen(arg2
,arg3
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22162 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22163 resultobj
= t_output_helper(resultobj
,o
);
22166 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22167 resultobj
= t_output_helper(resultobj
,o
);
22175 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "x",(char *) "y", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 arg2
= (int) SWIG_AsInt(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22192 arg3
= (int) SWIG_AsInt(obj2
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22211 int *arg2
= (int *) 0 ;
22212 int *arg3
= (int *) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22234 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22235 resultobj
= t_output_helper(resultobj
,o
);
22238 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22239 resultobj
= t_output_helper(resultobj
,o
);
22247 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (bool)(arg1
)->IsPreview();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22275 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "p", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 arg2
= (bool) SWIG_AsBool(obj1
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->SetIsPreview(arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 arg2
= (int) SWIG_AsInt(obj1
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22322 arg3
= (int) SWIG_AsInt(obj2
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22340 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 (arg1
)->base_OnEndDocument();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 Py_INCREF(Py_None
); resultobj
= Py_None
;
22365 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22368 PyObject
* obj0
= 0 ;
22369 char *kwnames
[] = {
22370 (char *) "self", NULL
22373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 (arg1
)->base_OnBeginPrinting();
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 Py_INCREF(Py_None
); resultobj
= Py_None
;
22390 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->base_OnEndPrinting();
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 Py_INCREF(Py_None
); resultobj
= Py_None
;
22415 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 (arg1
)->base_OnPreparePrinting();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 Py_INCREF(Py_None
); resultobj
= Py_None
;
22440 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "page", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 arg2
= (int) SWIG_AsInt(obj1
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)(arg1
)->base_HasPage(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22472 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22475 int *arg2
= (int *) 0 ;
22476 int *arg3
= (int *) 0 ;
22477 int *arg4
= (int *) 0 ;
22478 int *arg5
= (int *) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22504 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22505 resultobj
= t_output_helper(resultobj
,o
);
22508 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22509 resultobj
= t_output_helper(resultobj
,o
);
22512 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22513 resultobj
= t_output_helper(resultobj
,o
);
22516 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22517 resultobj
= t_output_helper(resultobj
,o
);
22525 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22528 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22530 return Py_BuildValue((char *)"");
22532 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22535 wxWindow
*arg2
= (wxWindow
*) 0 ;
22536 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22537 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22538 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22539 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22540 long arg5
= (long) 0 ;
22541 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22542 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22543 wxPreviewCanvas
*result
;
22546 bool temp6
= False
;
22547 PyObject
* obj0
= 0 ;
22548 PyObject
* obj1
= 0 ;
22549 PyObject
* obj2
= 0 ;
22550 PyObject
* obj3
= 0 ;
22551 PyObject
* obj4
= 0 ;
22552 PyObject
* obj5
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22571 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22575 arg5
= (long) SWIG_AsLong(obj4
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22580 arg6
= wxString_in_helper(obj5
);
22581 if (arg6
== NULL
) SWIG_fail
;
22586 if (!wxPyCheckForApp()) SWIG_fail
;
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22608 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22611 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22613 return Py_BuildValue((char *)"");
22615 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22618 wxFrame
*arg2
= (wxFrame
*) 0 ;
22619 wxString
*arg3
= 0 ;
22620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22624 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22625 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22627 wxPreviewFrame
*result
;
22628 bool temp3
= False
;
22631 bool temp7
= False
;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 PyObject
* obj2
= 0 ;
22635 PyObject
* obj3
= 0 ;
22636 PyObject
* obj4
= 0 ;
22637 PyObject
* obj5
= 0 ;
22638 PyObject
* obj6
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 arg3
= wxString_in_helper(obj2
);
22650 if (arg3
== NULL
) SWIG_fail
;
22656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22666 arg6
= (long) SWIG_AsLong(obj5
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22671 arg7
= wxString_in_helper(obj6
);
22672 if (arg7
== NULL
) SWIG_fail
;
22677 if (!wxPyCheckForApp()) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22707 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->Initialize();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 (arg1
)->CreateControlBar();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 Py_INCREF(Py_None
); resultobj
= Py_None
;
22757 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 (arg1
)->CreateCanvas();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22785 wxPreviewControlBar
*result
;
22786 PyObject
* obj0
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22808 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22813 return Py_BuildValue((char *)"");
22815 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22819 wxWindow
*arg3
= (wxWindow
*) 0 ;
22820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22824 long arg6
= (long) wxTAB_TRAVERSAL
;
22825 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22827 wxPreviewControlBar
*result
;
22830 bool temp7
= False
;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 PyObject
* obj2
= 0 ;
22834 PyObject
* obj3
= 0 ;
22835 PyObject
* obj4
= 0 ;
22836 PyObject
* obj5
= 0 ;
22837 PyObject
* obj6
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 arg2
= (long) SWIG_AsLong(obj1
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22862 arg6
= (long) SWIG_AsLong(obj5
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22867 arg7
= wxString_in_helper(obj6
);
22868 if (arg7
== NULL
) SWIG_fail
;
22873 if (!wxPyCheckForApp()) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22895 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (int)(arg1
)->GetZoomControl();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_FromInt((int)result
);
22921 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self",(char *) "zoom", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 arg2
= (int) SWIG_AsInt(obj1
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->SetZoomControl(arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 Py_INCREF(Py_None
); resultobj
= Py_None
;
22950 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22952 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22953 wxPrintPreview
*result
;
22954 PyObject
* obj0
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22976 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 Py_INCREF(Py_None
); resultobj
= Py_None
;
23001 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 char *kwnames
[] = {
23006 (char *) "self", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 (arg1
)->OnPrevious();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 Py_INCREF(Py_None
); resultobj
= Py_None
;
23026 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23029 PyObject
* obj0
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 Py_INCREF(Py_None
); resultobj
= Py_None
;
23051 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 Py_INCREF(Py_None
); resultobj
= Py_None
;
23076 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 Py_INCREF(Py_None
); resultobj
= Py_None
;
23101 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23104 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23106 return Py_BuildValue((char *)"");
23108 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23109 PyObject
*resultobj
;
23110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23111 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23112 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23113 wxPrintPreview
*result
;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 PyObject
* obj2
= 0 ;
23118 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23128 if (!wxPyCheckForApp()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23142 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23143 PyObject
*resultobj
;
23144 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23145 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23146 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23147 wxPrintPreview
*result
;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 PyObject
* obj2
= 0 ;
23152 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 if (!wxPyCheckForApp()) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23174 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23179 argc
= PyObject_Length(args
);
23180 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23181 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23183 if ((argc
>= 2) && (argc
<= 3)) {
23187 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23197 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23206 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23210 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23218 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23227 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23237 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23247 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23255 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23261 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23266 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "pageNum", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 arg2
= (int) SWIG_AsInt(obj1
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23298 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (int)(arg1
)->GetCurrentPage();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_FromInt((int)result
);
23324 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23327 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self",(char *) "printout", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 (arg1
)->SetPrintout(arg2
);
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 Py_INCREF(Py_None
); resultobj
= Py_None
;
23353 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23356 wxPyPrintout
*result
;
23357 PyObject
* obj0
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= wxPyMake_wxObject(result
);
23381 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23384 wxPyPrintout
*result
;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= wxPyMake_wxObject(result
);
23409 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23412 wxFrame
*arg2
= (wxFrame
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "frame", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 (arg1
)->SetFrame(arg2
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23441 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self",(char *) "canvas", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetCanvas(arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (wxFrame
*)(arg1
)->GetFrame();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= wxPyMake_wxObject(result
);
23495 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23498 wxPreviewCanvas
*result
;
23499 PyObject
* obj0
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23521 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23524 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 PyObject
* obj2
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23542 if (arg3
== NULL
) {
23543 PyErr_SetString(PyExc_TypeError
,"null reference");
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23562 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23565 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 PyObject
* obj2
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23583 if (arg3
== NULL
) {
23584 PyErr_SetString(PyExc_TypeError
,"null reference");
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23603 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "pageNum", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 arg2
= (int) SWIG_AsInt(obj1
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (bool)(arg1
)->RenderPage(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23635 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23638 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self",(char *) "canvas", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->AdjustScrollbars(arg2
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23667 wxPrintDialogData
*result
;
23668 PyObject
* obj0
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23680 result
= (wxPrintDialogData
*) &_result_ref
;
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23693 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "percent", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23706 arg2
= (int) SWIG_AsInt(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 (arg1
)->SetZoom(arg2
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (int)(arg1
)->GetZoom();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_FromInt((int)result
);
23748 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (int)(arg1
)->GetMaxPage();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_FromInt((int)result
);
23774 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (int)(arg1
)->GetMinPage();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_FromInt((int)result
);
23800 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (bool)(arg1
)->Ok();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23828 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "ok", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 arg2
= (bool) SWIG_AsBool(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->SetOk(arg2
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self",(char *) "interactive", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 arg2
= (bool) SWIG_AsBool(obj1
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (bool)(arg1
)->Print(arg2
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23889 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 (arg1
)->DetermineScaling();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 Py_INCREF(Py_None
); resultobj
= Py_None
;
23914 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23917 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23919 return Py_BuildValue((char *)"");
23921 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23922 PyObject
*resultobj
;
23923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23924 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23925 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23926 wxPyPrintPreview
*result
;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 PyObject
* obj2
= 0 ;
23931 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 if (!wxPyCheckForApp()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23955 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23956 PyObject
*resultobj
;
23957 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23958 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23959 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23960 wxPyPrintPreview
*result
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23965 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23970 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 if (!wxPyCheckForApp()) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23987 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23992 argc
= PyObject_Length(args
);
23993 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23994 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23996 if ((argc
>= 2) && (argc
<= 3)) {
24000 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24010 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24019 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24023 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24031 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24050 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24060 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24068 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24074 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24079 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24082 PyObject
*arg2
= (PyObject
*) 0 ;
24083 PyObject
*arg3
= (PyObject
*) 0 ;
24084 PyObject
* obj0
= 0 ;
24085 PyObject
* obj1
= 0 ;
24086 PyObject
* obj2
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "self",(char *) "self",(char *) "_class", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24110 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self",(char *) "pageNum", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 arg2
= (int) SWIG_AsInt(obj1
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24142 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24145 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 PyObject
* obj2
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24160 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24163 if (arg3
== NULL
) {
24164 PyErr_SetString(PyExc_TypeError
,"null reference");
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24183 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24186 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 PyObject
* obj2
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24204 if (arg3
== NULL
) {
24205 PyErr_SetString(PyExc_TypeError
,"null reference");
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24224 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "pageNum", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 arg2
= (int) SWIG_AsInt(obj1
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24256 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "percent", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 arg2
= (int) SWIG_AsInt(obj1
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->base_SetZoom(arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self",(char *) "interactive", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 arg2
= (bool) SWIG_AsBool(obj1
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (bool)(arg1
)->base_Print(arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24317 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24320 PyObject
* obj0
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 (arg1
)->base_DetermineScaling();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 Py_INCREF(Py_None
); resultobj
= Py_None
;
24342 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24345 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24347 return Py_BuildValue((char *)"");
24349 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24352 wxFrame
*arg2
= (wxFrame
*) 0 ;
24353 wxString
*arg3
= 0 ;
24354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24358 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24359 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24361 wxPyPreviewFrame
*result
;
24362 bool temp3
= False
;
24365 bool temp7
= False
;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 PyObject
* obj2
= 0 ;
24369 PyObject
* obj3
= 0 ;
24370 PyObject
* obj4
= 0 ;
24371 PyObject
* obj5
= 0 ;
24372 PyObject
* obj6
= 0 ;
24373 char *kwnames
[] = {
24374 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 arg3
= wxString_in_helper(obj2
);
24384 if (arg3
== NULL
) SWIG_fail
;
24390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24400 arg6
= (long) SWIG_AsLong(obj5
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24405 arg7
= wxString_in_helper(obj6
);
24406 if (arg7
== NULL
) SWIG_fail
;
24411 if (!wxPyCheckForApp()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24441 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24444 PyObject
*arg2
= (PyObject
*) 0 ;
24445 PyObject
*arg3
= (PyObject
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "self",(char *) "_class", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 Py_INCREF(Py_None
); resultobj
= Py_None
;
24472 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24475 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "canvas", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->SetPreviewCanvas(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 Py_INCREF(Py_None
); resultobj
= Py_None
;
24501 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24504 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "bar", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 (arg1
)->SetControlBar(arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 Py_INCREF(Py_None
); resultobj
= Py_None
;
24530 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->base_Initialize();
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24558 PyObject
* obj0
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "self", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 (arg1
)->base_CreateCanvas();
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 Py_INCREF(Py_None
); resultobj
= Py_None
;
24580 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->base_CreateControlBar();
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 Py_INCREF(Py_None
); resultobj
= Py_None
;
24605 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24610 return Py_BuildValue((char *)"");
24612 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24616 wxWindow
*arg3
= (wxWindow
*) 0 ;
24617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24621 long arg6
= (long) 0 ;
24622 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24624 wxPyPreviewControlBar
*result
;
24627 bool temp7
= False
;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24630 PyObject
* obj2
= 0 ;
24631 PyObject
* obj3
= 0 ;
24632 PyObject
* obj4
= 0 ;
24633 PyObject
* obj5
= 0 ;
24634 PyObject
* obj6
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 arg2
= (long) SWIG_AsLong(obj1
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24644 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24655 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24659 arg6
= (long) SWIG_AsLong(obj5
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24664 arg7
= wxString_in_helper(obj6
);
24665 if (arg7
== NULL
) SWIG_fail
;
24670 if (!wxPyCheckForApp()) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24692 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24695 PyObject
*arg2
= (PyObject
*) 0 ;
24696 PyObject
*arg3
= (PyObject
*) 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 PyObject
* obj2
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "self",(char *) "_class", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24716 Py_INCREF(Py_None
); resultobj
= Py_None
;
24723 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24726 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "preview", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 (arg1
)->SetPrintPreview(arg2
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 Py_INCREF(Py_None
); resultobj
= Py_None
;
24752 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->base_CreateButtons();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self",(char *) "zoom", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 arg2
= (int) SWIG_AsInt(obj1
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->base_SetZoomControl(arg2
);
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 Py_INCREF(Py_None
); resultobj
= Py_None
;
24806 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24809 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24811 return Py_BuildValue((char *)"");
24813 static PyMethodDef SwigMethods
[] = {
24814 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24820 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24835 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24836 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24842 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24856 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24880 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24892 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24896 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24900 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24905 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24921 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24949 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24956 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24979 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24987 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24999 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25005 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25014 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25020 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25025 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25031 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25035 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25053 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25079 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25087 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25096 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25098 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25107 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25110 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25117 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25135 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25139 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25144 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25148 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25164 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25167 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25169 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25173 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25182 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25191 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25197 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25209 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25216 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25220 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25246 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25272 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25298 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25344 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25376 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25380 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25381 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25414 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25419 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25430 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25453 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25455 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25461 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25471 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25472 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25495 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25496 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25505 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25512 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25513 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25523 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25525 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25526 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25528 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25531 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25532 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25534 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25535 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25537 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25538 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25540 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25541 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25543 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25544 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25546 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25547 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25549 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25550 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25552 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25553 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25555 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25556 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25558 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25559 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25561 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25562 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25564 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25565 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25567 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25568 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25570 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25571 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25573 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25574 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25576 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25577 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25579 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25580 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25582 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25583 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25585 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25586 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25588 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25589 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25591 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25592 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25594 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25595 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25597 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25598 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25600 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25601 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25603 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25604 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25606 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25607 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25609 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25610 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25612 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25613 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25615 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25616 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25618 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25621 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25624 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25625 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25627 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25628 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25630 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25631 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25633 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25634 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25636 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25639 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25640 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25642 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25643 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25645 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25646 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25648 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25649 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25651 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25652 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25654 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25657 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25660 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25663 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25666 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25667 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25669 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25670 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25672 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25673 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25675 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25678 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25681 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25684 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25687 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25690 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25693 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25696 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25697 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25699 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25700 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25702 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25705 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25708 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25711 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25712 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25714 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25717 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25718 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25720 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25721 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25723 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25726 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25727 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25729 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25732 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25733 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25735 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25736 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25738 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25741 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25744 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25747 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25750 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25753 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25754 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25756 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25759 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25760 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25762 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25765 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25768 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25771 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25774 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25777 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25778 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25780 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25783 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25786 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25789 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25792 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25795 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25798 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25801 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25804 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25805 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25807 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25808 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25810 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25811 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25813 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25814 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25816 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25817 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25819 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25820 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25822 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25823 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25825 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25826 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25828 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25829 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25831 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25832 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25834 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25837 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25840 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25841 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25843 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25844 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25846 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25849 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25850 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25852 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25853 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25855 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25856 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25858 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25859 return (void *)((wxObject
*) ((wxSizer
*) x
));
25861 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25862 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25864 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25867 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25870 static void *_p_wxEventTo_p_wxObject(void *x
) {
25871 return (void *)((wxObject
*) ((wxEvent
*) x
));
25873 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25874 return (void *)((wxObject
*) ((wxFontData
*) x
));
25876 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25877 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25879 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25880 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25882 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25883 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25885 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25886 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25888 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25889 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25891 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25892 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25894 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25897 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25898 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25900 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25901 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25903 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25904 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25906 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25907 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25909 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25910 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25912 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25913 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25915 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25918 static void *_p_wxControlTo_p_wxObject(void *x
) {
25919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25921 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25922 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25924 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25927 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25928 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25930 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25931 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25933 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25934 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25936 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25939 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25940 return (void *)((wxObject
*) ((wxColourData
*) x
));
25942 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25943 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25945 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25948 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25951 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25954 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25957 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25960 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25963 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25966 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25969 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25972 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25975 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25976 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25978 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25979 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25981 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25984 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25987 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25990 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25993 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25996 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25999 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26002 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26005 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26008 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26011 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26014 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26017 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26020 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26023 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26026 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26029 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26032 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26035 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26038 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26041 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26044 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26047 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26050 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26053 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26056 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26059 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26062 static void *_p_wxImageTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) ((wxImage
*) x
));
26065 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26068 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26071 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26074 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26077 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26080 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26083 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26086 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26089 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26092 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26095 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26098 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26101 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26104 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26107 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26110 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26113 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26116 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26119 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26122 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26125 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26128 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26131 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26134 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26137 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26140 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26143 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26146 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26149 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26152 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26155 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26158 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26161 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26164 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26167 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26170 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26173 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26176 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26179 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26182 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26185 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26188 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26191 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26194 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26197 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26200 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26203 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26206 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26209 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26212 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26215 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26218 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26221 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26224 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26225 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26227 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26228 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26230 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26231 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26233 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26234 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26236 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26237 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26239 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26240 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26242 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26243 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26245 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26246 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26248 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26249 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26251 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26252 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26254 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26255 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26257 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26258 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26260 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26261 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26263 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26264 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26266 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26267 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26269 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26270 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26272 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26273 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26275 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26276 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26278 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26279 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26281 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26282 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26284 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26285 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26287 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26288 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26290 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26291 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26293 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26294 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26296 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26297 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26299 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26300 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26302 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26303 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26305 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26306 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26308 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26309 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26311 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26312 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26314 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26317 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26318 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26320 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26321 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26323 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26324 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26326 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26327 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26329 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26330 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26332 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26333 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26335 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26336 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26338 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26339 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26341 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26342 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26344 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26345 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26347 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26348 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26350 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26351 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26353 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26354 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26356 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26357 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26359 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26360 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26362 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26363 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26365 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26366 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26368 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26369 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26371 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26372 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26374 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26375 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26377 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26378 return (void *)((wxWindow
*) ((wxControl
*) x
));
26380 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26383 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26386 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26387 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26389 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26390 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26392 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26393 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26395 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26396 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26398 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26399 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26401 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26402 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26404 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26405 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26407 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26408 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26410 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26411 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26413 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26416 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26419 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26420 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26422 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26423 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26425 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26426 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26428 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26429 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26431 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26432 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26434 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26435 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26437 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26438 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26440 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26441 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26443 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26444 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26446 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26447 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26449 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26450 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26452 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26453 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26455 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26456 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26458 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26459 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26461 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26462 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26464 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26465 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26467 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26468 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26470 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26471 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26473 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26474 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26476 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26477 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26479 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26480 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26482 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26483 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26485 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26486 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26488 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26489 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26491 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26492 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26494 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26495 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26497 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26498 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26500 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26501 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26503 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26504 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26506 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26507 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26509 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26510 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26512 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26513 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26515 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26516 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26518 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26519 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26521 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26522 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26524 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26525 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26527 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26528 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26530 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26531 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26533 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26534 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26536 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26537 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26539 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}};
26540 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}};
26541 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}};
26542 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}};
26543 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}};
26544 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}};
26545 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}};
26546 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}};
26547 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}};
26548 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}};
26549 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}};
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26560 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}};
26561 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}};
26562 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}};
26563 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}};
26564 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}};
26565 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}};
26566 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}};
26567 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}};
26568 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}};
26569 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}};
26570 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}};
26571 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}};
26572 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}};
26573 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}};
26574 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}};
26575 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}};
26576 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}};
26577 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}};
26578 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}};
26579 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}};
26580 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}};
26581 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}};
26582 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}};
26583 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}};
26584 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}};
26585 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}};
26586 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}};
26587 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}};
26588 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}};
26589 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}};
26590 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}};
26591 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}};
26592 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}};
26593 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}};
26594 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}};
26595 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}};
26596 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}};
26597 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}};
26598 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}};
26599 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}};
26600 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}};
26601 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}};
26602 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}};
26603 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}};
26604 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}};
26605 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}};
26606 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}};
26607 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}};
26608 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}};
26609 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}};
26610 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}};
26611 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}};
26612 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}};
26613 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}};
26614 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}};
26615 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}};
26616 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}};
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26627 static swig_type_info
*swig_types_initial
[] = {
26628 _swigt__p_wxQueryLayoutInfoEvent
,
26629 _swigt__p_wxPreviewFrame
,
26630 _swigt__p_wxPyPreviewFrame
,
26631 _swigt__p_wxPyPanel
,
26633 _swigt__p_wxFontData
,
26635 _swigt__p_wxPrintData
,
26636 _swigt__p_wxTaskBarIcon
,
26637 _swigt__p_wxIconBundle
,
26638 _swigt__p_wxLayoutAlgorithm
,
26639 _swigt__p_wxFindDialogEvent
,
26640 _swigt__p_wxPreviewCanvas
,
26642 _swigt__p_wxSplitterEvent
,
26643 _swigt__p_wxRegion
,
26644 _swigt__p_wxFindReplaceData
,
26649 _swigt__p_wxVisualAttributes
,
26650 _swigt__p_wxMDIChildFrame
,
26651 _swigt__p_wxColourData
,
26652 _swigt__p_wxNotifyEvent
,
26653 _swigt__p_wxPyWindow
,
26654 _swigt__p_wxSplashScreen
,
26655 _swigt__p_wxFindReplaceDialog
,
26656 _swigt__p_wxProgressDialog
,
26657 _swigt__p_wxMessageDialog
,
26658 _swigt__p_wxTextEntryDialog
,
26659 _swigt__p_wxSingleChoiceDialog
,
26660 _swigt__p_wxMultiChoiceDialog
,
26661 _swigt__p_wxFileDialog
,
26662 _swigt__p_wxPrinter
,
26663 _swigt__p_wxArrayInt
,
26664 _swigt__p_wxEvtHandler
,
26665 _swigt__p_wxCalculateLayoutEvent
,
26666 _swigt__p_wxPyHtmlListBox
,
26667 _swigt__p_wxPyVListBox
,
26670 _swigt__p_wxMiniFrame
,
26672 _swigt__p_wxPyPrintout
,
26673 _swigt__p_wxTaskBarIconEvent
,
26674 _swigt__p_wxScrollWinEvent
,
26675 _swigt__p_wxStatusBar
,
26676 _swigt__p_wxMDIParentFrame
,
26678 _swigt__p_wxObject
,
26679 _swigt__p_wxOutputStream
,
26680 _swigt__p_unsigned_long
,
26681 _swigt__p_wxPyScrolledWindow
,
26682 _swigt__p_wxMDIClientWindow
,
26683 _swigt__p_wxTipWindow
,
26684 _swigt__p_wxSashLayoutWindow
,
26685 _swigt__p_wxSplitterWindow
,
26686 _swigt__p_wxPyVScrolledWindow
,
26687 _swigt__p_wxPyPopupTransientWindow
,
26688 _swigt__p_wxPopupWindow
,
26689 _swigt__p_wxSashWindow
,
26690 _swigt__p_wxTopLevelWindow
,
26691 _swigt__p_wxWindow
,
26692 _swigt__p_wxScrolledWindow
,
26693 _swigt__p_wxSplashScreenWindow
,
26694 _swigt__p_wxMenuBar
,
26695 _swigt__p_wxPrintPreview
,
26696 _swigt__p_wxSashEvent
,
26697 _swigt__p_wxString
,
26698 _swigt__p_wxPyPrintPreview
,
26699 _swigt__p_wxFontDialog
,
26700 _swigt__p_wxDirDialog
,
26701 _swigt__p_wxColourDialog
,
26702 _swigt__p_wxDialog
,
26704 _swigt__p_wxPageSetupDialog
,
26705 _swigt__p_wxPrintDialog
,
26706 _swigt__p_wxFileSystem
,
26707 _swigt__p_wxBitmap
,
26708 _swigt__p_wxCommandEvent
,
26709 _swigt__p_wxPreviewControlBar
,
26710 _swigt__p_wxPyPreviewControlBar
,
26711 _swigt__p_wxColour
,
26712 _swigt__p_wxToolBar
,
26713 _swigt__p_wxPageSetupDialogData
,
26714 _swigt__p_wxPrintDialogData
,
26719 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26721 static swig_const_info swig_const_table
[] = {
26731 SWIGEXPORT(void) SWIG_init(void) {
26732 static PyObject
*SWIG_globals
= 0;
26733 static int typeinit
= 0;
26736 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26737 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26738 d
= PyModule_GetDict(m
);
26741 for (i
= 0; swig_types_initial
[i
]; i
++) {
26742 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26746 SWIG_InstallConstants(d
,swig_const_table
);
26748 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26749 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26750 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26751 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26752 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26753 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26754 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26755 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26756 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26757 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26758 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26759 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26760 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26761 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26762 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26763 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26764 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26765 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26766 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26767 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26768 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26769 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26770 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26771 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26772 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26773 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26774 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26775 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26776 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26777 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26778 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26779 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26780 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26781 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26782 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26783 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26784 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26785 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26786 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26787 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26788 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26789 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26790 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26791 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26792 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26793 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26794 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26795 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26796 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26797 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26798 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26799 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26800 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26801 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26802 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26803 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26804 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26805 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26806 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26807 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26808 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26809 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26810 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26811 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26812 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26813 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26814 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26815 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26816 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26817 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26818 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26819 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26820 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26821 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26822 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26823 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26824 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26825 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26826 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26827 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26828 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26829 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26830 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26831 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26832 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26833 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26834 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26835 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26836 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26837 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26838 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26839 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26840 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26842 // Map renamed classes back to their common name for OOR
26843 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26844 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26845 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26847 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26848 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26849 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26850 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26851 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26852 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26853 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26854 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26855 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26856 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26857 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26858 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26859 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26860 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26861 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26862 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26863 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26864 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26865 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26866 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26867 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26868 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26869 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26870 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26871 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26872 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26873 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26874 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26875 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26876 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26877 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26878 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26879 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26880 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26881 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26882 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26883 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26884 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26885 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26886 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26887 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26888 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26889 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26890 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26891 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26892 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26893 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26894 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26895 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26896 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26897 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26898 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26899 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26900 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26901 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26902 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26903 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26904 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26905 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26906 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26908 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");