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
) {}
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
880 DEC_PYCALLBACK__(InitDialog
);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
883 DEC_PYCALLBACK_BOOL_(Validate
);
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
912 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
924 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 // C++ version of Python aware wxPanel
929 class wxPyPanel
: public wxPanel
931 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
935 const wxPoint
& pos
= wxDefaultPosition
,
936 const wxSize
& size
= wxDefaultSize
,
938 const wxString
& name
= wxPyPanelNameStr
)
939 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
954 DEC_PYCALLBACK__(InitDialog
);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
957 DEC_PYCALLBACK_BOOL_(Validate
);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
986 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
998 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow
: public wxScrolledWindow
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1008 const wxPoint
& pos
= wxDefaultPosition
,
1009 const wxSize
& size
= wxDefaultSize
,
1011 const wxString
& name
= wxPyPanelNameStr
)
1012 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1027 DEC_PYCALLBACK__(InitDialog
);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1030 DEC_PYCALLBACK_BOOL_(Validate
);
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1059 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1075 #include "wx/wxPython/printfw.h"
1078 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1085 bool hadErr
= False
;
1088 bool blocked
= wxPyBeginBlockThreads();
1089 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1090 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1091 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1094 val
= PyTuple_GetItem(result
, 0);
1095 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1098 val
= PyTuple_GetItem(result
, 1);
1099 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1102 val
= PyTuple_GetItem(result
, 2);
1103 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1106 val
= PyTuple_GetItem(result
, 3);
1107 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1114 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1119 wxPyEndBlockThreads(blocked
);
1121 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1124 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1125 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1130 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1131 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1132 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1133 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1158 wxPyEndBlockThreads(blocked); \
1160 rval = PCLASS::CBNAME(a, b); \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1170 class wxPyPrintPreview
: public wxPrintPreview
1172 DECLARE_CLASS(wxPyPrintPreview
)
1174 wxPyPrintPreview(wxPyPrintout
* printout
,
1175 wxPyPrintout
* printoutForPrinting
,
1176 wxPrintDialogData
* data
=NULL
)
1177 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1179 wxPyPrintPreview(wxPyPrintout
* printout
,
1180 wxPyPrintout
* printoutForPrinting
,
1181 wxPrintData
* data
=NULL
)
1182 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1202 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1214 class wxPyPreviewFrame
: public wxPreviewFrame
1216 DECLARE_CLASS(wxPyPreviewFrame
);
1218 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1219 const wxString
& title
,
1220 const wxPoint
& pos
= wxDefaultPosition
,
1221 const wxSize
& size
= wxDefaultSize
,
1222 long style
= wxDEFAULT_FRAME_STYLE
,
1223 const wxString
& name
= wxPyFrameNameStr
)
1224 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1227 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1228 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1230 DEC_PYCALLBACK_VOID_(Initialize
);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1237 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1244 class wxPyPreviewControlBar
: public wxPreviewControlBar
1246 DECLARE_CLASS(wxPyPreviewControlBar
);
1248 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1251 const wxPoint
& pos
= wxDefaultPosition
,
1252 const wxSize
& size
= wxDefaultSize
,
1254 const wxString
& name
= wxPyPanelNameStr
)
1255 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1258 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1260 DEC_PYCALLBACK_VOID_(CreateButtons
);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1273 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxWindow
*arg1
= (wxWindow
*) 0 ;
1276 int arg2
= (int) (int)-1 ;
1277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1281 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1282 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1287 bool temp6
= False
;
1288 PyObject
* obj0
= 0 ;
1289 PyObject
* obj1
= 0 ;
1290 PyObject
* obj2
= 0 ;
1291 PyObject
* obj3
= 0 ;
1292 PyObject
* obj4
= 0 ;
1293 PyObject
* obj5
= 0 ;
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 arg2
= (int const) SWIG_AsInt(obj1
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1314 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1318 arg5
= (long) SWIG_AsLong(obj4
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 arg6
= wxString_in_helper(obj5
);
1324 if (arg6
== NULL
) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1336 resultobj
= wxPyMake_wxObject(result
);
1352 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 result
= (wxPanel
*)new wxPanel();
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1368 resultobj
= wxPyMake_wxObject(result
);
1376 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxPanel
*arg1
= (wxPanel
*) 0 ;
1379 wxWindow
*arg2
= (wxWindow
*) 0 ;
1380 int arg3
= (int) (int)-1 ;
1381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1385 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1386 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1391 bool temp7
= False
;
1392 PyObject
* obj0
= 0 ;
1393 PyObject
* obj1
= 0 ;
1394 PyObject
* obj2
= 0 ;
1395 PyObject
* obj3
= 0 ;
1396 PyObject
* obj4
= 0 ;
1397 PyObject
* obj5
= 0 ;
1398 PyObject
* obj6
= 0 ;
1400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1409 arg3
= (int const) SWIG_AsInt(obj2
);
1410 if (PyErr_Occurred()) SWIG_fail
;
1415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1425 arg6
= (long) SWIG_AsLong(obj5
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1430 arg7
= wxString_in_helper(obj6
);
1431 if (arg7
== NULL
) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1459 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxPanel
*arg1
= (wxPanel
*) 0 ;
1462 PyObject
* obj0
= 0 ;
1464 (char *) "self", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 (arg1
)->InitDialog();
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1477 Py_INCREF(Py_None
); resultobj
= Py_None
;
1484 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1487 wxVisualAttributes result
;
1488 PyObject
* obj0
= 0 ;
1490 (char *) "variant", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1495 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1506 wxVisualAttributes
* resultptr
;
1507 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1516 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1519 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1521 return Py_BuildValue((char *)"");
1523 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxWindow
*arg1
= (wxWindow
*) 0 ;
1526 int arg2
= (int) (int)-1 ;
1527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1531 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1532 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1534 wxScrolledWindow
*result
;
1537 bool temp6
= False
;
1538 PyObject
* obj0
= 0 ;
1539 PyObject
* obj1
= 0 ;
1540 PyObject
* obj2
= 0 ;
1541 PyObject
* obj3
= 0 ;
1542 PyObject
* obj4
= 0 ;
1543 PyObject
* obj5
= 0 ;
1545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 arg2
= (int const) SWIG_AsInt(obj1
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1568 arg5
= (long) SWIG_AsLong(obj4
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1573 arg6
= wxString_in_helper(obj5
);
1574 if (arg6
== NULL
) SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1600 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
*resultobj
;
1602 wxScrolledWindow
*result
;
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1622 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1625 wxWindow
*arg2
= (wxWindow
*) 0 ;
1626 int arg3
= (int) (int)-1 ;
1627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1631 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1632 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1637 bool temp7
= False
;
1638 PyObject
* obj0
= 0 ;
1639 PyObject
* obj1
= 0 ;
1640 PyObject
* obj2
= 0 ;
1641 PyObject
* obj3
= 0 ;
1642 PyObject
* obj4
= 0 ;
1643 PyObject
* obj5
= 0 ;
1644 PyObject
* obj6
= 0 ;
1646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1655 arg3
= (int const) SWIG_AsInt(obj2
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1671 arg6
= (long) SWIG_AsLong(obj5
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1676 arg7
= wxString_in_helper(obj6
);
1677 if (arg7
== NULL
) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1705 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1712 int arg6
= (int) 0 ;
1713 int arg7
= (int) 0 ;
1714 bool arg8
= (bool) False
;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1717 PyObject
* obj2
= 0 ;
1718 PyObject
* obj3
= 0 ;
1719 PyObject
* obj4
= 0 ;
1720 PyObject
* obj5
= 0 ;
1721 PyObject
* obj6
= 0 ;
1722 PyObject
* obj7
= 0 ;
1724 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1730 arg2
= (int) SWIG_AsInt(obj1
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1732 arg3
= (int) SWIG_AsInt(obj2
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1734 arg4
= (int) SWIG_AsInt(obj3
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1736 arg5
= (int) SWIG_AsInt(obj4
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 arg6
= (int) SWIG_AsInt(obj5
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1743 arg7
= (int) SWIG_AsInt(obj6
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1747 arg8
= (bool) SWIG_AsBool(obj7
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1769 PyObject
* obj0
= 0 ;
1770 PyObject
* obj1
= 0 ;
1771 PyObject
* obj2
= 0 ;
1773 (char *) "self",(char *) "x",(char *) "y", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 arg2
= (int) SWIG_AsInt(obj1
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1781 arg3
= (int) SWIG_AsInt(obj2
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 (arg1
)->Scroll(arg2
,arg3
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1802 PyObject
* obj0
= 0 ;
1803 PyObject
* obj1
= 0 ;
1805 (char *) "self",(char *) "orient", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1811 arg2
= (int) SWIG_AsInt(obj1
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= SWIG_FromInt((int)result
);
1827 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj1
= 0 ;
1834 PyObject
* obj2
= 0 ;
1836 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1842 arg2
= (int) SWIG_AsInt(obj1
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1844 arg3
= (int) SWIG_AsInt(obj2
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1866 PyObject
* obj1
= 0 ;
1867 PyObject
* obj2
= 0 ;
1869 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1875 arg2
= (int) SWIG_AsInt(obj1
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1877 arg3
= (int) SWIG_AsInt(obj2
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 (arg1
)->SetScrollRate(arg2
,arg3
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 Py_INCREF(Py_None
); resultobj
= Py_None
;
1893 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1896 int *arg2
= (int *) 0 ;
1897 int *arg3
= (int *) 0 ;
1900 PyObject
* obj0
= 0 ;
1902 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 Py_INCREF(Py_None
); resultobj
= Py_None
;
1919 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1920 resultobj
= t_output_helper(resultobj
,o
);
1923 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1924 resultobj
= t_output_helper(resultobj
,o
);
1932 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1939 PyObject
* obj2
= 0 ;
1941 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 arg2
= (bool) SWIG_AsBool(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1949 arg3
= (bool) SWIG_AsBool(obj2
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 (arg1
)->EnableScrolling(arg2
,arg3
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 Py_INCREF(Py_None
); resultobj
= Py_None
;
1965 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1968 int *arg2
= (int *) 0 ;
1969 int *arg3
= (int *) 0 ;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "self", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1991 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1992 resultobj
= t_output_helper(resultobj
,o
);
1995 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1996 resultobj
= t_output_helper(resultobj
,o
);
2004 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2009 PyObject
* obj0
= 0 ;
2010 PyObject
* obj1
= 0 ;
2011 PyObject
* obj2
= 0 ;
2013 (char *) "self",(char *) "xs",(char *) "ys", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2019 arg2
= (double) SWIG_AsDouble(obj1
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2021 arg3
= (double) SWIG_AsDouble(obj2
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 (arg1
)->SetScale(arg2
,arg3
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 Py_INCREF(Py_None
); resultobj
= Py_None
;
2037 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2043 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 resultobj
= SWIG_FromDouble((double)result
);
2063 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "self", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= SWIG_FromDouble((double)result
);
2089 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2090 PyObject
*resultobj
;
2091 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2095 PyObject
* obj0
= 0 ;
2096 PyObject
* obj1
= 0 ;
2098 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2113 wxPoint
* resultptr
;
2114 resultptr
= new wxPoint((wxPoint
&) result
);
2115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2123 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2124 PyObject
*resultobj
;
2125 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2128 int *arg4
= (int *) 0 ;
2129 int *arg5
= (int *) 0 ;
2132 PyObject
* obj0
= 0 ;
2133 PyObject
* obj1
= 0 ;
2134 PyObject
* obj2
= 0 ;
2138 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2141 arg2
= (int) SWIG_AsInt(obj1
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2143 arg3
= (int) SWIG_AsInt(obj2
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 Py_INCREF(Py_None
); resultobj
= Py_None
;
2154 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2155 resultobj
= t_output_helper(resultobj
,o
);
2158 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2159 resultobj
= t_output_helper(resultobj
,o
);
2167 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2172 argc
= PyObject_Length(args
);
2173 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2174 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2180 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2189 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2192 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2200 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2208 _v
= SWIG_CheckInt(argv
[1]);
2210 _v
= SWIG_CheckInt(argv
[2]);
2212 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2218 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2223 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2224 PyObject
*resultobj
;
2225 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2232 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2247 wxPoint
* resultptr
;
2248 resultptr
= new wxPoint((wxPoint
&) result
);
2249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2257 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2258 PyObject
*resultobj
;
2259 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2262 int *arg4
= (int *) 0 ;
2263 int *arg5
= (int *) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2268 PyObject
* obj2
= 0 ;
2272 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 arg2
= (int) SWIG_AsInt(obj1
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2277 arg3
= (int) SWIG_AsInt(obj2
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2289 resultobj
= t_output_helper(resultobj
,o
);
2292 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2293 resultobj
= t_output_helper(resultobj
,o
);
2301 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2306 argc
= PyObject_Length(args
);
2307 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2308 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2314 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2323 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2326 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2334 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2342 _v
= SWIG_CheckInt(argv
[1]);
2344 _v
= SWIG_CheckInt(argv
[2]);
2346 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2352 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2357 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2360 PyObject
* obj0
= 0 ;
2362 (char *) "self", NULL
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 (arg1
)->AdjustScrollbars();
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2375 Py_INCREF(Py_None
); resultobj
= Py_None
;
2382 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2385 wxScrollWinEvent
*arg2
= 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2390 (char *) "self",(char *) "event", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2400 PyErr_SetString(PyExc_TypeError
,"null reference");
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= SWIG_FromInt((int)result
);
2417 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2420 wxWindow
*arg2
= (wxWindow
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "target", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 (arg1
)->SetTargetWindow(arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "self", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2466 resultobj
= wxPyMake_wxObject(result
);
2474 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2477 wxVisualAttributes result
;
2478 PyObject
* obj0
= 0 ;
2480 (char *) "variant", NULL
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2485 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 wxVisualAttributes
* resultptr
;
2497 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2506 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2509 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2511 return Py_BuildValue((char *)"");
2513 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2514 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2519 static PyObject
*_wrap_FrameNameStr_get() {
2524 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2526 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2533 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2534 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2539 static PyObject
*_wrap_DialogNameStr_get() {
2544 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2546 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2553 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2554 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2559 static PyObject
*_wrap_StatusLineNameStr_get() {
2564 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2566 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2573 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2574 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2579 static PyObject
*_wrap_ToolBarNameStr_get() {
2584 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2586 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2593 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2596 bool arg2
= (bool) True
;
2597 PyObject
* obj0
= 0 ;
2598 PyObject
* obj1
= 0 ;
2600 (char *) "self",(char *) "maximize", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 arg2
= (bool) SWIG_AsBool(obj1
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 (arg1
)->Maximize(arg2
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2617 Py_INCREF(Py_None
); resultobj
= Py_None
;
2624 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2627 PyObject
* obj0
= 0 ;
2629 (char *) "self", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2642 Py_INCREF(Py_None
); resultobj
= Py_None
;
2649 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2652 bool arg2
= (bool) True
;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "self",(char *) "iconize", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 arg2
= (bool) SWIG_AsBool(obj1
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 (arg1
)->Iconize(arg2
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2680 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2684 PyObject
* obj0
= 0 ;
2686 (char *) "self", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2708 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2736 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2742 (char *) "self", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2757 resultptr
= new wxIcon((wxIcon
&) result
);
2758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2766 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2773 (char *) "self",(char *) "icon", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2783 PyErr_SetString(PyExc_TypeError
,"null reference");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2803 wxIconBundle
*arg2
= 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "icons", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2817 PyErr_SetString(PyExc_TypeError
,"null reference");
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2838 long arg3
= (long) wxFULLSCREEN_ALL
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2844 (char *) "self",(char *) "show",(char *) "style", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 arg2
= (bool) SWIG_AsBool(obj1
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 arg3
= (long) SWIG_AsLong(obj2
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2872 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2878 (char *) "self", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2900 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2903 wxString
*arg2
= 0 ;
2904 bool temp2
= False
;
2905 PyObject
* obj0
= 0 ;
2906 PyObject
* obj1
= 0 ;
2908 (char *) "self",(char *) "title", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2915 arg2
= wxString_in_helper(obj1
);
2916 if (arg2
== NULL
) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 (arg1
)->SetTitle((wxString
const &)*arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 Py_INCREF(Py_None
); resultobj
= Py_None
;
2941 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
;
2943 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2973 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2976 wxRegion
*arg2
= 0 ;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2981 (char *) "self",(char *) "region", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2991 PyErr_SetString(PyExc_TypeError
,"null reference");
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3010 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3015 return Py_BuildValue((char *)"");
3017 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxWindow
*arg1
= (wxWindow
*) 0 ;
3021 wxString
*arg3
= 0 ;
3022 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3023 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3024 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3025 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3026 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3027 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3028 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3030 bool temp3
= False
;
3033 bool temp7
= False
;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3036 PyObject
* obj2
= 0 ;
3037 PyObject
* obj3
= 0 ;
3038 PyObject
* obj4
= 0 ;
3039 PyObject
* obj5
= 0 ;
3040 PyObject
* obj6
= 0 ;
3042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3048 arg2
= (int const) SWIG_AsInt(obj1
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 arg3
= wxString_in_helper(obj2
);
3052 if (arg3
== NULL
) SWIG_fail
;
3058 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3064 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3068 arg6
= (long) SWIG_AsLong(obj5
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3073 arg7
= wxString_in_helper(obj6
);
3074 if (arg7
== NULL
) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= wxPyMake_wxObject(result
);
3110 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (wxFrame
*)new wxFrame();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= wxPyMake_wxObject(result
);
3134 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxFrame
*arg1
= (wxFrame
*) 0 ;
3137 wxWindow
*arg2
= (wxWindow
*) 0 ;
3139 wxString
*arg4
= 0 ;
3140 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3141 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3142 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3143 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3144 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3145 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3146 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3148 bool temp4
= False
;
3151 bool temp8
= False
;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3154 PyObject
* obj2
= 0 ;
3155 PyObject
* obj3
= 0 ;
3156 PyObject
* obj4
= 0 ;
3157 PyObject
* obj5
= 0 ;
3158 PyObject
* obj6
= 0 ;
3159 PyObject
* obj7
= 0 ;
3161 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3169 arg3
= (int const) SWIG_AsInt(obj2
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 arg4
= wxString_in_helper(obj3
);
3173 if (arg4
== NULL
) SWIG_fail
;
3179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3189 arg7
= (long) SWIG_AsLong(obj6
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3194 arg8
= wxString_in_helper(obj7
);
3195 if (arg8
== NULL
) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3231 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxFrame
*arg1
= (wxFrame
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "self", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3251 wxPoint
* resultptr
;
3252 resultptr
= new wxPoint((wxPoint
&) result
);
3253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3261 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxFrame
*arg1
= (wxFrame
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SendSizeEvent();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxFrame
*arg1
= (wxFrame
*) 0 ;
3289 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "self",(char *) "menubar", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 (arg1
)->SetMenuBar(arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxFrame
*arg1
= (wxFrame
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= wxPyMake_wxObject(result
);
3343 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxFrame
*arg1
= (wxFrame
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "winid", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 arg2
= (int) SWIG_AsInt(obj1
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3375 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxFrame
*arg1
= (wxFrame
*) 0 ;
3378 int arg2
= (int) 1 ;
3379 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3380 int arg4
= (int) 0 ;
3381 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3382 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3383 wxStatusBar
*result
;
3384 bool temp5
= False
;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3387 PyObject
* obj2
= 0 ;
3388 PyObject
* obj3
= 0 ;
3389 PyObject
* obj4
= 0 ;
3391 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 arg2
= (int) SWIG_AsInt(obj1
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3402 arg3
= (long) SWIG_AsLong(obj2
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3406 arg4
= (int) SWIG_AsInt(obj3
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3411 arg5
= wxString_in_helper(obj4
);
3412 if (arg5
== NULL
) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= wxPyMake_wxObject(result
);
3440 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxFrame
*arg1
= (wxFrame
*) 0 ;
3443 wxStatusBar
*result
;
3444 PyObject
* obj0
= 0 ;
3446 (char *) "self", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= wxPyMake_wxObject(result
);
3468 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
;
3470 wxFrame
*arg1
= (wxFrame
*) 0 ;
3471 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3472 PyObject
* obj0
= 0 ;
3473 PyObject
* obj1
= 0 ;
3475 (char *) "self",(char *) "statBar", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 (arg1
)->SetStatusBar(arg2
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 Py_INCREF(Py_None
); resultobj
= Py_None
;
3497 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxFrame
*arg1
= (wxFrame
*) 0 ;
3500 wxString
*arg2
= 0 ;
3501 int arg3
= (int) 0 ;
3502 bool temp2
= False
;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 (char *) "self",(char *) "text",(char *) "number", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 arg2
= wxString_in_helper(obj1
);
3515 if (arg2
== NULL
) SWIG_fail
;
3519 arg3
= (int) SWIG_AsInt(obj2
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 Py_INCREF(Py_None
); resultobj
= Py_None
;
3544 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxFrame
*arg1
= (wxFrame
*) 0 ;
3548 int *arg3
= (int *) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3552 (char *) "self",(char *) "widths", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 arg2
= PyList_Size(obj1
);
3560 arg3
= int_LIST_helper(obj1
);
3561 if (arg3
== NULL
) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 Py_INCREF(Py_None
); resultobj
= Py_None
;
3572 if (arg3
) delete [] arg3
;
3577 if (arg3
) delete [] arg3
;
3583 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxFrame
*arg1
= (wxFrame
*) 0 ;
3586 wxString
*arg2
= 0 ;
3587 int arg3
= (int) 0 ;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3591 PyObject
* obj2
= 0 ;
3593 (char *) "self",(char *) "text",(char *) "number", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 arg2
= wxString_in_helper(obj1
);
3601 if (arg2
== NULL
) SWIG_fail
;
3605 arg3
= (int) SWIG_AsInt(obj2
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3630 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxFrame
*arg1
= (wxFrame
*) 0 ;
3633 int arg2
= (int) 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "number", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3644 arg2
= (int) SWIG_AsInt(obj1
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->PopStatusText(arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxFrame
*arg1
= (wxFrame
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3668 (char *) "self",(char *) "n", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 arg2
= (int) SWIG_AsInt(obj1
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 (arg1
)->SetStatusBarPane(arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxFrame
*arg1
= (wxFrame
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_FromInt((int)result
);
3716 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxFrame
*arg1
= (wxFrame
*) 0 ;
3719 long arg2
= (long) -1 ;
3720 int arg3
= (int) -1 ;
3721 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3724 bool temp4
= False
;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3727 PyObject
* obj2
= 0 ;
3728 PyObject
* obj3
= 0 ;
3730 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= (long) SWIG_AsLong(obj1
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3741 arg3
= (int) SWIG_AsInt(obj2
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3746 arg4
= wxString_in_helper(obj3
);
3747 if (arg4
== NULL
) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= wxPyMake_wxObject(result
);
3775 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxFrame
*arg1
= (wxFrame
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "self", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= wxPyMake_wxObject(result
);
3803 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxFrame
*arg1
= (wxFrame
*) 0 ;
3806 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3810 (char *) "self",(char *) "toolbar", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 (arg1
)->SetToolBar(arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxFrame
*arg1
= (wxFrame
*) 0 ;
3835 wxString
*arg2
= 0 ;
3837 bool temp2
= False
;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3840 PyObject
* obj2
= 0 ;
3842 (char *) "self",(char *) "text",(char *) "show", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 arg2
= wxString_in_helper(obj1
);
3850 if (arg2
== NULL
) SWIG_fail
;
3853 arg3
= (bool) SWIG_AsBool(obj2
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxFrame
*arg1
= (wxFrame
*) 0 ;
3880 wxMenu
*arg2
= (wxMenu
*) NULL
;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3884 (char *) "self",(char *) "menu", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->DoMenuUpdates(arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3911 wxVisualAttributes result
;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "variant", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3919 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 wxVisualAttributes
* resultptr
;
3931 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3940 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3943 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3945 return Py_BuildValue((char *)"");
3947 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
;
3949 wxWindow
*arg1
= (wxWindow
*) 0 ;
3951 wxString
*arg3
= 0 ;
3952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3956 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3957 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3960 bool temp3
= False
;
3963 bool temp7
= False
;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3966 PyObject
* obj2
= 0 ;
3967 PyObject
* obj3
= 0 ;
3968 PyObject
* obj4
= 0 ;
3969 PyObject
* obj5
= 0 ;
3970 PyObject
* obj6
= 0 ;
3972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int const) SWIG_AsInt(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 arg3
= wxString_in_helper(obj2
);
3982 if (arg3
== NULL
) SWIG_fail
;
3988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3998 arg6
= (long) SWIG_AsLong(obj5
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4003 arg7
= wxString_in_helper(obj6
);
4004 if (arg7
== NULL
) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= wxPyMake_wxObject(result
);
4040 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (wxDialog
*)new wxDialog();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= wxPyMake_wxObject(result
);
4064 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxDialog
*arg1
= (wxDialog
*) 0 ;
4067 wxWindow
*arg2
= (wxWindow
*) 0 ;
4069 wxString
*arg4
= 0 ;
4070 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4071 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4072 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4073 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4074 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4075 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4078 bool temp4
= False
;
4081 bool temp8
= False
;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4084 PyObject
* obj2
= 0 ;
4085 PyObject
* obj3
= 0 ;
4086 PyObject
* obj4
= 0 ;
4087 PyObject
* obj5
= 0 ;
4088 PyObject
* obj6
= 0 ;
4089 PyObject
* obj7
= 0 ;
4091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4099 arg3
= (int const) SWIG_AsInt(obj2
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 arg4
= wxString_in_helper(obj3
);
4103 if (arg4
== NULL
) SWIG_fail
;
4109 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4115 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4119 arg7
= (long) SWIG_AsLong(obj6
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4124 arg8
= wxString_in_helper(obj7
);
4125 if (arg8
== NULL
) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4161 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxDialog
*arg1
= (wxDialog
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4166 PyObject
* obj1
= 0 ;
4168 (char *) "self",(char *) "returnCode", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 arg2
= (int) SWIG_AsInt(obj1
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->SetReturnCode(arg2
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxDialog
*arg1
= (wxDialog
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4196 (char *) "self", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_FromInt((int)result
);
4216 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxDialog
*arg1
= (wxDialog
*) 0 ;
4219 wxString
*arg2
= 0 ;
4221 bool temp2
= False
;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4225 (char *) "self",(char *) "message", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 arg2
= wxString_in_helper(obj1
);
4233 if (arg2
== NULL
) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= wxPyMake_wxSizer(result
);
4260 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxDialog
*arg1
= (wxDialog
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "self",(char *) "flags", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 arg2
= (long) SWIG_AsLong(obj1
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= wxPyMake_wxSizer(result
);
4292 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxDialog
*arg1
= (wxDialog
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4298 (char *) "self", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4320 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxDialog
*arg1
= (wxDialog
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (int)(arg1
)->ShowModal();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_FromInt((int)result
);
4346 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4348 wxDialog
*arg1
= (wxDialog
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "self",(char *) "retCode", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 arg2
= (int) SWIG_AsInt(obj1
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->EndModal(arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4378 wxVisualAttributes result
;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "variant", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4386 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 wxVisualAttributes
* resultptr
;
4398 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4407 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4410 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4412 return Py_BuildValue((char *)"");
4414 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxWindow
*arg1
= (wxWindow
*) 0 ;
4418 wxString
*arg3
= 0 ;
4419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4423 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4424 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4426 wxMiniFrame
*result
;
4427 bool temp3
= False
;
4430 bool temp7
= False
;
4431 PyObject
* obj0
= 0 ;
4432 PyObject
* obj1
= 0 ;
4433 PyObject
* obj2
= 0 ;
4434 PyObject
* obj3
= 0 ;
4435 PyObject
* obj4
= 0 ;
4436 PyObject
* obj5
= 0 ;
4437 PyObject
* obj6
= 0 ;
4439 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4445 arg2
= (int const) SWIG_AsInt(obj1
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 arg3
= wxString_in_helper(obj2
);
4449 if (arg3
== NULL
) SWIG_fail
;
4455 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4461 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4465 arg6
= (long) SWIG_AsLong(obj5
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4470 arg7
= wxString_in_helper(obj6
);
4471 if (arg7
== NULL
) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4505 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4507 wxMiniFrame
*result
;
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (wxMiniFrame
*)new wxMiniFrame();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4527 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4530 wxWindow
*arg2
= (wxWindow
*) 0 ;
4532 wxString
*arg4
= 0 ;
4533 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4535 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4536 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4537 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4538 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4539 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4541 bool temp4
= False
;
4544 bool temp8
= False
;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 PyObject
* obj2
= 0 ;
4548 PyObject
* obj3
= 0 ;
4549 PyObject
* obj4
= 0 ;
4550 PyObject
* obj5
= 0 ;
4551 PyObject
* obj6
= 0 ;
4552 PyObject
* obj7
= 0 ;
4554 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4562 arg3
= (int const) SWIG_AsInt(obj2
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 arg4
= wxString_in_helper(obj3
);
4566 if (arg4
== NULL
) SWIG_fail
;
4572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4582 arg7
= (long) SWIG_AsLong(obj6
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4587 arg8
= wxString_in_helper(obj7
);
4588 if (arg8
== NULL
) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4629 return Py_BuildValue((char *)"");
4631 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxBitmap
*arg1
= 0 ;
4634 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4640 long arg6
= (long) wxNO_BORDER
;
4641 wxSplashScreenWindow
*result
;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 PyObject
* obj2
= 0 ;
4647 PyObject
* obj3
= 0 ;
4648 PyObject
* obj4
= 0 ;
4649 PyObject
* obj5
= 0 ;
4651 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4659 PyErr_SetString(PyExc_TypeError
,"null reference");
4662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 arg3
= (int) SWIG_AsInt(obj2
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4679 arg6
= (long) SWIG_AsLong(obj5
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4696 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4699 wxBitmap
*arg2
= 0 ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4703 (char *) "self",(char *) "bitmap", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4713 PyErr_SetString(PyExc_TypeError
,"null reference");
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4746 result
= (wxBitmap
*) &_result_ref
;
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4753 wxBitmap
* resultptr
= new wxBitmap(*result
);
4754 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4762 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4765 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4767 return Py_BuildValue((char *)"");
4769 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxBitmap
*arg1
= 0 ;
4774 wxWindow
*arg4
= (wxWindow
*) 0 ;
4776 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4777 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4778 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4779 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4780 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4781 wxSplashScreen
*result
;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4786 PyObject
* obj2
= 0 ;
4787 PyObject
* obj3
= 0 ;
4788 PyObject
* obj4
= 0 ;
4789 PyObject
* obj5
= 0 ;
4790 PyObject
* obj6
= 0 ;
4791 PyObject
* obj7
= 0 ;
4793 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4801 PyErr_SetString(PyExc_TypeError
,"null reference");
4804 arg2
= (long) SWIG_AsLong(obj1
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4806 arg3
= (int) SWIG_AsInt(obj2
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4808 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4810 arg5
= (int) SWIG_AsInt(obj4
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4815 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4821 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4825 arg8
= (long) SWIG_AsLong(obj7
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4842 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_FromLong((long)result
);
4868 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4871 wxSplashScreenWindow
*result
;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "self", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4894 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_FromInt((int)result
);
4920 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4923 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4925 return Py_BuildValue((char *)"");
4927 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxWindow
*arg1
= (wxWindow
*) 0 ;
4930 int arg2
= (int) -1 ;
4931 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4932 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4934 wxStatusBar
*result
;
4935 bool temp4
= False
;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 PyObject
* obj2
= 0 ;
4939 PyObject
* obj3
= 0 ;
4941 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 arg2
= (int) SWIG_AsInt(obj1
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 arg3
= (long) SWIG_AsLong(obj2
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4957 arg4
= wxString_in_helper(obj3
);
4958 if (arg4
== NULL
) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= wxPyMake_wxObject(result
);
4986 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxStatusBar
*result
;
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxStatusBar
*)new wxStatusBar();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= wxPyMake_wxObject(result
);
5010 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5013 wxWindow
*arg2
= (wxWindow
*) 0 ;
5015 long arg4
= (long) wxST_SIZEGRIP
;
5016 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5017 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5019 bool temp5
= False
;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 PyObject
* obj2
= 0 ;
5023 PyObject
* obj3
= 0 ;
5024 PyObject
* obj4
= 0 ;
5026 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 arg3
= (int) SWIG_AsInt(obj2
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 arg4
= (long) SWIG_AsLong(obj3
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5042 arg5
= wxString_in_helper(obj4
);
5043 if (arg5
== NULL
) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5071 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5074 int arg2
= (int) 1 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "number", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (int) SWIG_AsInt(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetFieldsCount(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 Py_INCREF(Py_None
); resultobj
= Py_None
;
5102 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "self", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_FromInt((int)result
);
5128 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5131 wxString
*arg2
= 0 ;
5132 int arg3
= (int) 0 ;
5133 bool temp2
= False
;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5136 PyObject
* obj2
= 0 ;
5138 (char *) "self",(char *) "text",(char *) "number", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 arg2
= wxString_in_helper(obj1
);
5146 if (arg2
== NULL
) SWIG_fail
;
5150 arg3
= (int) SWIG_AsInt(obj2
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 Py_INCREF(Py_None
); resultobj
= Py_None
;
5175 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5178 int arg2
= (int) 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5183 (char *) "self",(char *) "number", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 arg2
= (int) SWIG_AsInt(obj1
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5213 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5216 wxString
*arg2
= 0 ;
5217 int arg3
= (int) 0 ;
5218 bool temp2
= False
;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 PyObject
* obj2
= 0 ;
5223 (char *) "self",(char *) "text",(char *) "number", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 arg2
= wxString_in_helper(obj1
);
5231 if (arg2
== NULL
) SWIG_fail
;
5235 arg3
= (int) SWIG_AsInt(obj2
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 Py_INCREF(Py_None
); resultobj
= Py_None
;
5260 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5263 int arg2
= (int) 0 ;
5264 PyObject
* obj0
= 0 ;
5265 PyObject
* obj1
= 0 ;
5267 (char *) "self",(char *) "number", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 arg2
= (int) SWIG_AsInt(obj1
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 (arg1
)->PopStatusText(arg2
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 Py_INCREF(Py_None
); resultobj
= Py_None
;
5291 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5295 int *arg3
= (int *) 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5299 (char *) "self",(char *) "widths", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5306 arg2
= PyList_Size(obj1
);
5307 arg3
= int_LIST_helper(obj1
);
5308 if (arg3
== NULL
) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 if (arg3
) delete [] arg3
;
5324 if (arg3
) delete [] arg3
;
5330 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "i", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 arg2
= (int) SWIG_AsInt(obj1
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5355 resultptr
= new wxRect((wxRect
&) result
);
5356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5364 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "height", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 arg2
= (int) SWIG_AsInt(obj1
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetMinHeight(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_FromInt((int)result
);
5419 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5425 (char *) "self", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_FromInt((int)result
);
5445 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5448 wxVisualAttributes result
;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "variant", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5456 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5467 wxVisualAttributes
* resultptr
;
5468 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5477 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5480 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5482 return Py_BuildValue((char *)"");
5484 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5485 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5490 static PyObject
*_wrap_SplitterNameStr_get() {
5495 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5497 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5504 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxWindow
*arg1
= (wxWindow
*) 0 ;
5507 int arg2
= (int) -1 ;
5508 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5509 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5510 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5511 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5512 long arg5
= (long) wxSP_3D
;
5513 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5514 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5515 wxSplitterWindow
*result
;
5518 bool temp6
= False
;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 PyObject
* obj2
= 0 ;
5522 PyObject
* obj3
= 0 ;
5523 PyObject
* obj4
= 0 ;
5524 PyObject
* obj5
= 0 ;
5526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (int) SWIG_AsInt(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5549 arg5
= (long) SWIG_AsLong(obj4
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5554 arg6
= wxString_in_helper(obj5
);
5555 if (arg6
== NULL
) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5581 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxSplitterWindow
*result
;
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5603 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5606 wxWindow
*arg2
= (wxWindow
*) 0 ;
5607 int arg3
= (int) -1 ;
5608 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5609 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5610 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5611 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5612 long arg6
= (long) wxSP_3D
;
5613 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5614 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5618 bool temp7
= False
;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5621 PyObject
* obj2
= 0 ;
5622 PyObject
* obj3
= 0 ;
5623 PyObject
* obj4
= 0 ;
5624 PyObject
* obj5
= 0 ;
5625 PyObject
* obj6
= 0 ;
5627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg3
= (int) SWIG_AsInt(obj2
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5652 arg6
= (long) SWIG_AsLong(obj5
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5657 arg7
= wxString_in_helper(obj6
);
5658 if (arg7
== NULL
) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= wxPyMake_wxObject(result
);
5714 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= wxPyMake_wxObject(result
);
5742 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "mode", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (int) SWIG_AsInt(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 (arg1
)->SetSplitMode(arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= SWIG_FromInt((int)result
);
5797 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5800 wxWindow
*arg2
= (wxWindow
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5802 PyObject
* obj1
= 0 ;
5804 (char *) "self",(char *) "window", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 (arg1
)->Initialize(arg2
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 Py_INCREF(Py_None
); resultobj
= Py_None
;
5826 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5829 wxWindow
*arg2
= (wxWindow
*) 0 ;
5830 wxWindow
*arg3
= (wxWindow
*) 0 ;
5831 int arg4
= (int) 0 ;
5833 PyObject
* obj0
= 0 ;
5834 PyObject
* obj1
= 0 ;
5835 PyObject
* obj2
= 0 ;
5836 PyObject
* obj3
= 0 ;
5838 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 arg4
= (int) SWIG_AsInt(obj3
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5871 wxWindow
*arg2
= (wxWindow
*) 0 ;
5872 wxWindow
*arg3
= (wxWindow
*) 0 ;
5873 int arg4
= (int) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 PyObject
* obj2
= 0 ;
5878 PyObject
* obj3
= 0 ;
5880 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 arg4
= (int) SWIG_AsInt(obj3
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5910 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5913 wxWindow
*arg2
= (wxWindow
*) NULL
;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5918 (char *) "self",(char *) "toRemove", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)(arg1
)->Unsplit(arg2
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5947 wxWindow
*arg2
= (wxWindow
*) 0 ;
5948 wxWindow
*arg3
= (wxWindow
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5952 PyObject
* obj2
= 0 ;
5954 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5985 (char *) "self", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 (arg1
)->UpdateSize();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 Py_INCREF(Py_None
); resultobj
= Py_None
;
6005 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj1
= 0 ;
6040 (char *) "self",(char *) "width", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 arg2
= (int) SWIG_AsInt(obj1
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 (arg1
)->SetSashSize(arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6069 (char *) "self",(char *) "width", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 arg2
= (int) SWIG_AsInt(obj1
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 (arg1
)->SetBorderSize(arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 Py_INCREF(Py_None
); resultobj
= Py_None
;
6091 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_FromInt((int)result
);
6117 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "self", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_FromInt((int)result
);
6143 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6147 bool arg3
= (bool) True
;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6152 (char *) "self",(char *) "position",(char *) "redraw", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 arg2
= (int) SWIG_AsInt(obj1
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 arg3
= (bool) SWIG_AsBool(obj2
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 (arg1
)->SetSashPosition(arg2
,arg3
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 Py_INCREF(Py_None
); resultobj
= Py_None
;
6178 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_FromInt((int)result
);
6204 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6211 (char *) "self",(char *) "min", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 arg2
= (int) SWIG_AsInt(obj1
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 (arg1
)->SetMinimumPaneSize(arg2
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 Py_INCREF(Py_None
); resultobj
= Py_None
;
6233 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "self", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_FromInt((int)result
);
6259 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6264 int arg4
= (int) 5 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6268 PyObject
* obj2
= 0 ;
6269 PyObject
* obj3
= 0 ;
6271 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= (int) SWIG_AsInt(obj1
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6279 arg3
= (int) SWIG_AsInt(obj2
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 arg4
= (int) SWIG_AsInt(obj3
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",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 (arg1
)->SizeWindows();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6333 (char *) "self",(char *) "needUpdating", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6339 arg2
= (bool) SWIG_AsBool(obj1
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 (arg1
)->SetNeedUpdating(arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 Py_INCREF(Py_None
); resultobj
= Py_None
;
6355 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6361 (char *) "self", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6383 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6386 wxVisualAttributes result
;
6387 PyObject
* obj0
= 0 ;
6389 (char *) "variant", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6394 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6405 wxVisualAttributes
* resultptr
;
6406 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6415 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6418 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6420 return Py_BuildValue((char *)"");
6422 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6425 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6426 wxSplitterEvent
*result
;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "type",(char *) "splitter", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6456 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "pos", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 arg2
= (int) SWIG_AsInt(obj1
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 (arg1
)->SetSashPosition(arg2
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 Py_INCREF(Py_None
); resultobj
= Py_None
;
6485 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_FromInt((int)result
);
6511 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= wxPyMake_wxObject(result
);
6539 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_FromInt((int)result
);
6565 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_FromInt((int)result
);
6591 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6594 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6596 return Py_BuildValue((char *)"");
6598 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6599 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6604 static PyObject
*_wrap_SashNameStr_get() {
6609 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6611 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6618 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6619 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6624 static PyObject
*_wrap_SashLayoutNameStr_get() {
6629 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6631 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6638 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxWindow
*arg1
= (wxWindow
*) 0 ;
6642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6646 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6647 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6648 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6649 wxSashWindow
*result
;
6652 bool temp6
= False
;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 PyObject
* obj2
= 0 ;
6656 PyObject
* obj3
= 0 ;
6657 PyObject
* obj4
= 0 ;
6658 PyObject
* obj5
= 0 ;
6660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6666 arg2
= (int) SWIG_AsInt(obj1
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6681 arg5
= (long) SWIG_AsLong(obj4
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 arg6
= wxString_in_helper(obj5
);
6687 if (arg6
== NULL
) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6713 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSashWindow
*result
;
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (wxSashWindow
*)new wxSashWindow();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6735 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6738 wxWindow
*arg2
= (wxWindow
*) 0 ;
6740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6744 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6745 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6750 bool temp7
= False
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6754 PyObject
* obj3
= 0 ;
6755 PyObject
* obj4
= 0 ;
6756 PyObject
* obj5
= 0 ;
6757 PyObject
* obj6
= 0 ;
6759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg3
= (int) SWIG_AsInt(obj2
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6772 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6778 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6782 arg6
= (long) SWIG_AsLong(obj5
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6787 arg7
= wxString_in_helper(obj6
);
6788 if (arg7
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6816 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6825 (char *) "self",(char *) "edge",(char *) "sash", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6833 arg3
= (bool) SWIG_AsBool(obj2
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "edge", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 PyObject
* obj2
= 0 ;
6890 (char *) "self",(char *) "edge",(char *) "border", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6898 arg3
= (bool) SWIG_AsBool(obj2
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6922 (char *) "self",(char *) "edge", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6946 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "edge", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_FromInt((int)result
);
6976 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "width", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6989 arg2
= (int) SWIG_AsInt(obj1
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 (arg1
)->SetDefaultBorderSize(arg2
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 Py_INCREF(Py_None
); resultobj
= Py_None
;
7005 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7011 (char *) "self", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_FromInt((int)result
);
7031 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
;
7033 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "width", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7044 arg2
= (int) SWIG_AsInt(obj1
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->SetExtraBorderSize(arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7066 (char *) "self", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_FromInt((int)result
);
7086 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "min", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 arg2
= (int) SWIG_AsInt(obj1
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetMinimumSizeX(arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "self",(char *) "min", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 arg2
= (int) SWIG_AsInt(obj1
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 (arg1
)->SetMinimumSizeY(arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "self", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_FromInt((int)result
);
7170 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "self", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_FromInt((int)result
);
7196 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7203 (char *) "self",(char *) "max", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 arg2
= (int) SWIG_AsInt(obj1
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 (arg1
)->SetMaximumSizeX(arg2
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7232 (char *) "self",(char *) "max", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7238 arg2
= (int) SWIG_AsInt(obj1
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 (arg1
)->SetMaximumSizeY(arg2
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7260 (char *) "self", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_FromInt((int)result
);
7280 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "self", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_FromInt((int)result
);
7306 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7311 int arg4
= (int) 2 ;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 PyObject
* obj2
= 0 ;
7316 PyObject
* obj3
= 0 ;
7318 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7324 arg2
= (int) SWIG_AsInt(obj1
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7326 arg3
= (int) SWIG_AsInt(obj2
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 arg4
= (int) SWIG_AsInt(obj3
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_FromInt((int)result
);
7346 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 (arg1
)->SizeWindows();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 Py_INCREF(Py_None
); resultobj
= Py_None
;
7371 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7374 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7376 return Py_BuildValue((char *)"");
7378 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 int arg1
= (int) 0 ;
7381 int arg2
= (int) wxSASH_NONE
;
7382 wxSashEvent
*result
;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "id",(char *) "edge", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7391 arg1
= (int) SWIG_AsInt(obj0
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7412 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7419 (char *) "self",(char *) "edge", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7441 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7447 (char *) "self", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_FromInt((int)result
);
7467 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7475 (char *) "self",(char *) "rect", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "self", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7520 resultptr
= new wxRect((wxRect
&) result
);
7521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7529 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "self",(char *) "status", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7558 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_FromInt((int)result
);
7584 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7589 return Py_BuildValue((char *)"");
7591 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 int arg1
= (int) 0 ;
7594 wxQueryLayoutInfoEvent
*result
;
7595 PyObject
* obj0
= 0 ;
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7602 arg1
= (int) SWIG_AsInt(obj0
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7619 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "length", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7632 arg2
= (int) SWIG_AsInt(obj1
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 (arg1
)->SetRequestedLength(arg2
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 Py_INCREF(Py_None
); resultobj
= Py_None
;
7648 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_FromInt((int)result
);
7674 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7681 (char *) "self",(char *) "flags", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 arg2
= (int) SWIG_AsInt(obj1
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 (arg1
)->SetFlags(arg2
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 Py_INCREF(Py_None
); resultobj
= Py_None
;
7703 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7709 (char *) "self", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_FromInt((int)result
);
7729 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7737 (char *) "self",(char *) "size", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 (arg1
)->SetSize((wxSize
const &)*arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7767 (char *) "self", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7782 resultptr
= new wxSize((wxSize
&) result
);
7783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7791 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "orient", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7820 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_FromInt((int)result
);
7846 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "align", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7881 (char *) "self", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_FromInt((int)result
);
7901 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7904 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7906 return Py_BuildValue((char *)"");
7908 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 int arg1
= (int) 0 ;
7911 wxCalculateLayoutEvent
*result
;
7912 PyObject
* obj0
= 0 ;
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7919 arg1
= (int) SWIG_AsInt(obj0
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7936 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7941 PyObject
* obj1
= 0 ;
7943 (char *) "self",(char *) "flags", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 arg2
= (int) SWIG_AsInt(obj1
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->SetFlags(arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_FromInt((int)result
);
7991 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7999 (char *) "self",(char *) "rect", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 (arg1
)->SetRect((wxRect
const &)*arg2
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "self", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8044 resultptr
= new wxRect((wxRect
&) result
);
8045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8053 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8056 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8058 return Py_BuildValue((char *)"");
8060 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxWindow
*arg1
= (wxWindow
*) 0 ;
8064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8068 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8069 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8071 wxSashLayoutWindow
*result
;
8074 bool temp6
= False
;
8075 PyObject
* obj0
= 0 ;
8076 PyObject
* obj1
= 0 ;
8077 PyObject
* obj2
= 0 ;
8078 PyObject
* obj3
= 0 ;
8079 PyObject
* obj4
= 0 ;
8080 PyObject
* obj5
= 0 ;
8082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8088 arg2
= (int) SWIG_AsInt(obj1
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8099 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8103 arg5
= (long) SWIG_AsLong(obj4
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8108 arg6
= wxString_in_helper(obj5
);
8109 if (arg6
== NULL
) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8135 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxSashLayoutWindow
*result
;
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8157 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8160 wxWindow
*arg2
= (wxWindow
*) 0 ;
8162 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8163 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8164 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8165 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8166 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8167 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8168 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8172 bool temp7
= False
;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8175 PyObject
* obj2
= 0 ;
8176 PyObject
* obj3
= 0 ;
8177 PyObject
* obj4
= 0 ;
8178 PyObject
* obj5
= 0 ;
8179 PyObject
* obj6
= 0 ;
8181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8189 arg3
= (int) SWIG_AsInt(obj2
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8204 arg6
= (long) SWIG_AsLong(obj5
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8209 arg7
= wxString_in_helper(obj6
);
8210 if (arg7
== NULL
) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8238 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "self", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (int)(arg1
)->GetAlignment();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_FromInt((int)result
);
8264 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (int)(arg1
)->GetOrientation();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_FromInt((int)result
);
8290 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8297 (char *) "self",(char *) "alignment", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 Py_INCREF(Py_None
); resultobj
= Py_None
;
8319 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "size", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "orientation", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8383 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8385 return Py_BuildValue((char *)"");
8387 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxLayoutAlgorithm
*result
;
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8409 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "self", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 Py_INCREF(Py_None
); resultobj
= Py_None
;
8434 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8437 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8438 wxRect
*arg3
= (wxRect
*) NULL
;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8442 PyObject
* obj2
= 0 ;
8444 (char *) "self",(char *) "frame",(char *) "rect", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8472 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8475 wxFrame
*arg2
= (wxFrame
*) 0 ;
8476 wxWindow
*arg3
= (wxWindow
*) NULL
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8480 PyObject
* obj2
= 0 ;
8482 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8491 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8510 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8513 wxWindow
*arg2
= (wxWindow
*) 0 ;
8514 wxWindow
*arg3
= (wxWindow
*) NULL
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8520 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8553 return Py_BuildValue((char *)"");
8555 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxWindow
*arg1
= (wxWindow
*) 0 ;
8558 int arg2
= (int) wxBORDER_NONE
;
8559 wxPopupWindow
*result
;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8563 (char *) "parent",(char *) "flags", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 arg2
= (int) SWIG_AsInt(obj1
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8587 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxPopupWindow
*result
;
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxPopupWindow
*)new wxPopupWindow();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8609 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8612 wxWindow
*arg2
= (wxWindow
*) 0 ;
8613 int arg3
= (int) wxBORDER_NONE
;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 PyObject
* obj2
= 0 ;
8619 (char *) "self",(char *) "parent",(char *) "flags", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8628 arg3
= (int) SWIG_AsInt(obj2
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8658 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8670 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8691 return Py_BuildValue((char *)"");
8693 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxWindow
*arg1
= (wxWindow
*) 0 ;
8696 int arg2
= (int) wxBORDER_NONE
;
8697 wxPyPopupTransientWindow
*result
;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8701 (char *) "parent",(char *) "style", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 arg2
= (int) SWIG_AsInt(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8725 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxPyPopupTransientWindow
*result
;
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8747 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8750 PyObject
*arg2
= (PyObject
*) 0 ;
8751 PyObject
*arg3
= (PyObject
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8756 (char *) "self",(char *) "self",(char *) "_class", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8781 wxWindow
*arg2
= (wxWindow
*) NULL
;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8785 (char *) "self",(char *) "focus", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 (arg1
)->Popup(arg2
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8814 (char *) "self", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8837 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8839 return Py_BuildValue((char *)"");
8841 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxWindow
*arg1
= (wxWindow
*) 0 ;
8844 wxString
*arg2
= 0 ;
8845 int arg3
= (int) 100 ;
8846 wxRect
*arg4
= (wxRect
*) NULL
;
8847 wxTipWindow
*result
;
8848 bool temp2
= False
;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8852 PyObject
* obj3
= 0 ;
8854 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 arg2
= wxString_in_helper(obj1
);
8862 if (arg2
== NULL
) SWIG_fail
;
8866 arg3
= (int) SWIG_AsInt(obj2
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8870 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8895 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8903 (char *) "self",(char *) "rectBound", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8930 PyObject
* obj0
= 0 ;
8932 (char *) "self", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8955 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8957 return Py_BuildValue((char *)"");
8959 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxWindow
*arg1
= (wxWindow
*) 0 ;
8962 int arg2
= (int) wxID_ANY
;
8963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8967 long arg5
= (long) 0 ;
8968 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8969 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8970 wxPyVScrolledWindow
*result
;
8973 bool temp6
= False
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8978 PyObject
* obj4
= 0 ;
8979 PyObject
* obj5
= 0 ;
8981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int) SWIG_AsInt(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9004 arg5
= (long) SWIG_AsLong(obj4
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9009 arg6
= wxString_in_helper(obj5
);
9010 if (arg6
== NULL
) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9036 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxPyVScrolledWindow
*result
;
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9058 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9061 PyObject
*arg2
= (PyObject
*) 0 ;
9062 PyObject
*arg3
= (PyObject
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9065 PyObject
* obj2
= 0 ;
9067 (char *) "self",(char *) "self",(char *) "_class", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9092 wxWindow
*arg2
= (wxWindow
*) 0 ;
9093 int arg3
= (int) wxID_ANY
;
9094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9098 long arg6
= (long) 0 ;
9099 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9104 bool temp7
= False
;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9108 PyObject
* obj3
= 0 ;
9109 PyObject
* obj4
= 0 ;
9110 PyObject
* obj5
= 0 ;
9111 PyObject
* obj6
= 0 ;
9113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 arg3
= (int) SWIG_AsInt(obj2
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9138 arg6
= (long) SWIG_AsLong(obj5
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9143 arg7
= wxString_in_helper(obj6
);
9144 if (arg7
== NULL
) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "count", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 (arg1
)->SetLineCount(arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9209 (char *) "self",(char *) "line", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9215 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9233 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "lines", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (int) SWIG_AsInt(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (bool)(arg1
)->ScrollLines(arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9273 (char *) "self",(char *) "pages", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 arg2
= (int) SWIG_AsInt(obj1
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)(arg1
)->ScrollPages(arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9304 (char *) "self",(char *) "line", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->RefreshLine(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9335 (char *) "self",(char *) "from",(char *) "to", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9343 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->RefreshLines(arg2
,arg3
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 Py_INCREF(Py_None
); resultobj
= Py_None
;
9359 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9369 (char *) "self",(char *) "x",(char *) "y", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9375 arg2
= (int) SWIG_AsInt(obj1
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9377 arg3
= (int) SWIG_AsInt(obj2
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_FromInt((int)result
);
9393 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9402 (char *) "self",(char *) "pt", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_FromInt((int)result
);
9426 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 (arg1
)->RefreshAll();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 Py_INCREF(Py_None
); resultobj
= Py_None
;
9451 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9477 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9503 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
;
9505 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9509 (char *) "self", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9529 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9537 (char *) "self",(char *) "line", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9561 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9564 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9566 return Py_BuildValue((char *)"");
9568 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9569 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9574 static PyObject
*_wrap_VListBoxNameStr_get() {
9579 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9581 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9588 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxWindow
*arg1
= (wxWindow
*) 0 ;
9591 int arg2
= (int) wxID_ANY
;
9592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9596 long arg5
= (long) 0 ;
9597 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9599 wxPyVListBox
*result
;
9602 bool temp6
= False
;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 PyObject
* obj2
= 0 ;
9606 PyObject
* obj3
= 0 ;
9607 PyObject
* obj4
= 0 ;
9608 PyObject
* obj5
= 0 ;
9610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 arg2
= (int) SWIG_AsInt(obj1
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9633 arg5
= (long) SWIG_AsLong(obj4
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9638 arg6
= wxString_in_helper(obj5
);
9639 if (arg6
== NULL
) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9665 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxPyVListBox
*result
;
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (wxPyVListBox
*)new wxPyVListBox();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9687 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9690 PyObject
*arg2
= (PyObject
*) 0 ;
9691 PyObject
*arg3
= (PyObject
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 PyObject
* obj2
= 0 ;
9696 (char *) "self",(char *) "self",(char *) "_class", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 Py_INCREF(Py_None
); resultobj
= Py_None
;
9718 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9721 wxWindow
*arg2
= (wxWindow
*) 0 ;
9722 int arg3
= (int) wxID_ANY
;
9723 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9724 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9725 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9726 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9727 long arg6
= (long) 0 ;
9728 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9729 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9733 bool temp7
= False
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 PyObject
* obj2
= 0 ;
9737 PyObject
* obj3
= 0 ;
9738 PyObject
* obj4
= 0 ;
9739 PyObject
* obj5
= 0 ;
9740 PyObject
* obj6
= 0 ;
9742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9751 arg3
= (int) SWIG_AsInt(obj2
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9757 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9763 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9767 arg6
= (long) SWIG_AsLong(obj5
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9772 arg7
= wxString_in_helper(obj6
);
9773 if (arg7
== NULL
) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9801 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9827 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9855 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_FromInt((int)result
);
9881 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9889 (char *) "self",(char *) "item", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9913 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9921 (char *) "self",(char *) "item", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9945 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9971 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9974 unsigned long *arg2
= 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9979 (char *) "self",(char *) "cookie", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9989 PyErr_SetString(PyExc_TypeError
,"null reference");
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_FromInt((int)result
);
10006 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10009 unsigned long *arg2
= 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "cookie", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10023 if (arg2
== NULL
) {
10024 PyErr_SetString(PyExc_TypeError
,"null reference");
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_FromInt((int)result
);
10041 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
;
10043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10045 PyObject
* obj0
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 wxPoint
* resultptr
;
10062 resultptr
= new wxPoint((wxPoint
&) result
);
10063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10071 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10087 result
= (wxColour
*) &_result_ref
;
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10100 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "count", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 (arg1
)->SetItemCount(arg2
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10154 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self",(char *) "selection", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10167 arg2
= (int) SWIG_AsInt(obj1
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->SetSelection(arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10187 bool arg3
= (bool) True
;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 PyObject
* obj2
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "item",(char *) "select", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 arg3
= (bool) SWIG_AsBool(obj2
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10221 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "from",(char *) "to", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10239 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10257 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "item", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 (arg1
)->Toggle(arg2
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (bool)(arg1
)->SelectAll();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (bool)(arg1
)->DeselectAll();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10342 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10345 wxPoint
*arg2
= 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "pt", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 Py_INCREF(Py_None
); resultobj
= Py_None
;
10374 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 PyObject
* obj2
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "x",(char *) "y", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 arg2
= (int) SWIG_AsInt(obj1
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10391 arg3
= (int) SWIG_AsInt(obj2
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->SetMargins(arg2
,arg3
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10410 wxColour
*arg2
= 0 ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self",(char *) "col", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10442 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10444 return Py_BuildValue((char *)"");
10446 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxWindow
*arg1
= (wxWindow
*) 0 ;
10449 int arg2
= (int) wxID_ANY
;
10450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10454 long arg5
= (long) 0 ;
10455 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10456 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10457 wxPyHtmlListBox
*result
;
10460 bool temp6
= False
;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 PyObject
* obj3
= 0 ;
10465 PyObject
* obj4
= 0 ;
10466 PyObject
* obj5
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 arg2
= (int) SWIG_AsInt(obj1
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10491 arg5
= (long) SWIG_AsLong(obj4
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10496 arg6
= wxString_in_helper(obj5
);
10497 if (arg6
== NULL
) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10523 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxPyHtmlListBox
*result
;
10526 char *kwnames
[] = {
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10545 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10548 PyObject
*arg2
= (PyObject
*) 0 ;
10549 PyObject
*arg3
= (PyObject
*) 0 ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 PyObject
* obj2
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self",(char *) "self",(char *) "_class", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 Py_INCREF(Py_None
); resultobj
= Py_None
;
10576 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10579 wxWindow
*arg2
= (wxWindow
*) 0 ;
10580 int arg3
= (int) wxID_ANY
;
10581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10583 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10584 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10585 long arg6
= (long) 0 ;
10586 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10587 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10591 bool temp7
= False
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 PyObject
* obj3
= 0 ;
10596 PyObject
* obj4
= 0 ;
10597 PyObject
* obj5
= 0 ;
10598 PyObject
* obj6
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 arg3
= (int) SWIG_AsInt(obj2
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10625 arg6
= (long) SWIG_AsLong(obj5
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10630 arg7
= wxString_in_helper(obj6
);
10631 if (arg7
== NULL
) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->RefreshAll();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "count", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetItemCount(arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10716 wxFileSystem
*result
;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10729 result
= (wxFileSystem
*) &_result_ref
;
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10742 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10745 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10747 return Py_BuildValue((char *)"");
10749 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxTaskBarIcon
*result
;
10752 char *kwnames
[] = {
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10771 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxTaskBarIcon_Destroy(arg1
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10849 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10877 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10884 bool temp3
= False
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10898 if (arg2
== NULL
) {
10899 PyErr_SetString(PyExc_TypeError
,"null reference");
10904 arg3
= wxString_in_helper(obj2
);
10905 if (arg3
== NULL
) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10933 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)(arg1
)->RemoveIcon();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10964 wxMenu
*arg2
= (wxMenu
*) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self",(char *) "menu", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)(arg1
)->PopupMenu(arg2
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10996 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10998 return Py_BuildValue((char *)"");
11000 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11003 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11004 wxTaskBarIconEvent
*result
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "evtType",(char *) "tbIcon", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11030 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11035 return Py_BuildValue((char *)"");
11037 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11038 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11043 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11048 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11050 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11057 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11058 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11063 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11068 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11070 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11077 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11078 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11083 static PyObject
*_wrap_DirDialogNameStr_get() {
11088 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11090 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11098 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11103 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11108 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11110 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11117 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11118 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11123 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11128 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11130 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11137 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11138 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11143 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11148 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11150 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11157 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxColourData
*result
;
11160 char *kwnames
[] = {
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (wxColourData
*)new wxColourData();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11179 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxColourData
*arg1
= (wxColourData
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxColourData
*arg1
= (wxColourData
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->GetChooseFull();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxColourData
*arg1
= (wxColourData
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 result
= (arg1
)->GetColour();
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 wxColour
* resultptr
;
11253 resultptr
= new wxColour((wxColour
&) result
);
11254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11262 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxColourData
*arg1
= (wxColourData
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self",(char *) "i", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 arg2
= (int) SWIG_AsInt(obj1
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (arg1
)->GetCustomColour(arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 wxColour
* resultptr
;
11287 resultptr
= new wxColour((wxColour
&) result
);
11288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11296 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxColourData
*arg1
= (wxColourData
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "flag", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11309 arg2
= (int) SWIG_AsInt(obj1
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->SetChooseFull(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxColourData
*arg1
= (wxColourData
*) 0 ;
11328 wxColour
*arg2
= 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "colour", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->SetColour((wxColour
const &)*arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxColourData
*arg1
= (wxColourData
*) 0 ;
11361 wxColour
*arg3
= 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 PyObject
* obj2
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "i",(char *) "colour", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 arg2
= (int) SWIG_AsInt(obj1
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11393 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11396 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11398 return Py_BuildValue((char *)"");
11400 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxWindow
*arg1
= (wxWindow
*) 0 ;
11403 wxColourData
*arg2
= (wxColourData
*) NULL
;
11404 wxColourDialog
*result
;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "parent",(char *) "data", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11432 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11435 wxColourData
*result
;
11436 PyObject
* obj0
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11448 result
= (wxColourData
*) &_result_ref
;
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11461 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11464 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11466 return Py_BuildValue((char *)"");
11468 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxWindow
*arg1
= (wxWindow
*) 0 ;
11471 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11472 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11473 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11474 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11475 long arg4
= (long) 0 ;
11476 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11477 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11478 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11479 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11480 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11481 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11482 wxDirDialog
*result
;
11483 bool temp2
= False
;
11484 bool temp3
= False
;
11487 bool temp7
= False
;
11488 PyObject
* obj0
= 0 ;
11489 PyObject
* obj1
= 0 ;
11490 PyObject
* obj2
= 0 ;
11491 PyObject
* obj3
= 0 ;
11492 PyObject
* obj4
= 0 ;
11493 PyObject
* obj5
= 0 ;
11494 PyObject
* obj6
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 arg2
= wxString_in_helper(obj1
);
11505 if (arg2
== NULL
) SWIG_fail
;
11511 arg3
= wxString_in_helper(obj2
);
11512 if (arg3
== NULL
) SWIG_fail
;
11517 arg4
= (long) SWIG_AsLong(obj3
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11523 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11529 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11534 arg7
= wxString_in_helper(obj6
);
11535 if (arg7
== NULL
) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11577 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
;
11579 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (arg1
)->GetPath();
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11609 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (arg1
)->GetMessage();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11641 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (long)(arg1
)->GetStyle();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_FromLong((long)result
);
11667 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11670 wxString
*arg2
= 0 ;
11671 bool temp2
= False
;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "message", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 arg2
= wxString_in_helper(obj1
);
11683 if (arg2
== NULL
) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->SetMessage((wxString
const &)*arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11711 wxString
*arg2
= 0 ;
11712 bool temp2
= False
;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "self",(char *) "path", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11723 arg2
= wxString_in_helper(obj1
);
11724 if (arg2
== NULL
) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 (arg1
)->SetPath((wxString
const &)*arg2
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 Py_INCREF(Py_None
); resultobj
= Py_None
;
11749 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11752 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11754 return Py_BuildValue((char *)"");
11756 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxWindow
*arg1
= (wxWindow
*) 0 ;
11759 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11760 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11765 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11766 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11767 long arg6
= (long) 0 ;
11768 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11769 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11770 wxFileDialog
*result
;
11771 bool temp2
= False
;
11772 bool temp3
= False
;
11773 bool temp4
= False
;
11774 bool temp5
= False
;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 PyObject
* obj3
= 0 ;
11780 PyObject
* obj4
= 0 ;
11781 PyObject
* obj5
= 0 ;
11782 PyObject
* obj6
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11792 arg2
= wxString_in_helper(obj1
);
11793 if (arg2
== NULL
) SWIG_fail
;
11799 arg3
= wxString_in_helper(obj2
);
11800 if (arg3
== NULL
) SWIG_fail
;
11806 arg4
= wxString_in_helper(obj3
);
11807 if (arg4
== NULL
) SWIG_fail
;
11813 arg5
= wxString_in_helper(obj4
);
11814 if (arg5
== NULL
) SWIG_fail
;
11819 arg6
= (long) SWIG_AsLong(obj5
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11825 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11874 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11877 wxString
*arg2
= 0 ;
11878 bool temp2
= False
;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "message", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetMessage((wxString
const &)*arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11918 wxString
*arg2
= 0 ;
11919 bool temp2
= False
;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "path", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= wxString_in_helper(obj1
);
11931 if (arg2
== NULL
) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 (arg1
)->SetPath((wxString
const &)*arg2
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 Py_INCREF(Py_None
); resultobj
= Py_None
;
11956 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11959 wxString
*arg2
= 0 ;
11960 bool temp2
= False
;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "dir", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11971 arg2
= wxString_in_helper(obj1
);
11972 if (arg2
== NULL
) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 Py_INCREF(Py_None
); resultobj
= Py_None
;
11997 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12000 wxString
*arg2
= 0 ;
12001 bool temp2
= False
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "name", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 arg2
= wxString_in_helper(obj1
);
12013 if (arg2
== NULL
) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetFilename((wxString
const &)*arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12038 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12041 wxString
*arg2
= 0 ;
12042 bool temp2
= False
;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "wildCard", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 arg2
= wxString_in_helper(obj1
);
12054 if (arg2
== NULL
) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 Py_INCREF(Py_None
); resultobj
= Py_None
;
12079 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "style", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 arg2
= (long) SWIG_AsLong(obj1
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->SetStyle(arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "filterIndex", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 arg2
= (int) SWIG_AsInt(obj1
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetFilterIndex(arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12169 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12201 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12233 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12265 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12297 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= SWIG_FromLong((long)result
);
12323 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_FromInt((int)result
);
12349 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= result
;
12375 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
;
12401 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12404 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12406 return Py_BuildValue((char *)"");
12408 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxWindow
*arg1
= (wxWindow
*) 0 ;
12411 wxString
*arg2
= 0 ;
12412 wxString
*arg3
= 0 ;
12413 int arg4
= (int) 0 ;
12414 wxString
*arg5
= (wxString
*) 0 ;
12415 long arg6
= (long) wxCHOICEDLG_STYLE
;
12416 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12417 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12418 wxMultiChoiceDialog
*result
;
12419 bool temp2
= False
;
12420 bool temp3
= False
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 PyObject
* obj2
= 0 ;
12425 PyObject
* obj3
= 0 ;
12426 PyObject
* obj4
= 0 ;
12427 PyObject
* obj5
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 arg2
= wxString_in_helper(obj1
);
12437 if (arg2
== NULL
) SWIG_fail
;
12441 arg3
= wxString_in_helper(obj2
);
12442 if (arg3
== NULL
) SWIG_fail
;
12447 arg4
= PyList_Size(obj3
);
12448 arg5
= wxString_LIST_helper(obj3
);
12449 if (arg5
== NULL
) SWIG_fail
;
12453 arg6
= (long) SWIG_AsLong(obj4
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12459 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12479 if (arg5
) delete [] arg5
;
12492 if (arg5
) delete [] arg5
;
12498 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12501 wxArrayInt
*arg2
= 0 ;
12502 bool temp2
= False
;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "selections", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 if (! PySequence_Check(obj1
)) {
12514 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12517 arg2
= new wxArrayInt
;
12519 int i
, len
=PySequence_Length(obj1
);
12520 for (i
=0; i
<len
; i
++) {
12521 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12522 PyObject
* number
= PyNumber_Int(item
);
12523 arg2
->Add(PyInt_AS_LONG(number
));
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 if (temp2
) delete arg2
;
12542 if (temp2
) delete arg2
;
12548 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= result
;
12574 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12577 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12579 return Py_BuildValue((char *)"");
12581 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
;
12583 wxWindow
*arg1
= (wxWindow
*) 0 ;
12584 wxString
*arg2
= 0 ;
12585 wxString
*arg3
= 0 ;
12587 wxString
*arg5
= (wxString
*) 0 ;
12588 long arg6
= (long) wxCHOICEDLG_STYLE
;
12589 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12590 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12591 wxSingleChoiceDialog
*result
;
12592 bool temp2
= False
;
12593 bool temp3
= False
;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 PyObject
* obj3
= 0 ;
12599 PyObject
* obj4
= 0 ;
12600 PyObject
* obj5
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 arg2
= wxString_in_helper(obj1
);
12610 if (arg2
== NULL
) SWIG_fail
;
12614 arg3
= wxString_in_helper(obj2
);
12615 if (arg3
== NULL
) SWIG_fail
;
12619 arg4
= PyList_Size(obj3
);
12620 arg5
= wxString_LIST_helper(obj3
);
12621 if (arg5
== NULL
) SWIG_fail
;
12624 arg6
= (long) SWIG_AsLong(obj4
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12630 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12650 if (arg5
) delete [] arg5
;
12663 if (arg5
) delete [] arg5
;
12669 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (int)(arg1
)->GetSelection();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_FromInt((int)result
);
12695 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (arg1
)->GetStringSelection();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12727 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "sel", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12740 arg2
= (int) SWIG_AsInt(obj1
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->SetSelection(arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12761 return Py_BuildValue((char *)"");
12763 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxWindow
*arg1
= (wxWindow
*) 0 ;
12766 wxString
*arg2
= 0 ;
12767 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12769 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12770 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12771 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12772 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12773 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12774 wxTextEntryDialog
*result
;
12775 bool temp2
= False
;
12776 bool temp3
= False
;
12777 bool temp4
= False
;
12779 PyObject
* obj0
= 0 ;
12780 PyObject
* obj1
= 0 ;
12781 PyObject
* obj2
= 0 ;
12782 PyObject
* obj3
= 0 ;
12783 PyObject
* obj4
= 0 ;
12784 PyObject
* obj5
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12793 arg2
= wxString_in_helper(obj1
);
12794 if (arg2
== NULL
) SWIG_fail
;
12799 arg3
= wxString_in_helper(obj2
);
12800 if (arg3
== NULL
) SWIG_fail
;
12806 arg4
= wxString_in_helper(obj3
);
12807 if (arg4
== NULL
) SWIG_fail
;
12812 arg5
= (long) SWIG_AsLong(obj4
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12818 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12859 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (arg1
)->GetValue();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12891 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12894 wxString
*arg2
= 0 ;
12895 bool temp2
= False
;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self",(char *) "value", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12906 arg2
= wxString_in_helper(obj1
);
12907 if (arg2
== NULL
) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetValue((wxString
const &)*arg2
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12932 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12935 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12937 return Py_BuildValue((char *)"");
12939 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxFontData
*result
;
12942 char *kwnames
[] = {
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxFontData
*)new wxFontData();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12961 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxFontData
*arg1
= (wxFontData
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12986 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxFontData
*arg1
= (wxFontData
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "enable", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 arg2
= (bool) SWIG_AsBool(obj1
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 (arg1
)->EnableEffects(arg2
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxFontData
*arg1
= (wxFontData
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)(arg1
)->GetAllowSymbols();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxFontData
*arg1
= (wxFontData
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (arg1
)->GetColour();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 wxColour
* resultptr
;
13064 resultptr
= new wxColour((wxColour
&) result
);
13065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13073 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxFontData
*arg1
= (wxFontData
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (arg1
)->GetChosenFont();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 wxFont
* resultptr
;
13094 resultptr
= new wxFont((wxFont
&) result
);
13095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13103 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxFontData
*arg1
= (wxFontData
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)(arg1
)->GetEnableEffects();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13131 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxFontData
*arg1
= (wxFontData
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (arg1
)->GetInitialFont();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 wxFont
* resultptr
;
13152 resultptr
= new wxFont((wxFont
&) result
);
13153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13161 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxFontData
*arg1
= (wxFontData
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (bool)(arg1
)->GetShowHelp();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13189 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxFontData
*arg1
= (wxFontData
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "allowSymbols", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13202 arg2
= (bool) SWIG_AsBool(obj1
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 (arg1
)->SetAllowSymbols(arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 Py_INCREF(Py_None
); resultobj
= Py_None
;
13218 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxFontData
*arg1
= (wxFontData
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "font", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13234 if (arg2
== NULL
) {
13235 PyErr_SetString(PyExc_TypeError
,"null reference");
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13252 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxFontData
*arg1
= (wxFontData
*) 0 ;
13255 wxColour
*arg2
= 0 ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "colour", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetColour((wxColour
const &)*arg2
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxFontData
*arg1
= (wxFontData
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "font", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13300 if (arg2
== NULL
) {
13301 PyErr_SetString(PyExc_TypeError
,"null reference");
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxFontData
*arg1
= (wxFontData
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "min",(char *) "max", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 arg2
= (int) SWIG_AsInt(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13335 arg3
= (int) SWIG_AsInt(obj2
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetRange(arg2
,arg3
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxFontData
*arg1
= (wxFontData
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "showHelp", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 arg2
= (bool) SWIG_AsBool(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetShowHelp(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13385 return Py_BuildValue((char *)"");
13387 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxWindow
*arg1
= (wxWindow
*) 0 ;
13390 wxFontData
*arg2
= 0 ;
13391 wxFontDialog
*result
;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "parent",(char *) "data", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13404 if (arg2
== NULL
) {
13405 PyErr_SetString(PyExc_TypeError
,"null reference");
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13422 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13425 wxFontData
*result
;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13438 result
= (wxFontData
*) &_result_ref
;
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13451 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13454 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13456 return Py_BuildValue((char *)"");
13458 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxWindow
*arg1
= (wxWindow
*) 0 ;
13461 wxString
*arg2
= 0 ;
13462 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13464 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13465 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13466 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13467 wxMessageDialog
*result
;
13468 bool temp2
= False
;
13469 bool temp3
= False
;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 PyObject
* obj2
= 0 ;
13474 PyObject
* obj3
= 0 ;
13475 PyObject
* obj4
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 arg2
= wxString_in_helper(obj1
);
13485 if (arg2
== NULL
) SWIG_fail
;
13490 arg3
= wxString_in_helper(obj2
);
13491 if (arg3
== NULL
) SWIG_fail
;
13496 arg4
= (long) SWIG_AsLong(obj3
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13535 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13538 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13540 return Py_BuildValue((char *)"");
13542 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxString
*arg1
= 0 ;
13545 wxString
*arg2
= 0 ;
13546 int arg3
= (int) 100 ;
13547 wxWindow
*arg4
= (wxWindow
*) NULL
;
13548 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13549 wxProgressDialog
*result
;
13550 bool temp1
= False
;
13551 bool temp2
= False
;
13552 PyObject
* obj0
= 0 ;
13553 PyObject
* obj1
= 0 ;
13554 PyObject
* obj2
= 0 ;
13555 PyObject
* obj3
= 0 ;
13556 PyObject
* obj4
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13563 arg1
= wxString_in_helper(obj0
);
13564 if (arg1
== NULL
) SWIG_fail
;
13568 arg2
= wxString_in_helper(obj1
);
13569 if (arg2
== NULL
) SWIG_fail
;
13573 arg3
= (int) SWIG_AsInt(obj2
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13581 arg5
= (int) SWIG_AsInt(obj4
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13614 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13621 bool temp3
= False
;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 PyObject
* obj2
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 arg2
= (int) SWIG_AsInt(obj1
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 arg3
= wxString_in_helper(obj2
);
13637 if (arg3
== NULL
) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13665 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 Py_INCREF(Py_None
); resultobj
= Py_None
;
13690 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13693 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13695 return Py_BuildValue((char *)"");
13697 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13700 int arg2
= (int) 0 ;
13701 wxFindDialogEvent
*result
;
13702 PyObject
* obj0
= 0 ;
13703 PyObject
* obj1
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "commandType",(char *) "id", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 arg2
= (int) SWIG_AsInt(obj1
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13731 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (int)(arg1
)->GetFlags();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_FromInt((int)result
);
13757 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 wxString
const &_result_ref
= (arg1
)->GetFindString();
13773 result
= (wxString
*) &_result_ref
;
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13792 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13808 result
= (wxString
*) &_result_ref
;
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13827 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13830 wxFindReplaceDialog
*result
;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13853 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self",(char *) "flags", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13866 arg2
= (int) SWIG_AsInt(obj1
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->SetFlags(arg2
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 Py_INCREF(Py_None
); resultobj
= Py_None
;
13882 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13885 wxString
*arg2
= 0 ;
13886 bool temp2
= False
;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self",(char *) "str", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 arg2
= wxString_in_helper(obj1
);
13898 if (arg2
== NULL
) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 (arg1
)->SetFindString((wxString
const &)*arg2
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 Py_INCREF(Py_None
); resultobj
= Py_None
;
13923 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13926 wxString
*arg2
= 0 ;
13927 bool temp2
= False
;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "str", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13938 arg2
= wxString_in_helper(obj1
);
13939 if (arg2
== NULL
) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 Py_INCREF(Py_None
); resultobj
= Py_None
;
13964 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13967 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13969 return Py_BuildValue((char *)"");
13971 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 int arg1
= (int) 0 ;
13974 wxFindReplaceData
*result
;
13975 PyObject
* obj0
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "flags", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13982 arg1
= (int) SWIG_AsInt(obj0
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13999 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 Py_INCREF(Py_None
); resultobj
= Py_None
;
14024 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 wxString
const &_result_ref
= (arg1
)->GetFindString();
14040 result
= (wxString
*) &_result_ref
;
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14050 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14059 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14075 result
= (wxString
*) &_result_ref
;
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14094 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (int)(arg1
)->GetFlags();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= SWIG_FromInt((int)result
);
14120 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "flags", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 arg2
= (int) SWIG_AsInt(obj1
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->SetFlags(arg2
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14152 wxString
*arg2
= 0 ;
14153 bool temp2
= False
;
14154 PyObject
* obj0
= 0 ;
14155 PyObject
* obj1
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self",(char *) "str", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14164 arg2
= wxString_in_helper(obj1
);
14165 if (arg2
== NULL
) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 (arg1
)->SetFindString((wxString
const &)*arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14193 wxString
*arg2
= 0 ;
14194 bool temp2
= False
;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "str", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 arg2
= wxString_in_helper(obj1
);
14206 if (arg2
== NULL
) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 Py_INCREF(Py_None
); resultobj
= Py_None
;
14231 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14234 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14236 return Py_BuildValue((char *)"");
14238 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxWindow
*arg1
= (wxWindow
*) 0 ;
14241 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14242 wxString
*arg3
= 0 ;
14243 int arg4
= (int) 0 ;
14244 wxFindReplaceDialog
*result
;
14245 bool temp3
= False
;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 PyObject
* obj3
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 arg3
= wxString_in_helper(obj2
);
14261 if (arg3
== NULL
) SWIG_fail
;
14265 arg4
= (int) SWIG_AsInt(obj3
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14290 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxFindReplaceDialog
*result
;
14293 char *kwnames
[] = {
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14312 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14315 wxWindow
*arg2
= (wxWindow
*) 0 ;
14316 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14317 wxString
*arg4
= 0 ;
14318 int arg5
= (int) 0 ;
14320 bool temp4
= False
;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 PyObject
* obj3
= 0 ;
14325 PyObject
* obj4
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 arg4
= wxString_in_helper(obj3
);
14339 if (arg4
== NULL
) SWIG_fail
;
14343 arg5
= (int) SWIG_AsInt(obj4
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14370 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14373 wxFindReplaceData
*result
;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14396 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14399 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "data", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 (arg1
)->SetData(arg2
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14428 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14430 return Py_BuildValue((char *)"");
14432 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxWindow
*arg1
= (wxWindow
*) 0 ;
14436 wxString
*arg3
= 0 ;
14437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14441 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14442 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14443 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14444 wxMDIParentFrame
*result
;
14445 bool temp3
= False
;
14448 bool temp7
= False
;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 PyObject
* obj2
= 0 ;
14452 PyObject
* obj3
= 0 ;
14453 PyObject
* obj4
= 0 ;
14454 PyObject
* obj5
= 0 ;
14455 PyObject
* obj6
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 arg2
= (int const) SWIG_AsInt(obj1
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 arg3
= wxString_in_helper(obj2
);
14467 if (arg3
== NULL
) SWIG_fail
;
14473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14483 arg6
= (long) SWIG_AsLong(obj5
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14488 arg7
= wxString_in_helper(obj6
);
14489 if (arg7
== NULL
) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14523 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMDIParentFrame
*result
;
14526 char *kwnames
[] = {
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14545 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14548 wxWindow
*arg2
= (wxWindow
*) 0 ;
14550 wxString
*arg4
= 0 ;
14551 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14552 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14553 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14554 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14555 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14556 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14557 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14559 bool temp4
= False
;
14562 bool temp8
= False
;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 PyObject
* obj2
= 0 ;
14566 PyObject
* obj3
= 0 ;
14567 PyObject
* obj4
= 0 ;
14568 PyObject
* obj5
= 0 ;
14569 PyObject
* obj6
= 0 ;
14570 PyObject
* obj7
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14580 arg3
= (int const) SWIG_AsInt(obj2
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 arg4
= wxString_in_helper(obj3
);
14584 if (arg4
== NULL
) SWIG_fail
;
14590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14596 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14600 arg7
= (long) SWIG_AsLong(obj6
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14605 arg8
= wxString_in_helper(obj7
);
14606 if (arg8
== NULL
) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14642 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->ActivateNext();
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->ActivatePrevious();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->ArrangeIcons();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 Py_INCREF(Py_None
); resultobj
= Py_None
;
14742 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14745 wxMDIChildFrame
*result
;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= wxPyMake_wxObject(result
);
14770 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14773 wxMDIClientWindow
*result
;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= wxPyMake_wxObject(result
);
14798 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (wxWindow
*)(arg1
)->GetToolBar();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= wxPyMake_wxObject(result
);
14826 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14854 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14856 return Py_BuildValue((char *)"");
14858 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14862 wxString
*arg3
= 0 ;
14863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14865 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14866 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14867 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14868 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14869 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14870 wxMDIChildFrame
*result
;
14871 bool temp3
= False
;
14874 bool temp7
= False
;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 PyObject
* obj2
= 0 ;
14878 PyObject
* obj3
= 0 ;
14879 PyObject
* obj4
= 0 ;
14880 PyObject
* obj5
= 0 ;
14881 PyObject
* obj6
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 arg2
= (int const) SWIG_AsInt(obj1
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 arg3
= wxString_in_helper(obj2
);
14893 if (arg3
== NULL
) SWIG_fail
;
14899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14909 arg6
= (long) SWIG_AsLong(obj5
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14914 arg7
= wxString_in_helper(obj6
);
14915 if (arg7
== NULL
) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= wxPyMake_wxObject(result
);
14951 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxMDIChildFrame
*result
;
14954 char *kwnames
[] = {
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= wxPyMake_wxObject(result
);
14975 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14978 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14980 wxString
*arg4
= 0 ;
14981 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14982 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14983 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14984 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14985 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14986 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14987 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14989 bool temp4
= False
;
14992 bool temp8
= False
;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 PyObject
* obj2
= 0 ;
14996 PyObject
* obj3
= 0 ;
14997 PyObject
* obj4
= 0 ;
14998 PyObject
* obj5
= 0 ;
14999 PyObject
* obj6
= 0 ;
15000 PyObject
* obj7
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 arg3
= (int const) SWIG_AsInt(obj2
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 arg4
= wxString_in_helper(obj3
);
15014 if (arg4
== NULL
) SWIG_fail
;
15020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15030 arg7
= (long) SWIG_AsLong(obj6
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15035 arg8
= wxString_in_helper(obj7
);
15036 if (arg8
== NULL
) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->Activate();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 Py_INCREF(Py_None
); resultobj
= Py_None
;
15097 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "maximize", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 arg2
= (bool) SWIG_AsBool(obj1
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->Maximize(arg2
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 Py_INCREF(Py_None
); resultobj
= Py_None
;
15126 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15154 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15156 return Py_BuildValue((char *)"");
15158 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15161 long arg2
= (long) 0 ;
15162 wxMDIClientWindow
*result
;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "parent",(char *) "style", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 arg2
= (long) SWIG_AsLong(obj1
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= wxPyMake_wxObject(result
);
15192 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMDIClientWindow
*result
;
15195 char *kwnames
[] = {
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= wxPyMake_wxObject(result
);
15216 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15219 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15220 long arg3
= (long) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 PyObject
* obj2
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "parent",(char *) "style", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg3
= (long) SWIG_AsLong(obj2
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15254 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15257 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15259 return Py_BuildValue((char *)"");
15261 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxWindow
*arg1
= (wxWindow
*) 0 ;
15265 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15266 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15267 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15268 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15269 long arg5
= (long) 0 ;
15270 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15271 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15272 wxPyWindow
*result
;
15275 bool temp6
= False
;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 PyObject
* obj2
= 0 ;
15279 PyObject
* obj3
= 0 ;
15280 PyObject
* obj4
= 0 ;
15281 PyObject
* obj5
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 arg2
= (int const) SWIG_AsInt(obj1
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15304 arg5
= (long) SWIG_AsLong(obj4
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15309 arg6
= wxString_in_helper(obj5
);
15310 if (arg6
== NULL
) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15336 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxPyWindow
*result
;
15339 char *kwnames
[] = {
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxPyWindow
*)new wxPyWindow();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15358 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15361 PyObject
*arg2
= (PyObject
*) 0 ;
15362 PyObject
*arg3
= (PyObject
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self",(char *) "self",(char *) "_class", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 PyObject
* obj2
= 0 ;
15399 PyObject
* obj3
= 0 ;
15400 PyObject
* obj4
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 arg2
= (int) SWIG_AsInt(obj1
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15410 arg3
= (int) SWIG_AsInt(obj2
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15412 arg4
= (int) SWIG_AsInt(obj3
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15414 arg5
= (int) SWIG_AsInt(obj4
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15437 int arg6
= (int) wxSIZE_AUTO
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 PyObject
* obj2
= 0 ;
15441 PyObject
* obj3
= 0 ;
15442 PyObject
* obj4
= 0 ;
15443 PyObject
* obj5
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 arg2
= (int) SWIG_AsInt(obj1
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15453 arg3
= (int) SWIG_AsInt(obj2
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15455 arg4
= (int) SWIG_AsInt(obj3
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15457 arg5
= (int) SWIG_AsInt(obj4
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 arg6
= (int) SWIG_AsInt(obj5
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self",(char *) "width",(char *) "height", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 arg2
= (int) SWIG_AsInt(obj1
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15494 arg3
= (int) SWIG_AsInt(obj2
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 PyObject
* obj2
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self",(char *) "x",(char *) "y", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 arg2
= (int) SWIG_AsInt(obj1
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15527 arg3
= (int) SWIG_AsInt(obj2
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15546 int *arg2
= (int *) 0 ;
15547 int *arg3
= (int *) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 Py_INCREF(Py_None
); resultobj
= Py_None
;
15569 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15570 resultobj
= t_output_helper(resultobj
,o
);
15573 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15574 resultobj
= t_output_helper(resultobj
,o
);
15582 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15585 int *arg2
= (int *) 0 ;
15586 int *arg3
= (int *) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 Py_INCREF(Py_None
); resultobj
= Py_None
;
15608 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15609 resultobj
= t_output_helper(resultobj
,o
);
15612 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15613 resultobj
= t_output_helper(resultobj
,o
);
15621 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15624 int *arg2
= (int *) 0 ;
15625 int *arg3
= (int *) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 Py_INCREF(Py_None
); resultobj
= Py_None
;
15647 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15648 resultobj
= t_output_helper(resultobj
,o
);
15651 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15652 resultobj
= t_output_helper(resultobj
,o
);
15660 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 wxSize
* resultptr
;
15681 resultptr
= new wxSize((wxSize
&) result
);
15682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15690 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 wxSize
* resultptr
;
15711 resultptr
= new wxSize((wxSize
&) result
);
15712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15720 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->base_InitDialog();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (bool)(arg1
)->base_TransferDataToWindow();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (bool)(arg1
)->base_Validate();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15829 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15857 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15905 wxSize
* resultptr
;
15906 resultptr
= new wxSize((wxSize
&) result
);
15907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15915 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15918 wxWindow
*arg2
= (wxWindow
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self",(char *) "child", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->base_AddChild(arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15944 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15947 wxWindow
*arg2
= (wxWindow
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "child", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 (arg1
)->base_RemoveChild(arg2
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 Py_INCREF(Py_None
); resultobj
= Py_None
;
15973 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (bool)(arg1
)->base_ShouldInheritColours();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16001 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16004 wxColour
*arg2
= 0 ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self",(char *) "c", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 Py_INCREF(Py_None
); resultobj
= Py_None
;
16033 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16038 return Py_BuildValue((char *)"");
16040 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxWindow
*arg1
= (wxWindow
*) 0 ;
16044 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16045 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16046 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16047 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16048 long arg5
= (long) 0 ;
16049 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16054 bool temp6
= False
;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 PyObject
* obj2
= 0 ;
16058 PyObject
* obj3
= 0 ;
16059 PyObject
* obj4
= 0 ;
16060 PyObject
* obj5
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= (int const) SWIG_AsInt(obj1
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16073 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16079 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16083 arg5
= (long) SWIG_AsLong(obj4
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16088 arg6
= wxString_in_helper(obj5
);
16089 if (arg6
== NULL
) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16115 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16118 char *kwnames
[] = {
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (wxPyPanel
*)new wxPyPanel();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16137 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16140 PyObject
*arg2
= (PyObject
*) 0 ;
16141 PyObject
*arg3
= (PyObject
*) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "self",(char *) "_class", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 Py_INCREF(Py_None
); resultobj
= Py_None
;
16168 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 PyObject
* obj1
= 0 ;
16177 PyObject
* obj2
= 0 ;
16178 PyObject
* obj3
= 0 ;
16179 PyObject
* obj4
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 arg2
= (int) SWIG_AsInt(obj1
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16189 arg3
= (int) SWIG_AsInt(obj2
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16191 arg4
= (int) SWIG_AsInt(obj3
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16193 arg5
= (int) SWIG_AsInt(obj4
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16209 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16216 int arg6
= (int) wxSIZE_AUTO
;
16217 PyObject
* obj0
= 0 ;
16218 PyObject
* obj1
= 0 ;
16219 PyObject
* obj2
= 0 ;
16220 PyObject
* obj3
= 0 ;
16221 PyObject
* obj4
= 0 ;
16222 PyObject
* obj5
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 arg2
= (int) SWIG_AsInt(obj1
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16232 arg3
= (int) SWIG_AsInt(obj2
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16234 arg4
= (int) SWIG_AsInt(obj3
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16236 arg5
= (int) SWIG_AsInt(obj4
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 arg6
= (int) SWIG_AsInt(obj5
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 Py_INCREF(Py_None
); resultobj
= Py_None
;
16256 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 PyObject
* obj2
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "width",(char *) "height", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 arg2
= (int) SWIG_AsInt(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16273 arg3
= (int) SWIG_AsInt(obj2
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 Py_INCREF(Py_None
); resultobj
= Py_None
;
16289 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self",(char *) "x",(char *) "y", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (int) SWIG_AsInt(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16306 arg3
= (int) SWIG_AsInt(obj2
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 Py_INCREF(Py_None
); resultobj
= Py_None
;
16322 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16325 int *arg2
= (int *) 0 ;
16326 int *arg3
= (int *) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16349 resultobj
= t_output_helper(resultobj
,o
);
16352 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16353 resultobj
= t_output_helper(resultobj
,o
);
16361 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16364 int *arg2
= (int *) 0 ;
16365 int *arg3
= (int *) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16388 resultobj
= t_output_helper(resultobj
,o
);
16391 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16392 resultobj
= t_output_helper(resultobj
,o
);
16400 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16403 int *arg2
= (int *) 0 ;
16404 int *arg3
= (int *) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16427 resultobj
= t_output_helper(resultobj
,o
);
16430 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16431 resultobj
= t_output_helper(resultobj
,o
);
16439 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16459 wxSize
* resultptr
;
16460 resultptr
= new wxSize((wxSize
&) result
);
16461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16469 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 wxSize
* resultptr
;
16490 resultptr
= new wxSize((wxSize
&) result
);
16491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16499 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 (arg1
)->base_InitDialog();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (bool)(arg1
)->base_TransferDataToWindow();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16552 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16580 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (bool)(arg1
)->base_Validate();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16608 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16612 PyObject
* obj0
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16636 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",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 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16664 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16684 wxSize
* resultptr
;
16685 resultptr
= new wxSize((wxSize
&) result
);
16686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16694 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16697 wxWindow
*arg2
= (wxWindow
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "child", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->base_AddChild(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16726 wxWindow
*arg2
= (wxWindow
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self",(char *) "child", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 (arg1
)->base_RemoveChild(arg2
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 Py_INCREF(Py_None
); resultobj
= Py_None
;
16752 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (bool)(arg1
)->base_ShouldInheritColours();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16780 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16783 wxColour
*arg2
= 0 ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self",(char *) "c", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16796 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16815 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16817 return Py_BuildValue((char *)"");
16819 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxWindow
*arg1
= (wxWindow
*) 0 ;
16823 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16824 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16825 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16826 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16827 long arg5
= (long) 0 ;
16828 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16829 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16830 wxPyScrolledWindow
*result
;
16833 bool temp6
= False
;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 PyObject
* obj3
= 0 ;
16838 PyObject
* obj4
= 0 ;
16839 PyObject
* obj5
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16847 arg2
= (int const) SWIG_AsInt(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16852 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16858 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16862 arg5
= (long) SWIG_AsLong(obj4
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16867 arg6
= wxString_in_helper(obj5
);
16868 if (arg6
== NULL
) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16894 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxPyScrolledWindow
*result
;
16897 char *kwnames
[] = {
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16916 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16919 PyObject
*arg2
= (PyObject
*) 0 ;
16920 PyObject
*arg3
= (PyObject
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "self",(char *) "_class", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 Py_INCREF(Py_None
); resultobj
= Py_None
;
16947 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 PyObject
* obj3
= 0 ;
16958 PyObject
* obj4
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 arg2
= (int) SWIG_AsInt(obj1
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16968 arg3
= (int) SWIG_AsInt(obj2
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16970 arg4
= (int) SWIG_AsInt(obj3
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16972 arg5
= (int) SWIG_AsInt(obj4
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 Py_INCREF(Py_None
); resultobj
= Py_None
;
16988 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16995 int arg6
= (int) wxSIZE_AUTO
;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 PyObject
* obj3
= 0 ;
17000 PyObject
* obj4
= 0 ;
17001 PyObject
* obj5
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 arg2
= (int) SWIG_AsInt(obj1
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17011 arg3
= (int) SWIG_AsInt(obj2
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17013 arg4
= (int) SWIG_AsInt(obj3
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17015 arg5
= (int) SWIG_AsInt(obj4
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 arg6
= (int) SWIG_AsInt(obj5
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 PyObject
* obj2
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "width",(char *) "height", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 arg2
= (int) SWIG_AsInt(obj1
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17052 arg3
= (int) SWIG_AsInt(obj2
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17068 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "x",(char *) "y", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 arg2
= (int) SWIG_AsInt(obj1
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17085 arg3
= (int) SWIG_AsInt(obj2
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 Py_INCREF(Py_None
); resultobj
= Py_None
;
17101 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17104 int *arg2
= (int *) 0 ;
17105 int *arg3
= (int *) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17128 resultobj
= t_output_helper(resultobj
,o
);
17131 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17132 resultobj
= t_output_helper(resultobj
,o
);
17140 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17143 int *arg2
= (int *) 0 ;
17144 int *arg3
= (int *) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 Py_INCREF(Py_None
); resultobj
= Py_None
;
17166 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17167 resultobj
= t_output_helper(resultobj
,o
);
17170 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17171 resultobj
= t_output_helper(resultobj
,o
);
17179 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17182 int *arg2
= (int *) 0 ;
17183 int *arg3
= (int *) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17206 resultobj
= t_output_helper(resultobj
,o
);
17209 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17210 resultobj
= t_output_helper(resultobj
,o
);
17218 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 wxSize
* resultptr
;
17239 resultptr
= new wxSize((wxSize
&) result
);
17240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17248 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 wxSize
* resultptr
;
17269 resultptr
= new wxSize((wxSize
&) result
);
17270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17278 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 (arg1
)->base_InitDialog();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (bool)(arg1
)->base_TransferDataToWindow();
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17331 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17359 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (bool)(arg1
)->base_Validate();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17387 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17415 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17443 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 wxSize
* resultptr
;
17464 resultptr
= new wxSize((wxSize
&) result
);
17465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17473 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17476 wxWindow
*arg2
= (wxWindow
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "child", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->base_AddChild(arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17505 wxWindow
*arg2
= (wxWindow
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "child", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 (arg1
)->base_RemoveChild(arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 Py_INCREF(Py_None
); resultobj
= Py_None
;
17531 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (bool)(arg1
)->base_ShouldInheritColours();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17562 wxColour
*arg2
= 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "c", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17594 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17596 return Py_BuildValue((char *)"");
17598 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17599 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17604 static PyObject
*_wrap_PrintoutTitleStr_get() {
17609 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17611 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17618 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17619 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17624 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17629 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17631 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17638 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxPrintData
*result
;
17641 char *kwnames
[] = {
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxPrintData
*)new wxPrintData();
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17660 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 Py_INCREF(Py_None
); resultobj
= Py_None
;
17685 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (int)(arg1
)->GetNoCopies();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_FromInt((int)result
);
17711 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)(arg1
)->GetCollate();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (int)(arg1
)->GetOrientation();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_FromInt((int)result
);
17765 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (bool)(arg1
)->Ok();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17793 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17809 result
= (wxString
*) &_result_ref
;
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17828 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (bool)(arg1
)->GetColour();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17856 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (int)(arg1
)->GetDuplex();
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_FromInt((int)result
);
17882 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (int)(arg1
)->GetPaperId();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_FromInt((int)result
);
17908 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17924 result
= (wxSize
*) &_result_ref
;
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17937 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (int)(arg1
)->GetQuality();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= SWIG_FromInt((int)result
);
17963 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self",(char *) "v", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 arg2
= (int) SWIG_AsInt(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->SetNoCopies(arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "flag", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 arg2
= (bool) SWIG_AsBool(obj1
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->SetCollate(arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18021 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "orient", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (int) SWIG_AsInt(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->SetOrientation(arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18053 wxString
*arg2
= 0 ;
18054 bool temp2
= False
;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "name", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= wxString_in_helper(obj1
);
18066 if (arg2
== NULL
) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "colour", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 arg2
= (bool) SWIG_AsBool(obj1
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetColour(arg2
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 Py_INCREF(Py_None
); resultobj
= Py_None
;
18120 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self",(char *) "duplex", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "sizeId", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "sz", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18210 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "quality", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18223 arg2
= (int) SWIG_AsInt(obj1
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->SetQuality(arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18255 result
= (wxString
*) &_result_ref
;
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18274 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18290 result
= (wxString
*) &_result_ref
;
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18300 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18309 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18325 result
= (wxString
*) &_result_ref
;
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18344 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 wxString
const &_result_ref
= (arg1
)->GetFilename();
18360 result
= (wxString
*) &_result_ref
;
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18370 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18379 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18395 result
= (wxString
*) &_result_ref
;
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18405 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18414 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (double)(arg1
)->GetPrinterScaleX();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_FromDouble((double)result
);
18440 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (double)(arg1
)->GetPrinterScaleY();
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_FromDouble((double)result
);
18466 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (long)(arg1
)->GetPrinterTranslateX();
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_FromLong((long)result
);
18492 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (long)(arg1
)->GetPrinterTranslateY();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_FromLong((long)result
);
18518 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)(arg1
)->GetPrintMode();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_FromInt((int)result
);
18544 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18547 wxString
*arg2
= 0 ;
18548 bool temp2
= False
;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "command", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= wxString_in_helper(obj1
);
18560 if (arg2
== NULL
) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18588 wxString
*arg2
= 0 ;
18589 bool temp2
= False
;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "options", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 arg2
= wxString_in_helper(obj1
);
18601 if (arg2
== NULL
) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18629 wxString
*arg2
= 0 ;
18630 bool temp2
= False
;
18631 PyObject
* obj0
= 0 ;
18632 PyObject
* obj1
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self",(char *) "command", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 arg2
= wxString_in_helper(obj1
);
18642 if (arg2
== NULL
) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 Py_INCREF(Py_None
); resultobj
= Py_None
;
18667 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
;
18669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18670 wxString
*arg2
= 0 ;
18671 bool temp2
= False
;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "filename", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 arg2
= wxString_in_helper(obj1
);
18683 if (arg2
== NULL
) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->SetFilename((wxString
const &)*arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18711 wxString
*arg2
= 0 ;
18712 bool temp2
= False
;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "path", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 arg2
= wxString_in_helper(obj1
);
18724 if (arg2
== NULL
) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 Py_INCREF(Py_None
); resultobj
= Py_None
;
18749 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "x", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 arg2
= (double) SWIG_AsDouble(obj1
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetPrinterScaleX(arg2
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "y", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 arg2
= (double) SWIG_AsDouble(obj1
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 (arg1
)->SetPrinterScaleY(arg2
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 Py_INCREF(Py_None
); resultobj
= Py_None
;
18807 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 PyObject
* obj2
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "x",(char *) "y", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 arg2
= (double) SWIG_AsDouble(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18824 arg3
= (double) SWIG_AsDouble(obj2
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 Py_INCREF(Py_None
); resultobj
= Py_None
;
18840 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "x", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 arg2
= (long) SWIG_AsLong(obj1
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->SetPrinterTranslateX(arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18869 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
;
18871 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self",(char *) "y", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 arg2
= (long) SWIG_AsLong(obj1
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 (arg1
)->SetPrinterTranslateY(arg2
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 Py_INCREF(Py_None
); resultobj
= Py_None
;
18898 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 PyObject
* obj2
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "x",(char *) "y", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 arg2
= (long) SWIG_AsLong(obj1
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18915 arg3
= (long) SWIG_AsLong(obj2
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "printMode", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18963 wxOutputStream
*result
;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18986 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18989 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "outputstream", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetOutputStream(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19018 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19020 return Py_BuildValue((char *)"");
19022 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPageSetupDialogData
*result
;
19025 char *kwnames
[] = {
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19044 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self",(char *) "flag", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= (bool) SWIG_AsBool(obj1
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->EnableHelp(arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 Py_INCREF(Py_None
); resultobj
= Py_None
;
19098 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "flag", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 arg2
= (bool) SWIG_AsBool(obj1
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->EnableMargins(arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self",(char *) "flag", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 arg2
= (bool) SWIG_AsBool(obj1
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->EnableOrientation(arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "flag", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 arg2
= (bool) SWIG_AsBool(obj1
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->EnablePaper(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self",(char *) "flag", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= (bool) SWIG_AsBool(obj1
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->EnablePrinter(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (bool)(arg1
)->GetDefaultMinMargins();
19230 wxPyEndAllowThreads(__tstate
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19242 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19246 PyObject
* obj0
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (bool)(arg1
)->GetEnableMargins();
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19270 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 result
= (bool)(arg1
)->GetEnableOrientation();
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19298 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (bool)(arg1
)->GetEnablePaper();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19326 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (bool)(arg1
)->GetEnablePrinter();
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19354 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (bool)(arg1
)->GetEnableHelp();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19382 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (bool)(arg1
)->GetDefaultInfo();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19410 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (arg1
)->GetMarginTopLeft();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 wxPoint
* resultptr
;
19431 resultptr
= new wxPoint((wxPoint
&) result
);
19432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19440 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= (arg1
)->GetMarginBottomRight();
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19460 wxPoint
* resultptr
;
19461 resultptr
= new wxPoint((wxPoint
&) result
);
19462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19470 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (arg1
)->GetMinMarginTopLeft();
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19490 wxPoint
* resultptr
;
19491 resultptr
= new wxPoint((wxPoint
&) result
);
19492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19500 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (arg1
)->GetMinMarginBottomRight();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 wxPoint
* resultptr
;
19521 resultptr
= new wxPoint((wxPoint
&) result
);
19522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19530 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (int)(arg1
)->GetPaperId();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_FromInt((int)result
);
19556 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= (arg1
)->GetPaperSize();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 wxSize
* resultptr
;
19577 resultptr
= new wxSize((wxSize
&) result
);
19578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19586 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19589 wxPrintData
*result
;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19602 result
= (wxPrintData
*) &_result_ref
;
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19615 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)(arg1
)->Ok();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19643 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self",(char *) "flag", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 arg2
= (bool) SWIG_AsBool(obj1
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->SetDefaultInfo(arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 Py_INCREF(Py_None
); resultobj
= Py_None
;
19672 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self",(char *) "flag", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 arg2
= (bool) SWIG_AsBool(obj1
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->SetDefaultMinMargins(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19704 wxPoint
*arg2
= 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "pt", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 Py_INCREF(Py_None
); resultobj
= Py_None
;
19733 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19736 wxPoint
*arg2
= 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "pt", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19768 wxPoint
*arg2
= 0 ;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self",(char *) "pt", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 Py_INCREF(Py_None
); resultobj
= Py_None
;
19797 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19800 wxPoint
*arg2
= 0 ;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self",(char *) "pt", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19829 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "id", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self",(char *) "size", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19890 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19893 wxPrintData
*arg2
= 0 ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self",(char *) "printData", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19906 if (arg2
== NULL
) {
19907 PyErr_SetString(PyExc_TypeError
,"null reference");
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 Py_INCREF(Py_None
); resultobj
= Py_None
;
19924 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19927 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19929 return Py_BuildValue((char *)"");
19931 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxWindow
*arg1
= (wxWindow
*) 0 ;
19934 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19935 wxPageSetupDialog
*result
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "parent",(char *) "data", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19963 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19966 wxPageSetupDialogData
*result
;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19979 result
= (wxPageSetupDialogData
*) &_result_ref
;
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19992 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (int)(arg1
)->ShowModal();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_FromInt((int)result
);
20018 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20021 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20023 return Py_BuildValue((char *)"");
20025 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20026 PyObject
*resultobj
;
20027 wxPrintDialogData
*result
;
20029 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20044 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20045 PyObject
*resultobj
;
20046 wxPrintData
*arg1
= 0 ;
20047 wxPrintDialogData
*result
;
20048 PyObject
* obj0
= 0 ;
20050 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20054 if (arg1
== NULL
) {
20055 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20072 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20077 argc
= PyObject_Length(args
);
20078 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20079 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20082 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20088 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20096 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20100 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20105 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 Py_INCREF(Py_None
); resultobj
= Py_None
;
20130 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_FromInt((int)result
);
20156 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_FromInt((int)result
);
20182 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_FromInt((int)result
);
20208 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_FromInt((int)result
);
20234 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_FromInt((int)result
);
20260 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20316 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20344 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "v", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 arg2
= (int) SWIG_AsInt(obj1
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetFromPage(arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "v", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 arg2
= (int) SWIG_AsInt(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->SetToPage(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "v", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20471 arg2
= (int) SWIG_AsInt(obj1
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->SetMinPage(arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "v", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 arg2
= (int) SWIG_AsInt(obj1
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 (arg1
)->SetMaxPage(arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 Py_INCREF(Py_None
); resultobj
= Py_None
;
20516 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "v", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20529 arg2
= (int) SWIG_AsInt(obj1
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 (arg1
)->SetNoCopies(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 Py_INCREF(Py_None
); resultobj
= Py_None
;
20545 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "flag", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 arg2
= (bool) SWIG_AsBool(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 (arg1
)->SetAllPages(arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 Py_INCREF(Py_None
); resultobj
= Py_None
;
20574 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "flag", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (bool) SWIG_AsBool(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetSelection(arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 Py_INCREF(Py_None
); resultobj
= Py_None
;
20603 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "flag", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 arg2
= (bool) SWIG_AsBool(obj1
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 (arg1
)->SetCollate(arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 Py_INCREF(Py_None
); resultobj
= Py_None
;
20632 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self",(char *) "flag", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 arg2
= (bool) SWIG_AsBool(obj1
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetPrintToFile(arg2
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self",(char *) "flag", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 arg2
= (bool) SWIG_AsBool(obj1
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->SetSetupDialog(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "flag", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 arg2
= (bool) SWIG_AsBool(obj1
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->EnablePrintToFile(arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 Py_INCREF(Py_None
); resultobj
= Py_None
;
20719 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self",(char *) "flag", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 arg2
= (bool) SWIG_AsBool(obj1
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->EnableSelection(arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self",(char *) "flag", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 arg2
= (bool) SWIG_AsBool(obj1
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 (arg1
)->EnablePageNumbers(arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "self",(char *) "flag", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 arg2
= (bool) SWIG_AsBool(obj1
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->EnableHelp(arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 Py_INCREF(Py_None
); resultobj
= Py_None
;
20806 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20834 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20862 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20866 PyObject
* obj0
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20890 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20918 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20946 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20949 wxPrintData
*result
;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20962 result
= (wxPrintData
*) &_result_ref
;
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20975 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20978 wxPrintData
*arg2
= 0 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "printData", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20991 if (arg2
== NULL
) {
20992 PyErr_SetString(PyExc_TypeError
,"null reference");
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 Py_INCREF(Py_None
); resultobj
= Py_None
;
21009 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21012 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21014 return Py_BuildValue((char *)"");
21016 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxWindow
*arg1
= (wxWindow
*) 0 ;
21019 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21020 wxPrintDialog
*result
;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "parent",(char *) "data", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21048 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21051 wxPrintDialogData
*result
;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21064 result
= (wxPrintDialogData
*) &_result_ref
;
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21077 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (wxDC
*)(arg1
)->GetPrintDC();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= wxPyMake_wxObject(result
);
21105 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (int)(arg1
)->ShowModal();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_FromInt((int)result
);
21131 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21134 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21136 return Py_BuildValue((char *)"");
21138 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "data", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (wxPrinter
*)new wxPrinter(arg1
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21166 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21169 PyObject
* obj0
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "self", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 Py_INCREF(Py_None
); resultobj
= Py_None
;
21191 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21194 wxWindow
*arg2
= (wxWindow
*) 0 ;
21195 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "parent",(char *) "printout", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21227 wxPrintDialogData
*result
;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21240 result
= (wxPrintDialogData
*) &_result_ref
;
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21253 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21256 wxWindow
*arg2
= (wxWindow
*) 0 ;
21257 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21258 int arg4
= (int) True
;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 PyObject
* obj2
= 0 ;
21263 PyObject
* obj3
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21273 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 arg4
= (int) SWIG_AsInt(obj3
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21295 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21298 wxWindow
*arg2
= (wxWindow
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self",(char *) "parent", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= wxPyMake_wxObject(result
);
21327 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21330 wxWindow
*arg2
= (wxWindow
*) 0 ;
21331 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21332 wxString
*arg4
= 0 ;
21333 bool temp4
= False
;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 PyObject
* obj2
= 0 ;
21337 PyObject
* obj3
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21347 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 arg4
= wxString_in_helper(obj3
);
21351 if (arg4
== NULL
) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 Py_INCREF(Py_None
); resultobj
= Py_None
;
21376 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21378 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21379 wxWindow
*arg2
= (wxWindow
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "parent", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)(arg1
)->Setup(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21408 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (bool)(arg1
)->GetAbort();
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21436 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21439 char *kwnames
[] = {
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (int)wxPrinter::GetLastError();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_FromInt((int)result
);
21458 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21461 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21463 return Py_BuildValue((char *)"");
21465 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21468 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21469 wxPyPrintout
*result
;
21470 bool temp1
= False
;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "title", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21479 arg1
= wxString_in_helper(obj0
);
21480 if (arg1
== NULL
) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= wxPyMake_wxObject(result
);
21508 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21511 PyObject
*arg2
= (PyObject
*) 0 ;
21512 PyObject
*arg3
= (PyObject
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "self",(char *) "_class", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 Py_INCREF(Py_None
); resultobj
= Py_None
;
21539 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21571 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxDC
*)(arg1
)->GetDC();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= wxPyMake_wxObject(result
);
21599 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21602 wxDC
*arg2
= (wxDC
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "dc", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->SetDC(arg2
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 PyObject
* obj1
= 0 ;
21635 PyObject
* obj2
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "w",(char *) "h", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 arg2
= (int) SWIG_AsInt(obj1
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21645 arg3
= (int) SWIG_AsInt(obj2
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21664 int *arg2
= (int *) 0 ;
21665 int *arg3
= (int *) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 Py_INCREF(Py_None
); resultobj
= Py_None
;
21687 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21688 resultobj
= t_output_helper(resultobj
,o
);
21691 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21692 resultobj
= t_output_helper(resultobj
,o
);
21700 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 PyObject
* obj2
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "w",(char *) "h", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 arg2
= (int) SWIG_AsInt(obj1
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21717 arg3
= (int) SWIG_AsInt(obj2
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21736 int *arg2
= (int *) 0 ;
21737 int *arg3
= (int *) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 Py_INCREF(Py_None
); resultobj
= Py_None
;
21759 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21760 resultobj
= t_output_helper(resultobj
,o
);
21763 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21764 resultobj
= t_output_helper(resultobj
,o
);
21772 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "x",(char *) "y", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21787 arg2
= (int) SWIG_AsInt(obj1
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21789 arg3
= (int) SWIG_AsInt(obj2
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 (arg1
)->SetPPIScreen(arg2
,arg3
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21805 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21808 int *arg2
= (int *) 0 ;
21809 int *arg3
= (int *) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->GetPPIScreen(arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21831 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21832 resultobj
= t_output_helper(resultobj
,o
);
21835 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21836 resultobj
= t_output_helper(resultobj
,o
);
21844 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 PyObject
* obj2
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "x",(char *) "y", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 arg2
= (int) SWIG_AsInt(obj1
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21861 arg3
= (int) SWIG_AsInt(obj2
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21880 int *arg2
= (int *) 0 ;
21881 int *arg3
= (int *) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21904 resultobj
= t_output_helper(resultobj
,o
);
21907 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21908 resultobj
= t_output_helper(resultobj
,o
);
21916 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)(arg1
)->IsPreview();
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21944 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "p", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 arg2
= (bool) SWIG_AsBool(obj1
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->SetIsPreview(arg2
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21973 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (int) SWIG_AsInt(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21991 arg3
= (int) SWIG_AsInt(obj2
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22009 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->base_OnEndDocument();
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 Py_INCREF(Py_None
); resultobj
= Py_None
;
22034 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->base_OnBeginPrinting();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22059 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22062 PyObject
* obj0
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->base_OnEndPrinting();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->base_OnPreparePrinting();
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "page", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22123 arg2
= (int) SWIG_AsInt(obj1
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (bool)(arg1
)->base_HasPage(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22141 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22144 int *arg2
= (int *) 0 ;
22145 int *arg3
= (int *) 0 ;
22146 int *arg4
= (int *) 0 ;
22147 int *arg5
= (int *) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22174 resultobj
= t_output_helper(resultobj
,o
);
22177 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22178 resultobj
= t_output_helper(resultobj
,o
);
22181 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22182 resultobj
= t_output_helper(resultobj
,o
);
22185 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22186 resultobj
= t_output_helper(resultobj
,o
);
22194 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22197 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22199 return Py_BuildValue((char *)"");
22201 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22204 wxWindow
*arg2
= (wxWindow
*) 0 ;
22205 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22206 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22207 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22208 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22209 long arg5
= (long) 0 ;
22210 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22211 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22212 wxPreviewCanvas
*result
;
22215 bool temp6
= False
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 PyObject
* obj3
= 0 ;
22220 PyObject
* obj4
= 0 ;
22221 PyObject
* obj5
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22244 arg5
= (long) SWIG_AsLong(obj4
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22249 arg6
= wxString_in_helper(obj5
);
22250 if (arg6
== NULL
) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22276 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22279 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22281 return Py_BuildValue((char *)"");
22283 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
;
22285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22286 wxFrame
*arg2
= (wxFrame
*) 0 ;
22287 wxString
*arg3
= 0 ;
22288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22292 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22293 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22295 wxPreviewFrame
*result
;
22296 bool temp3
= False
;
22299 bool temp7
= False
;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 PyObject
* obj2
= 0 ;
22303 PyObject
* obj3
= 0 ;
22304 PyObject
* obj4
= 0 ;
22305 PyObject
* obj5
= 0 ;
22306 PyObject
* obj6
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 arg3
= wxString_in_helper(obj2
);
22318 if (arg3
== NULL
) SWIG_fail
;
22324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22334 arg6
= (long) SWIG_AsLong(obj5
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22339 arg7
= wxString_in_helper(obj6
);
22340 if (arg7
== NULL
) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22374 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->Initialize();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22399 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 (arg1
)->CreateControlBar();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->CreateCanvas();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22452 wxPreviewControlBar
*result
;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22475 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22478 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22480 return Py_BuildValue((char *)"");
22482 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22486 wxWindow
*arg3
= (wxWindow
*) 0 ;
22487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22491 long arg6
= (long) wxTAB_TRAVERSAL
;
22492 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22494 wxPreviewControlBar
*result
;
22497 bool temp7
= False
;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 PyObject
* obj2
= 0 ;
22501 PyObject
* obj3
= 0 ;
22502 PyObject
* obj4
= 0 ;
22503 PyObject
* obj5
= 0 ;
22504 PyObject
* obj6
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 arg2
= (long) SWIG_AsLong(obj1
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22514 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22529 arg6
= (long) SWIG_AsLong(obj5
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22534 arg7
= wxString_in_helper(obj6
);
22535 if (arg7
== NULL
) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22561 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (int)(arg1
)->GetZoomControl();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_FromInt((int)result
);
22587 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "zoom", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 arg2
= (int) SWIG_AsInt(obj1
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetZoomControl(arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22619 wxPrintPreview
*result
;
22620 PyObject
* obj0
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22642 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->OnPrevious();
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22692 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22720 PyObject
* obj0
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 Py_INCREF(Py_None
); resultobj
= Py_None
;
22742 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22770 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22772 return Py_BuildValue((char *)"");
22774 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22775 PyObject
*resultobj
;
22776 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22777 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22778 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22779 wxPrintPreview
*result
;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 PyObject
* obj2
= 0 ;
22784 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22807 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22808 PyObject
*resultobj
;
22809 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22810 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22811 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22812 wxPrintPreview
*result
;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 PyObject
* obj2
= 0 ;
22817 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22822 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22838 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22843 argc
= PyObject_Length(args
);
22844 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22845 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22847 if ((argc
>= 2) && (argc
<= 3)) {
22851 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22861 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22870 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22874 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22882 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22891 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22901 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22911 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22919 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22925 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22930 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 PyObject
* obj1
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self",(char *) "pageNum", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22944 arg2
= (int) SWIG_AsInt(obj1
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22962 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (int)(arg1
)->GetCurrentPage();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_FromInt((int)result
);
22988 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22991 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "printout", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 (arg1
)->SetPrintout(arg2
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 Py_INCREF(Py_None
); resultobj
= Py_None
;
23017 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23020 wxPyPrintout
*result
;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= wxPyMake_wxObject(result
);
23045 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23048 wxPyPrintout
*result
;
23049 PyObject
* obj0
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= wxPyMake_wxObject(result
);
23073 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23076 wxFrame
*arg2
= (wxFrame
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "frame", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 (arg1
)->SetFrame(arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 Py_INCREF(Py_None
); resultobj
= Py_None
;
23102 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23105 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "canvas", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 (arg1
)->SetCanvas(arg2
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 Py_INCREF(Py_None
); resultobj
= Py_None
;
23131 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxFrame
*)(arg1
)->GetFrame();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= wxPyMake_wxObject(result
);
23159 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23162 wxPreviewCanvas
*result
;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23185 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23188 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 PyObject
* obj2
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23206 if (arg3
== NULL
) {
23207 PyErr_SetString(PyExc_TypeError
,"null reference");
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23226 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23229 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 PyObject
* obj2
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23247 if (arg3
== NULL
) {
23248 PyErr_SetString(PyExc_TypeError
,"null reference");
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "pageNum", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 arg2
= (int) SWIG_AsInt(obj1
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (bool)(arg1
)->RenderPage(arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23302 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "canvas", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->AdjustScrollbars(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23331 wxPrintDialogData
*result
;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23344 result
= (wxPrintDialogData
*) &_result_ref
;
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23357 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "percent", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 arg2
= (int) SWIG_AsInt(obj1
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 (arg1
)->SetZoom(arg2
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 Py_INCREF(Py_None
); resultobj
= Py_None
;
23386 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (int)(arg1
)->GetZoom();
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_FromInt((int)result
);
23412 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23416 PyObject
* obj0
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (int)(arg1
)->GetMaxPage();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_FromInt((int)result
);
23438 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (int)(arg1
)->GetMinPage();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_FromInt((int)result
);
23464 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (bool)(arg1
)->Ok();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23492 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "ok", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 arg2
= (bool) SWIG_AsBool(obj1
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->SetOk(arg2
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "interactive", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23535 arg2
= (bool) SWIG_AsBool(obj1
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= (bool)(arg1
)->Print(arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23553 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23556 PyObject
* obj0
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->DetermineScaling();
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23581 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23583 return Py_BuildValue((char *)"");
23585 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23586 PyObject
*resultobj
;
23587 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23588 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23589 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23590 wxPyPrintPreview
*result
;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 PyObject
* obj2
= 0 ;
23595 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23618 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23619 PyObject
*resultobj
;
23620 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23621 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23622 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23623 wxPyPrintPreview
*result
;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 PyObject
* obj2
= 0 ;
23628 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23649 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23654 argc
= PyObject_Length(args
);
23655 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23656 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23658 if ((argc
>= 2) && (argc
<= 3)) {
23662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23672 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23681 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23685 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23693 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23702 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23712 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23722 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23730 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23736 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23741 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23744 PyObject
*arg2
= (PyObject
*) 0 ;
23745 PyObject
*arg3
= (PyObject
*) 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 PyObject
* obj2
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "self",(char *) "_class", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "pageNum", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 arg2
= (int) SWIG_AsInt(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23804 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23807 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 PyObject
* obj2
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23825 if (arg3
== NULL
) {
23826 PyErr_SetString(PyExc_TypeError
,"null reference");
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23845 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23848 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 PyObject
* obj2
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23863 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23866 if (arg3
== NULL
) {
23867 PyErr_SetString(PyExc_TypeError
,"null reference");
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23886 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self",(char *) "pageNum", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 arg2
= (int) SWIG_AsInt(obj1
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23918 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "percent", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 arg2
= (int) SWIG_AsInt(obj1
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 (arg1
)->base_SetZoom(arg2
);
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23940 Py_INCREF(Py_None
); resultobj
= Py_None
;
23947 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "interactive", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 arg2
= (bool) SWIG_AsBool(obj1
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)(arg1
)->base_Print(arg2
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23979 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23982 PyObject
* obj0
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 (arg1
)->base_DetermineScaling();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 Py_INCREF(Py_None
); resultobj
= Py_None
;
24004 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24007 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24009 return Py_BuildValue((char *)"");
24011 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24014 wxFrame
*arg2
= (wxFrame
*) 0 ;
24015 wxString
*arg3
= 0 ;
24016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24020 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24023 wxPyPreviewFrame
*result
;
24024 bool temp3
= False
;
24027 bool temp7
= False
;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 PyObject
* obj2
= 0 ;
24031 PyObject
* obj3
= 0 ;
24032 PyObject
* obj4
= 0 ;
24033 PyObject
* obj5
= 0 ;
24034 PyObject
* obj6
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24045 arg3
= wxString_in_helper(obj2
);
24046 if (arg3
== NULL
) SWIG_fail
;
24052 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24058 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24062 arg6
= (long) SWIG_AsLong(obj5
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24067 arg7
= wxString_in_helper(obj6
);
24068 if (arg7
== NULL
) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24102 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24105 PyObject
*arg2
= (PyObject
*) 0 ;
24106 PyObject
*arg3
= (PyObject
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 PyObject
* obj2
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "self",(char *) "_class", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 Py_INCREF(Py_None
); resultobj
= Py_None
;
24133 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24136 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self",(char *) "canvas", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 (arg1
)->SetPreviewCanvas(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 Py_INCREF(Py_None
); resultobj
= Py_None
;
24162 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24165 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "bar", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 (arg1
)->SetControlBar(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 Py_INCREF(Py_None
); resultobj
= Py_None
;
24191 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->base_Initialize();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 Py_INCREF(Py_None
); resultobj
= Py_None
;
24216 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->base_CreateCanvas();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 (arg1
)->base_CreateControlBar();
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 Py_INCREF(Py_None
); resultobj
= Py_None
;
24266 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24269 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24271 return Py_BuildValue((char *)"");
24273 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24277 wxWindow
*arg3
= (wxWindow
*) 0 ;
24278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24282 long arg6
= (long) 0 ;
24283 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24284 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24285 wxPyPreviewControlBar
*result
;
24288 bool temp7
= False
;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 PyObject
* obj2
= 0 ;
24292 PyObject
* obj3
= 0 ;
24293 PyObject
* obj4
= 0 ;
24294 PyObject
* obj5
= 0 ;
24295 PyObject
* obj6
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 arg2
= (long) SWIG_AsLong(obj1
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24320 arg6
= (long) SWIG_AsLong(obj5
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24325 arg7
= wxString_in_helper(obj6
);
24326 if (arg7
== NULL
) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24352 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24355 PyObject
*arg2
= (PyObject
*) 0 ;
24356 PyObject
*arg3
= (PyObject
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 PyObject
* obj2
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self",(char *) "self",(char *) "_class", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 Py_INCREF(Py_None
); resultobj
= Py_None
;
24383 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24386 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "preview", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->SetPrintPreview(arg2
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 (arg1
)->base_CreateButtons();
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 Py_INCREF(Py_None
); resultobj
= Py_None
;
24437 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
;
24439 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self",(char *) "zoom", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24450 arg2
= (int) SWIG_AsInt(obj1
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 (arg1
)->base_SetZoomControl(arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24469 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24471 return Py_BuildValue((char *)"");
24473 static PyMethodDef SwigMethods
[] = {
24474 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24480 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24495 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24496 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24502 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24516 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24540 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24552 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24556 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24560 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24565 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24581 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24609 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24616 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24639 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24647 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24659 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24665 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24674 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24680 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24685 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24691 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24695 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24713 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24739 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24747 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24756 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24758 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24767 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24770 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24777 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24795 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24799 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24804 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24808 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24824 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24827 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24829 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24833 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24842 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24851 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24857 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24869 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24876 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24880 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24904 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24928 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24952 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24998 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25030 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25034 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25035 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25068 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25073 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25084 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25107 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25109 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25115 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25125 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25126 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25149 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25150 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25159 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25167 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25177 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25179 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25180 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25182 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25185 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25186 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25188 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25189 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25191 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25192 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25194 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25195 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25197 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25198 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25200 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25203 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25204 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25206 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25209 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25212 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25213 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25215 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25218 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25219 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25221 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25222 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25228 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25231 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25234 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25236 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25237 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25239 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25240 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25242 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25243 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25245 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25246 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25248 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25249 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25251 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25254 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25255 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25257 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25258 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25260 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25261 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25263 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25264 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25266 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25267 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25269 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25270 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25272 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25275 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25278 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25279 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25281 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25282 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25284 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25285 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25287 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25288 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25290 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25291 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25293 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25294 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25296 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25297 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25299 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25300 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25302 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25303 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25305 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25306 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25308 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25311 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25314 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25317 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25318 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25320 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25321 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25323 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25324 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25326 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25327 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25329 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25332 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25335 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25338 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25341 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25344 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25347 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25350 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25351 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25353 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25354 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25356 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25359 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25362 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25365 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25366 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25368 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25371 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25372 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25374 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25375 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25377 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25380 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25381 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25383 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25386 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25387 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25389 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25392 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25395 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25398 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25401 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25404 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25407 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25408 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25410 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25413 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25416 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25419 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25422 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25425 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25428 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25431 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25432 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25434 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25437 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25440 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25443 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25446 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25449 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25452 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25455 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25458 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25459 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25461 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25462 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25464 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25465 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25467 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25468 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25470 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25471 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25473 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25474 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25476 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25477 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25479 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25480 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25482 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25483 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25485 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25486 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25488 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25491 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25494 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25495 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25497 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25498 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25500 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25503 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25504 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25506 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25507 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25509 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25512 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) ((wxSizer
*) x
));
25515 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25518 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25521 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25524 static void *_p_wxEventTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) ((wxEvent
*) x
));
25527 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) ((wxFontData
*) x
));
25530 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25533 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25536 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25537 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25539 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25540 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25542 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25543 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25545 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25546 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25548 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25551 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25552 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25554 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25555 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25557 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25558 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25560 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25561 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25563 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25566 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25569 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25572 static void *_p_wxControlTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25575 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25578 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25581 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25584 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25587 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25590 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25593 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) ((wxColourData
*) x
));
25596 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25599 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25602 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25605 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25608 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25611 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25614 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25617 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25620 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25623 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25626 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25629 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25632 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25635 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25638 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25641 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25644 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25647 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25650 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25653 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25656 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25659 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25662 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25665 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25668 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25671 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25674 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25677 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25680 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25683 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25686 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25689 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25692 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25693 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25695 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25698 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25699 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25701 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25702 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25704 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25707 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25710 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25711 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25713 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25716 static void *_p_wxImageTo_p_wxObject(void *x
) {
25717 return (void *)((wxObject
*) ((wxImage
*) x
));
25719 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25722 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25723 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25725 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25726 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25728 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25729 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25731 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25734 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25737 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25740 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25741 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25743 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25744 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25746 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25747 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25749 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25750 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25752 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25755 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25758 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25761 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25764 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25767 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25770 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25773 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25776 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25779 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25782 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25785 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25788 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25791 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25794 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25795 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25797 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25798 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25800 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25803 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25806 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25809 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25812 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25815 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25818 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25821 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25824 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25827 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25830 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25833 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25836 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25839 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25842 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25845 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25848 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25851 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25854 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25857 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25860 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25863 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25866 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25869 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25872 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25875 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25878 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25879 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25882 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25884 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25885 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25887 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25888 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25890 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25891 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25893 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25894 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25896 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25897 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25899 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25900 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25902 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25903 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25905 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25906 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25908 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25909 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25911 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25912 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25914 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25915 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25917 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25918 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25920 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25921 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25923 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25924 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25926 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25927 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25929 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25930 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25932 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25933 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25935 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25936 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25938 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25939 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25941 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25942 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25944 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25945 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25947 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25948 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25950 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25951 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25953 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25954 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25956 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25957 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25959 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25960 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25962 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25963 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25965 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25966 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25968 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25969 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25971 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25972 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25974 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25975 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25977 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25978 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25980 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25981 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25983 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25986 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25989 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25990 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25992 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25993 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25995 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25996 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25998 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25999 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26001 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26002 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26004 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26005 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26007 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26008 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26010 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26011 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26013 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26014 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26016 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26017 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26019 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26020 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26022 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26023 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26025 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26026 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26028 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26029 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26031 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26032 return (void *)((wxWindow
*) ((wxControl
*) x
));
26034 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26035 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26037 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26038 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26040 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26041 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26043 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26044 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26046 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26047 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26049 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26050 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26052 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26053 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26055 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26056 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26058 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26059 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26061 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26062 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26064 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26065 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26067 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26068 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26070 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26073 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26074 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26076 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26077 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26079 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26082 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26085 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26086 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26088 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26089 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26091 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26092 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26094 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26095 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26097 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26098 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26100 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26101 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26103 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26104 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26106 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26107 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26109 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26110 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26112 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26113 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26115 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26116 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26118 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26119 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26121 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26122 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26124 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26125 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26127 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26128 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26130 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26131 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26133 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26134 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26136 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26137 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26139 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26140 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26142 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26143 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26145 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26146 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26148 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26149 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26151 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26152 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26154 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26155 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26157 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26158 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26160 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26161 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26163 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26164 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26166 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26167 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26169 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26170 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26172 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26173 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26175 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26176 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26178 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26179 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26181 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26182 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26184 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26185 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26187 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26188 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26190 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26191 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26193 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}};
26194 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}};
26195 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}};
26196 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}};
26197 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}};
26198 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}};
26199 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}};
26200 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}};
26201 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}};
26202 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}};
26203 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}};
26204 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}};
26205 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}};
26206 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}};
26207 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}};
26208 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}};
26209 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}};
26210 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}};
26211 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}};
26212 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}};
26213 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}};
26214 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}};
26215 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}};
26216 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}};
26217 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}};
26218 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}};
26219 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}};
26220 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}};
26221 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}};
26222 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}};
26223 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}};
26224 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}};
26225 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}};
26226 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}};
26227 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}};
26228 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}};
26229 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}};
26230 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}};
26231 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}};
26232 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}};
26233 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}};
26234 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}};
26235 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}};
26236 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}};
26237 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}};
26238 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}};
26239 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}};
26240 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}};
26241 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}};
26242 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}};
26243 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}};
26244 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}};
26245 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}};
26246 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}};
26247 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}};
26248 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}};
26249 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}};
26250 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}};
26251 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}};
26252 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}};
26253 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}};
26254 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}};
26255 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}};
26256 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}};
26257 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}};
26258 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}};
26259 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}};
26260 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}};
26261 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}};
26262 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}};
26263 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}};
26264 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}};
26265 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}};
26266 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}};
26267 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}};
26268 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}};
26269 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}};
26270 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}};
26271 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}};
26272 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}};
26273 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}};
26274 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}};
26275 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}};
26276 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}};
26277 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}};
26278 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}};
26279 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}};
26281 static swig_type_info
*swig_types_initial
[] = {
26282 _swigt__p_wxQueryLayoutInfoEvent
,
26283 _swigt__p_wxPreviewFrame
,
26284 _swigt__p_wxPyPreviewFrame
,
26285 _swigt__p_wxPyPanel
,
26287 _swigt__p_wxFontData
,
26289 _swigt__p_wxPrintData
,
26290 _swigt__p_wxTaskBarIcon
,
26291 _swigt__p_wxIconBundle
,
26292 _swigt__p_wxLayoutAlgorithm
,
26293 _swigt__p_wxFindDialogEvent
,
26294 _swigt__p_wxPreviewCanvas
,
26296 _swigt__p_wxSplitterEvent
,
26297 _swigt__p_wxRegion
,
26298 _swigt__p_wxFindReplaceData
,
26303 _swigt__p_wxVisualAttributes
,
26304 _swigt__p_wxMDIChildFrame
,
26305 _swigt__p_wxColourData
,
26306 _swigt__p_wxNotifyEvent
,
26307 _swigt__p_wxPyWindow
,
26308 _swigt__p_wxSplashScreen
,
26309 _swigt__p_wxFindReplaceDialog
,
26310 _swigt__p_wxProgressDialog
,
26311 _swigt__p_wxMessageDialog
,
26312 _swigt__p_wxTextEntryDialog
,
26313 _swigt__p_wxSingleChoiceDialog
,
26314 _swigt__p_wxMultiChoiceDialog
,
26315 _swigt__p_wxFileDialog
,
26316 _swigt__p_wxPrinter
,
26317 _swigt__p_wxArrayInt
,
26318 _swigt__p_wxEvtHandler
,
26319 _swigt__p_wxCalculateLayoutEvent
,
26320 _swigt__p_wxPyHtmlListBox
,
26321 _swigt__p_wxPyVListBox
,
26324 _swigt__p_wxMiniFrame
,
26326 _swigt__p_wxPyPrintout
,
26327 _swigt__p_wxTaskBarIconEvent
,
26328 _swigt__p_wxScrollWinEvent
,
26329 _swigt__p_wxStatusBar
,
26330 _swigt__p_wxMDIParentFrame
,
26332 _swigt__p_wxObject
,
26333 _swigt__p_wxOutputStream
,
26334 _swigt__p_unsigned_long
,
26335 _swigt__p_wxPyScrolledWindow
,
26336 _swigt__p_wxMDIClientWindow
,
26337 _swigt__p_wxTipWindow
,
26338 _swigt__p_wxSashLayoutWindow
,
26339 _swigt__p_wxSplitterWindow
,
26340 _swigt__p_wxPyVScrolledWindow
,
26341 _swigt__p_wxPyPopupTransientWindow
,
26342 _swigt__p_wxPopupWindow
,
26343 _swigt__p_wxSashWindow
,
26344 _swigt__p_wxTopLevelWindow
,
26345 _swigt__p_wxWindow
,
26346 _swigt__p_wxScrolledWindow
,
26347 _swigt__p_wxSplashScreenWindow
,
26348 _swigt__p_wxMenuBar
,
26349 _swigt__p_wxPrintPreview
,
26350 _swigt__p_wxSashEvent
,
26351 _swigt__p_wxString
,
26352 _swigt__p_wxPyPrintPreview
,
26353 _swigt__p_wxFontDialog
,
26354 _swigt__p_wxDirDialog
,
26355 _swigt__p_wxColourDialog
,
26356 _swigt__p_wxDialog
,
26358 _swigt__p_wxPageSetupDialog
,
26359 _swigt__p_wxPrintDialog
,
26360 _swigt__p_wxFileSystem
,
26361 _swigt__p_wxBitmap
,
26362 _swigt__p_wxCommandEvent
,
26363 _swigt__p_wxPreviewControlBar
,
26364 _swigt__p_wxPyPreviewControlBar
,
26365 _swigt__p_wxColour
,
26366 _swigt__p_wxToolBar
,
26367 _swigt__p_wxPageSetupDialogData
,
26368 _swigt__p_wxPrintDialogData
,
26373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26375 static swig_const_info swig_const_table
[] = {
26385 SWIGEXPORT(void) SWIG_init(void) {
26386 static PyObject
*SWIG_globals
= 0;
26387 static int typeinit
= 0;
26390 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26391 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26392 d
= PyModule_GetDict(m
);
26395 for (i
= 0; swig_types_initial
[i
]; i
++) {
26396 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26400 SWIG_InstallConstants(d
,swig_const_table
);
26402 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26403 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26404 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26405 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26406 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26407 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26408 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26409 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26410 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26411 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26412 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26413 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26414 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26415 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26416 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26417 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26418 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26419 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26420 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26421 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26422 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26423 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26424 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26425 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26426 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26427 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26428 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26429 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26430 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26431 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26432 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26433 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26434 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26435 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26436 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26437 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26438 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26439 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26440 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26441 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26442 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26443 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26444 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26445 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26446 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26447 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26448 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26449 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26450 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26451 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26452 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26453 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26454 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26455 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26456 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26457 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26458 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26459 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26460 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26461 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26462 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26463 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26464 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26465 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26466 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26467 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26468 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26469 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26470 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26471 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26472 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26473 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26474 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26475 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26476 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26477 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26478 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26479 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26480 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26481 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26482 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26483 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26484 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26485 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26486 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26487 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26488 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26489 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26490 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26491 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26492 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26493 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26494 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26496 // Map renamed classes back to their common name for OOR
26497 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26498 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26499 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26501 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26502 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26503 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26504 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26505 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26506 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26507 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26508 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26509 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26510 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26511 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26512 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26513 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26514 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26515 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26516 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26517 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26518 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26519 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26520 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26521 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26522 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26523 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26524 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26525 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26526 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26527 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26528 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26529 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26530 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26531 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26532 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26533 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26534 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26535 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26536 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26537 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26538 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26539 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26540 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26541 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26542 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26543 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26544 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26545 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26546 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26547 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26548 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26549 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26550 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26551 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26552 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26553 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26554 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26555 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26556 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26557 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26558 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26559 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26560 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26562 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");