1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60]
270 #define SWIGTYPE_p_wxPopupWindow swig_types[61]
271 #define SWIGTYPE_p_wxSashWindow swig_types[62]
272 #define SWIGTYPE_p_wxTopLevelWindow swig_types[63]
273 #define SWIGTYPE_p_wxWindow swig_types[64]
274 #define SWIGTYPE_p_wxScrolledWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
538 : wxPopupTransientWindow(parent
, style
) {}
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
541 DEC_PYCALLBACK__(OnDismiss
);
542 DEC_PYCALLBACK_BOOL_(CanDismiss
);
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
828 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
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_SetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "rect", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2490 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2510 PyObject
* obj0
= 0 ;
2512 (char *) "self", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2527 resultptr
= new wxRect((wxRect
&) result
);
2528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2536 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2539 wxVisualAttributes result
;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "variant", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2547 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 wxVisualAttributes
* resultptr
;
2559 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2568 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2571 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2573 return Py_BuildValue((char *)"");
2575 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2576 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2581 static PyObject
*_wrap_FrameNameStr_get() {
2586 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2588 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2595 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2596 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2601 static PyObject
*_wrap_DialogNameStr_get() {
2606 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2608 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2615 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2616 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2621 static PyObject
*_wrap_StatusLineNameStr_get() {
2626 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2628 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2635 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2636 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2641 static PyObject
*_wrap_ToolBarNameStr_get() {
2646 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2648 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2655 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2658 bool arg2
= (bool) True
;
2659 PyObject
* obj0
= 0 ;
2660 PyObject
* obj1
= 0 ;
2662 (char *) "self",(char *) "maximize", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2669 arg2
= (bool) SWIG_AsBool(obj1
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->Maximize(arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2689 PyObject
* obj0
= 0 ;
2691 (char *) "self", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 Py_INCREF(Py_None
); resultobj
= Py_None
;
2711 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2714 bool arg2
= (bool) True
;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2718 (char *) "self",(char *) "iconize", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 arg2
= (bool) SWIG_AsBool(obj1
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 (arg1
)->Iconize(arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 Py_INCREF(Py_None
); resultobj
= Py_None
;
2742 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "self", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2770 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
*resultobj
;
2772 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2774 PyObject
* obj0
= 0 ;
2776 (char *) "self", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2798 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2819 resultptr
= new wxIcon((wxIcon
&) result
);
2820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2828 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2835 (char *) "self",(char *) "icon", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2845 PyErr_SetString(PyExc_TypeError
,"null reference");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2865 wxIconBundle
*arg2
= 0 ;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2869 (char *) "self",(char *) "icons", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2879 PyErr_SetString(PyExc_TypeError
,"null reference");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 Py_INCREF(Py_None
); resultobj
= Py_None
;
2896 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2900 long arg3
= (long) wxFULLSCREEN_ALL
;
2902 PyObject
* obj0
= 0 ;
2903 PyObject
* obj1
= 0 ;
2904 PyObject
* obj2
= 0 ;
2906 (char *) "self",(char *) "show",(char *) "style", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 arg2
= (bool) SWIG_AsBool(obj1
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 arg3
= (long) SWIG_AsLong(obj2
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2934 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2962 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2965 wxString
*arg2
= 0 ;
2966 bool temp2
= False
;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2970 (char *) "self",(char *) "title", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 arg2
= wxString_in_helper(obj1
);
2978 if (arg2
== NULL
) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 (arg1
)->SetTitle((wxString
const &)*arg2
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3009 (char *) "self", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3035 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3038 wxRegion
*arg2
= 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "region", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3053 PyErr_SetString(PyExc_TypeError
,"null reference");
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3072 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3075 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3077 return Py_BuildValue((char *)"");
3079 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxWindow
*arg1
= (wxWindow
*) 0 ;
3083 wxString
*arg3
= 0 ;
3084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3088 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3089 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3090 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3092 bool temp3
= False
;
3095 bool temp7
= False
;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3098 PyObject
* obj2
= 0 ;
3099 PyObject
* obj3
= 0 ;
3100 PyObject
* obj4
= 0 ;
3101 PyObject
* obj5
= 0 ;
3102 PyObject
* obj6
= 0 ;
3104 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 arg2
= (int const) SWIG_AsInt(obj1
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 arg3
= wxString_in_helper(obj2
);
3114 if (arg3
== NULL
) SWIG_fail
;
3120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3130 arg6
= (long) SWIG_AsLong(obj5
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3135 arg7
= wxString_in_helper(obj6
);
3136 if (arg7
== NULL
) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3148 resultobj
= wxPyMake_wxObject(result
);
3172 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= (wxFrame
*)new wxFrame();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= wxPyMake_wxObject(result
);
3196 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxFrame
*arg1
= (wxFrame
*) 0 ;
3199 wxWindow
*arg2
= (wxWindow
*) 0 ;
3201 wxString
*arg4
= 0 ;
3202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3206 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3207 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3208 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3210 bool temp4
= False
;
3213 bool temp8
= False
;
3214 PyObject
* obj0
= 0 ;
3215 PyObject
* obj1
= 0 ;
3216 PyObject
* obj2
= 0 ;
3217 PyObject
* obj3
= 0 ;
3218 PyObject
* obj4
= 0 ;
3219 PyObject
* obj5
= 0 ;
3220 PyObject
* obj6
= 0 ;
3221 PyObject
* obj7
= 0 ;
3223 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 arg3
= (int const) SWIG_AsInt(obj2
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3234 arg4
= wxString_in_helper(obj3
);
3235 if (arg4
== NULL
) SWIG_fail
;
3241 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3247 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3251 arg7
= (long) SWIG_AsLong(obj6
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3256 arg8
= wxString_in_helper(obj7
);
3257 if (arg8
== NULL
) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3293 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxFrame
*arg1
= (wxFrame
*) 0 ;
3297 PyObject
* obj0
= 0 ;
3299 (char *) "self", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3313 wxPoint
* resultptr
;
3314 resultptr
= new wxPoint((wxPoint
&) result
);
3315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3323 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxFrame
*arg1
= (wxFrame
*) 0 ;
3326 PyObject
* obj0
= 0 ;
3328 (char *) "self", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->SendSizeEvent();
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3341 Py_INCREF(Py_None
); resultobj
= Py_None
;
3348 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxFrame
*arg1
= (wxFrame
*) 0 ;
3351 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3353 PyObject
* obj1
= 0 ;
3355 (char *) "self",(char *) "menubar", NULL
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->SetMenuBar(arg2
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxFrame
*arg1
= (wxFrame
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= wxPyMake_wxObject(result
);
3405 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxFrame
*arg1
= (wxFrame
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "self",(char *) "winid", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 arg2
= (int) SWIG_AsInt(obj1
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3437 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxFrame
*arg1
= (wxFrame
*) 0 ;
3440 int arg2
= (int) 1 ;
3441 long arg3
= (long) wxST_SIZEGRIP
;
3442 int arg4
= (int) 0 ;
3443 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3444 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3445 wxStatusBar
*result
;
3446 bool temp5
= False
;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3449 PyObject
* obj2
= 0 ;
3450 PyObject
* obj3
= 0 ;
3451 PyObject
* obj4
= 0 ;
3453 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 arg2
= (int) SWIG_AsInt(obj1
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 arg3
= (long) SWIG_AsLong(obj2
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3468 arg4
= (int) SWIG_AsInt(obj3
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3473 arg5
= wxString_in_helper(obj4
);
3474 if (arg5
== NULL
) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 resultobj
= wxPyMake_wxObject(result
);
3502 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxFrame
*arg1
= (wxFrame
*) 0 ;
3505 wxStatusBar
*result
;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= wxPyMake_wxObject(result
);
3530 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxFrame
*arg1
= (wxFrame
*) 0 ;
3533 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3537 (char *) "self",(char *) "statBar", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 (arg1
)->SetStatusBar(arg2
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3552 Py_INCREF(Py_None
); resultobj
= Py_None
;
3559 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxFrame
*arg1
= (wxFrame
*) 0 ;
3562 wxString
*arg2
= 0 ;
3563 int arg3
= (int) 0 ;
3564 bool temp2
= False
;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3567 PyObject
* obj2
= 0 ;
3569 (char *) "self",(char *) "text",(char *) "number", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 arg2
= wxString_in_helper(obj1
);
3577 if (arg2
== NULL
) SWIG_fail
;
3581 arg3
= (int) SWIG_AsInt(obj2
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3606 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxFrame
*arg1
= (wxFrame
*) 0 ;
3610 int *arg3
= (int *) 0 ;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3614 (char *) "self",(char *) "widths", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 arg2
= PyList_Size(obj1
);
3622 arg3
= int_LIST_helper(obj1
);
3623 if (arg3
== NULL
) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 Py_INCREF(Py_None
); resultobj
= Py_None
;
3634 if (arg3
) delete [] arg3
;
3639 if (arg3
) delete [] arg3
;
3645 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxFrame
*arg1
= (wxFrame
*) 0 ;
3648 wxString
*arg2
= 0 ;
3649 int arg3
= (int) 0 ;
3650 bool temp2
= False
;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3653 PyObject
* obj2
= 0 ;
3655 (char *) "self",(char *) "text",(char *) "number", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 arg2
= wxString_in_helper(obj1
);
3663 if (arg2
== NULL
) SWIG_fail
;
3667 arg3
= (int) SWIG_AsInt(obj2
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3692 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxFrame
*arg1
= (wxFrame
*) 0 ;
3695 int arg2
= (int) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3699 (char *) "self",(char *) "number", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (int) SWIG_AsInt(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 (arg1
)->PopStatusText(arg2
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3725 wxFrame
*arg1
= (wxFrame
*) 0 ;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "n", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 arg2
= (int) SWIG_AsInt(obj1
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetStatusBarPane(arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxFrame
*arg1
= (wxFrame
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_FromInt((int)result
);
3778 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxFrame
*arg1
= (wxFrame
*) 0 ;
3781 long arg2
= (long) -1 ;
3782 int arg3
= (int) -1 ;
3783 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3786 bool temp4
= False
;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3790 PyObject
* obj3
= 0 ;
3792 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3799 arg2
= (long) SWIG_AsLong(obj1
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 arg3
= (int) SWIG_AsInt(obj2
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3808 arg4
= wxString_in_helper(obj3
);
3809 if (arg4
== NULL
) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= wxPyMake_wxObject(result
);
3837 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxFrame
*arg1
= (wxFrame
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= wxPyMake_wxObject(result
);
3865 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxFrame
*arg1
= (wxFrame
*) 0 ;
3868 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 (char *) "self",(char *) "toolbar", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->SetToolBar(arg2
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxFrame
*arg1
= (wxFrame
*) 0 ;
3897 wxString
*arg2
= 0 ;
3899 bool temp2
= False
;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3902 PyObject
* obj2
= 0 ;
3904 (char *) "self",(char *) "text",(char *) "show", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 arg2
= wxString_in_helper(obj1
);
3912 if (arg2
== NULL
) SWIG_fail
;
3915 arg3
= (bool) SWIG_AsBool(obj2
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxFrame
*arg1
= (wxFrame
*) 0 ;
3942 wxMenu
*arg2
= (wxMenu
*) NULL
;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "menu", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->DoMenuUpdates(arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3973 wxVisualAttributes result
;
3974 PyObject
* obj0
= 0 ;
3976 (char *) "variant", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3981 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 wxVisualAttributes
* resultptr
;
3993 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4002 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4005 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4007 return Py_BuildValue((char *)"");
4009 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxWindow
*arg1
= (wxWindow
*) 0 ;
4013 wxString
*arg3
= 0 ;
4014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4018 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4019 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4020 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4022 bool temp3
= False
;
4025 bool temp7
= False
;
4026 PyObject
* obj0
= 0 ;
4027 PyObject
* obj1
= 0 ;
4028 PyObject
* obj2
= 0 ;
4029 PyObject
* obj3
= 0 ;
4030 PyObject
* obj4
= 0 ;
4031 PyObject
* obj5
= 0 ;
4032 PyObject
* obj6
= 0 ;
4034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 arg2
= (int const) SWIG_AsInt(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 arg3
= wxString_in_helper(obj2
);
4044 if (arg3
== NULL
) SWIG_fail
;
4050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4060 arg6
= (long) SWIG_AsLong(obj5
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4065 arg7
= wxString_in_helper(obj6
);
4066 if (arg7
== NULL
) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= wxPyMake_wxObject(result
);
4102 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (wxDialog
*)new wxDialog();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= wxPyMake_wxObject(result
);
4126 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxDialog
*arg1
= (wxDialog
*) 0 ;
4129 wxWindow
*arg2
= (wxWindow
*) 0 ;
4131 wxString
*arg4
= 0 ;
4132 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4133 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4134 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4135 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4136 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4137 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4140 bool temp4
= False
;
4143 bool temp8
= False
;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4146 PyObject
* obj2
= 0 ;
4147 PyObject
* obj3
= 0 ;
4148 PyObject
* obj4
= 0 ;
4149 PyObject
* obj5
= 0 ;
4150 PyObject
* obj6
= 0 ;
4151 PyObject
* obj7
= 0 ;
4153 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 arg3
= (int const) SWIG_AsInt(obj2
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4164 arg4
= wxString_in_helper(obj3
);
4165 if (arg4
== NULL
) SWIG_fail
;
4171 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4177 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4181 arg7
= (long) SWIG_AsLong(obj6
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4186 arg8
= wxString_in_helper(obj7
);
4187 if (arg8
== NULL
) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4223 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxDialog
*arg1
= (wxDialog
*) 0 ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4230 (char *) "self",(char *) "returnCode", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4236 arg2
= (int) SWIG_AsInt(obj1
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->SetReturnCode(arg2
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxDialog
*arg1
= (wxDialog
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_FromInt((int)result
);
4278 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxDialog
*arg1
= (wxDialog
*) 0 ;
4281 wxString
*arg2
= 0 ;
4283 bool temp2
= False
;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4287 (char *) "self",(char *) "message", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4294 arg2
= wxString_in_helper(obj1
);
4295 if (arg2
== NULL
) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= wxPyMake_wxSizer(result
);
4322 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxDialog
*arg1
= (wxDialog
*) 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4330 (char *) "self",(char *) "flags", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 arg2
= (long) SWIG_AsLong(obj1
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= wxPyMake_wxSizer(result
);
4354 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxDialog
*arg1
= (wxDialog
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4360 (char *) "self", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4382 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxDialog
*arg1
= (wxDialog
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4388 (char *) "self", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (int)(arg1
)->ShowModal();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_FromInt((int)result
);
4408 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxDialog
*arg1
= (wxDialog
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4415 (char *) "self",(char *) "retCode", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4421 arg2
= (int) SWIG_AsInt(obj1
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->EndModal(arg2
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 Py_INCREF(Py_None
); resultobj
= Py_None
;
4437 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4440 wxVisualAttributes result
;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "variant", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4448 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4459 wxVisualAttributes
* resultptr
;
4460 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4469 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4472 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4474 return Py_BuildValue((char *)"");
4476 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxWindow
*arg1
= (wxWindow
*) 0 ;
4480 wxString
*arg3
= 0 ;
4481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4485 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4486 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4488 wxMiniFrame
*result
;
4489 bool temp3
= False
;
4492 bool temp7
= False
;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4495 PyObject
* obj2
= 0 ;
4496 PyObject
* obj3
= 0 ;
4497 PyObject
* obj4
= 0 ;
4498 PyObject
* obj5
= 0 ;
4499 PyObject
* obj6
= 0 ;
4501 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 arg2
= (int const) SWIG_AsInt(obj1
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 arg3
= wxString_in_helper(obj2
);
4511 if (arg3
== NULL
) SWIG_fail
;
4517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4527 arg6
= (long) SWIG_AsLong(obj5
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4532 arg7
= wxString_in_helper(obj6
);
4533 if (arg7
== NULL
) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4567 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
;
4569 wxMiniFrame
*result
;
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 result
= (wxMiniFrame
*)new wxMiniFrame();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4589 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4592 wxWindow
*arg2
= (wxWindow
*) 0 ;
4594 wxString
*arg4
= 0 ;
4595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4599 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4600 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4603 bool temp4
= False
;
4606 bool temp8
= False
;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 PyObject
* obj2
= 0 ;
4610 PyObject
* obj3
= 0 ;
4611 PyObject
* obj4
= 0 ;
4612 PyObject
* obj5
= 0 ;
4613 PyObject
* obj6
= 0 ;
4614 PyObject
* obj7
= 0 ;
4616 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4624 arg3
= (int const) SWIG_AsInt(obj2
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 arg4
= wxString_in_helper(obj3
);
4628 if (arg4
== NULL
) SWIG_fail
;
4634 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4640 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4644 arg7
= (long) SWIG_AsLong(obj6
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4649 arg8
= wxString_in_helper(obj7
);
4650 if (arg8
== NULL
) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4686 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4689 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4691 return Py_BuildValue((char *)"");
4693 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxBitmap
*arg1
= 0 ;
4696 wxWindow
*arg2
= (wxWindow
*) 0 ;
4698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4702 long arg6
= (long) wxNO_BORDER
;
4703 wxSplashScreenWindow
*result
;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4710 PyObject
* obj4
= 0 ;
4711 PyObject
* obj5
= 0 ;
4713 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4721 PyErr_SetString(PyExc_TypeError
,"null reference");
4724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 arg3
= (int) SWIG_AsInt(obj2
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4741 arg6
= (long) SWIG_AsLong(obj5
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4758 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4761 wxBitmap
*arg2
= 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4765 (char *) "self",(char *) "bitmap", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4775 PyErr_SetString(PyExc_TypeError
,"null reference");
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 Py_INCREF(Py_None
); resultobj
= Py_None
;
4792 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4808 result
= (wxBitmap
*) &_result_ref
;
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 wxBitmap
* resultptr
= new wxBitmap(*result
);
4816 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4824 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4827 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4829 return Py_BuildValue((char *)"");
4831 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxBitmap
*arg1
= 0 ;
4836 wxWindow
*arg4
= (wxWindow
*) 0 ;
4838 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4839 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4840 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4841 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4842 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4843 wxSplashScreen
*result
;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 PyObject
* obj2
= 0 ;
4849 PyObject
* obj3
= 0 ;
4850 PyObject
* obj4
= 0 ;
4851 PyObject
* obj5
= 0 ;
4852 PyObject
* obj6
= 0 ;
4853 PyObject
* obj7
= 0 ;
4855 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4863 PyErr_SetString(PyExc_TypeError
,"null reference");
4866 arg2
= (long) SWIG_AsLong(obj1
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4868 arg3
= (int) SWIG_AsInt(obj2
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4870 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4872 arg5
= (int) SWIG_AsInt(obj4
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4877 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4883 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4887 arg8
= (long) SWIG_AsLong(obj7
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4904 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4910 (char *) "self", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_FromLong((long)result
);
4930 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4933 wxSplashScreenWindow
*result
;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4956 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_FromInt((int)result
);
4982 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4985 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4987 return Py_BuildValue((char *)"");
4989 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxWindow
*arg1
= (wxWindow
*) 0 ;
4992 int arg2
= (int) -1 ;
4993 long arg3
= (long) wxST_SIZEGRIP
;
4994 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4995 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4996 wxStatusBar
*result
;
4997 bool temp4
= False
;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5000 PyObject
* obj2
= 0 ;
5001 PyObject
* obj3
= 0 ;
5003 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 arg2
= (int) SWIG_AsInt(obj1
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 arg3
= (long) SWIG_AsLong(obj2
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5019 arg4
= wxString_in_helper(obj3
);
5020 if (arg4
== NULL
) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= wxPyMake_wxObject(result
);
5048 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxStatusBar
*result
;
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (wxStatusBar
*)new wxStatusBar();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= wxPyMake_wxObject(result
);
5072 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5075 wxWindow
*arg2
= (wxWindow
*) 0 ;
5077 long arg4
= (long) wxST_SIZEGRIP
;
5078 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5079 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5081 bool temp5
= False
;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5088 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 arg3
= (int) SWIG_AsInt(obj2
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 arg4
= (long) SWIG_AsLong(obj3
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5104 arg5
= wxString_in_helper(obj4
);
5105 if (arg5
== NULL
) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5133 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5136 int arg2
= (int) 1 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "number", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5147 arg2
= (int) SWIG_AsInt(obj1
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 (arg1
)->SetFieldsCount(arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5170 (char *) "self", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_FromInt((int)result
);
5190 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5193 wxString
*arg2
= 0 ;
5194 int arg3
= (int) 0 ;
5195 bool temp2
= False
;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 PyObject
* obj2
= 0 ;
5200 (char *) "self",(char *) "text",(char *) "number", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 arg2
= wxString_in_helper(obj1
);
5208 if (arg2
== NULL
) SWIG_fail
;
5212 arg3
= (int) SWIG_AsInt(obj2
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5240 int arg2
= (int) 0 ;
5242 PyObject
* obj0
= 0 ;
5243 PyObject
* obj1
= 0 ;
5245 (char *) "self",(char *) "number", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg2
= (int) SWIG_AsInt(obj1
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5275 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5278 wxString
*arg2
= 0 ;
5279 int arg3
= (int) 0 ;
5280 bool temp2
= False
;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5283 PyObject
* obj2
= 0 ;
5285 (char *) "self",(char *) "text",(char *) "number", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 arg2
= wxString_in_helper(obj1
);
5293 if (arg2
== NULL
) SWIG_fail
;
5297 arg3
= (int) SWIG_AsInt(obj2
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5325 int arg2
= (int) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5329 (char *) "self",(char *) "number", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 arg2
= (int) SWIG_AsInt(obj1
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 (arg1
)->PopStatusText(arg2
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 Py_INCREF(Py_None
); resultobj
= Py_None
;
5353 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5357 int *arg3
= (int *) 0 ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5361 (char *) "self",(char *) "widths", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5368 arg2
= PyList_Size(obj1
);
5369 arg3
= int_LIST_helper(obj1
);
5370 if (arg3
== NULL
) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5379 Py_INCREF(Py_None
); resultobj
= Py_None
;
5381 if (arg3
) delete [] arg3
;
5386 if (arg3
) delete [] arg3
;
5392 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "i", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 arg2
= (int) SWIG_AsInt(obj1
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 resultptr
= new wxRect((wxRect
&) result
);
5418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5426 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "height", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 arg2
= (int) SWIG_AsInt(obj1
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetMinHeight(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_FromInt((int)result
);
5481 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_FromInt((int)result
);
5507 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5510 wxVisualAttributes result
;
5511 PyObject
* obj0
= 0 ;
5513 (char *) "variant", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5518 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5529 wxVisualAttributes
* resultptr
;
5530 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5539 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5542 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5544 return Py_BuildValue((char *)"");
5546 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5547 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5552 static PyObject
*_wrap_SplitterNameStr_get() {
5557 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5559 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5566 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxWindow
*arg1
= (wxWindow
*) 0 ;
5569 int arg2
= (int) -1 ;
5570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5574 long arg5
= (long) wxSP_3D
;
5575 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5577 wxSplitterWindow
*result
;
5580 bool temp6
= False
;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 PyObject
* obj3
= 0 ;
5585 PyObject
* obj4
= 0 ;
5586 PyObject
* obj5
= 0 ;
5588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 arg2
= (int) SWIG_AsInt(obj1
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5607 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5611 arg5
= (long) SWIG_AsLong(obj4
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5616 arg6
= wxString_in_helper(obj5
);
5617 if (arg6
== NULL
) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5643 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
;
5645 wxSplitterWindow
*result
;
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5665 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5668 wxWindow
*arg2
= (wxWindow
*) 0 ;
5669 int arg3
= (int) -1 ;
5670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5674 long arg6
= (long) wxSP_3D
;
5675 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5680 bool temp7
= False
;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 PyObject
* obj2
= 0 ;
5684 PyObject
* obj3
= 0 ;
5685 PyObject
* obj4
= 0 ;
5686 PyObject
* obj5
= 0 ;
5687 PyObject
* obj6
= 0 ;
5689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 arg3
= (int) SWIG_AsInt(obj2
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5704 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5710 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5714 arg6
= (long) SWIG_AsLong(obj5
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5719 arg7
= wxString_in_helper(obj6
);
5720 if (arg7
== NULL
) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= wxPyMake_wxObject(result
);
5776 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "self", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= wxPyMake_wxObject(result
);
5804 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5811 (char *) "self",(char *) "mode", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 arg2
= (int) SWIG_AsInt(obj1
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetSplitMode(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= SWIG_FromInt((int)result
);
5859 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5862 wxWindow
*arg2
= (wxWindow
*) 0 ;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5866 (char *) "self",(char *) "window", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->Initialize(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5888 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5891 wxWindow
*arg2
= (wxWindow
*) 0 ;
5892 wxWindow
*arg3
= (wxWindow
*) 0 ;
5893 int arg4
= (int) 0 ;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 PyObject
* obj2
= 0 ;
5898 PyObject
* obj3
= 0 ;
5900 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg4
= (int) SWIG_AsInt(obj3
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5933 wxWindow
*arg2
= (wxWindow
*) 0 ;
5934 wxWindow
*arg3
= (wxWindow
*) 0 ;
5935 int arg4
= (int) 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 PyObject
* obj2
= 0 ;
5940 PyObject
* obj3
= 0 ;
5942 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 arg4
= (int) SWIG_AsInt(obj3
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5975 wxWindow
*arg2
= (wxWindow
*) NULL
;
5977 PyObject
* obj0
= 0 ;
5978 PyObject
* obj1
= 0 ;
5980 (char *) "self",(char *) "toRemove", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (bool)(arg1
)->Unsplit(arg2
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6006 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6009 wxWindow
*arg2
= (wxWindow
*) 0 ;
6010 wxWindow
*arg3
= (wxWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 PyObject
* obj2
= 0 ;
6016 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "self", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 (arg1
)->UpdateSize();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 Py_INCREF(Py_None
); resultobj
= Py_None
;
6067 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6073 (char *) "self", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6095 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "width", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 arg2
= (int) SWIG_AsInt(obj1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->SetSashSize(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6131 (char *) "self",(char *) "width", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 arg2
= (int) SWIG_AsInt(obj1
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 (arg1
)->SetBorderSize(arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 Py_INCREF(Py_None
); resultobj
= Py_None
;
6153 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6159 (char *) "self", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_FromInt((int)result
);
6179 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6185 (char *) "self", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_FromInt((int)result
);
6205 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6209 bool arg3
= (bool) True
;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 PyObject
* obj2
= 0 ;
6214 (char *) "self",(char *) "position",(char *) "redraw", NULL
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 arg2
= (int) SWIG_AsInt(obj1
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 arg3
= (bool) SWIG_AsBool(obj2
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->SetSashPosition(arg2
,arg3
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 Py_INCREF(Py_None
); resultobj
= Py_None
;
6240 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_FromInt((int)result
);
6266 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "min", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (int) SWIG_AsInt(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetMinimumPaneSize(arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6295 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_FromInt((int)result
);
6321 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6326 int arg4
= (int) 5 ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6330 PyObject
* obj2
= 0 ;
6331 PyObject
* obj3
= 0 ;
6333 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6339 arg2
= (int) SWIG_AsInt(obj1
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6341 arg3
= (int) SWIG_AsInt(obj2
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 arg4
= (int) SWIG_AsInt(obj3
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SizeWindows();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6395 (char *) "self",(char *) "needUpdating", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 arg2
= (bool) SWIG_AsBool(obj1
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 (arg1
)->SetNeedUpdating(arg2
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6445 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6448 wxVisualAttributes result
;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "variant", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6456 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 wxVisualAttributes
* resultptr
;
6468 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6477 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6480 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6482 return Py_BuildValue((char *)"");
6484 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6487 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6488 wxSplitterEvent
*result
;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6492 (char *) "type",(char *) "splitter", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6497 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6518 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "pos", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 arg2
= (int) SWIG_AsInt(obj1
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 (arg1
)->SetSashPosition(arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 Py_INCREF(Py_None
); resultobj
= Py_None
;
6547 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6553 (char *) "self", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_FromInt((int)result
);
6573 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= wxPyMake_wxObject(result
);
6601 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6607 (char *) "self", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_FromInt((int)result
);
6627 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6633 (char *) "self", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= SWIG_FromInt((int)result
);
6653 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6656 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6658 return Py_BuildValue((char *)"");
6660 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6661 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6666 static PyObject
*_wrap_SashNameStr_get() {
6671 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6673 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6680 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6681 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6686 static PyObject
*_wrap_SashLayoutNameStr_get() {
6691 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6693 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6700 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxWindow
*arg1
= (wxWindow
*) 0 ;
6704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6708 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6709 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6710 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6711 wxSashWindow
*result
;
6714 bool temp6
= False
;
6715 PyObject
* obj0
= 0 ;
6716 PyObject
* obj1
= 0 ;
6717 PyObject
* obj2
= 0 ;
6718 PyObject
* obj3
= 0 ;
6719 PyObject
* obj4
= 0 ;
6720 PyObject
* obj5
= 0 ;
6722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 arg2
= (int) SWIG_AsInt(obj1
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6743 arg5
= (long) SWIG_AsLong(obj4
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 arg6
= wxString_in_helper(obj5
);
6749 if (arg6
== NULL
) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6775 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxSashWindow
*result
;
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (wxSashWindow
*)new wxSashWindow();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6797 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6800 wxWindow
*arg2
= (wxWindow
*) 0 ;
6802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6806 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6807 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6812 bool temp7
= False
;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6815 PyObject
* obj2
= 0 ;
6816 PyObject
* obj3
= 0 ;
6817 PyObject
* obj4
= 0 ;
6818 PyObject
* obj5
= 0 ;
6819 PyObject
* obj6
= 0 ;
6821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 arg3
= (int) SWIG_AsInt(obj2
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6844 arg6
= (long) SWIG_AsLong(obj5
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6849 arg7
= wxString_in_helper(obj6
);
6850 if (arg7
== NULL
) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6878 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj2
= 0 ;
6887 (char *) "self",(char *) "edge",(char *) "sash", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6895 arg3
= (bool) SWIG_AsBool(obj2
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "edge", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6943 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 PyObject
* obj2
= 0 ;
6952 (char *) "self",(char *) "edge",(char *) "border", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6960 arg3
= (bool) SWIG_AsBool(obj2
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 Py_INCREF(Py_None
); resultobj
= Py_None
;
6976 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
;
6978 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "edge", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7008 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7016 (char *) "self",(char *) "edge", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_FromInt((int)result
);
7038 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7045 (char *) "self",(char *) "width", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7051 arg2
= (int) SWIG_AsInt(obj1
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 (arg1
)->SetDefaultBorderSize(arg2
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 Py_INCREF(Py_None
); resultobj
= Py_None
;
7067 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "self", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= SWIG_FromInt((int)result
);
7093 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "width", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 arg2
= (int) SWIG_AsInt(obj1
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetExtraBorderSize(arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_FromInt((int)result
);
7148 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "min", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7161 arg2
= (int) SWIG_AsInt(obj1
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 (arg1
)->SetMinimumSizeX(arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7184 (char *) "self",(char *) "min", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7190 arg2
= (int) SWIG_AsInt(obj1
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 (arg1
)->SetMinimumSizeY(arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 Py_INCREF(Py_None
); resultobj
= Py_None
;
7206 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "self", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_FromInt((int)result
);
7232 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "self", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_FromInt((int)result
);
7258 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "max", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 arg2
= (int) SWIG_AsInt(obj1
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 (arg1
)->SetMaximumSizeX(arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 Py_INCREF(Py_None
); resultobj
= Py_None
;
7287 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7294 (char *) "self",(char *) "max", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 arg2
= (int) SWIG_AsInt(obj1
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetMaximumSizeY(arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_FromInt((int)result
);
7342 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_FromInt((int)result
);
7368 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7373 int arg4
= (int) 2 ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 PyObject
* obj3
= 0 ;
7380 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 arg2
= (int) SWIG_AsInt(obj1
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7388 arg3
= (int) SWIG_AsInt(obj2
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 arg4
= (int) SWIG_AsInt(obj3
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_FromInt((int)result
);
7408 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7413 (char *) "self", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 (arg1
)->SizeWindows();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7436 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7438 return Py_BuildValue((char *)"");
7440 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 int arg1
= (int) 0 ;
7443 int arg2
= (int) wxSASH_NONE
;
7444 wxSashEvent
*result
;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "id",(char *) "edge", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 arg1
= (int) SWIG_AsInt(obj0
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7474 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7481 (char *) "self",(char *) "edge", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7487 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7503 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7509 (char *) "self", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_FromInt((int)result
);
7529 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7537 (char *) "self",(char *) "rect", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7545 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7582 resultptr
= new wxRect((wxRect
&) result
);
7583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7591 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7596 PyObject
* obj1
= 0 ;
7598 (char *) "self",(char *) "status", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7626 (char *) "self", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_FromInt((int)result
);
7646 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7649 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7651 return Py_BuildValue((char *)"");
7653 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 int arg1
= (int) 0 ;
7656 wxQueryLayoutInfoEvent
*result
;
7657 PyObject
* obj0
= 0 ;
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7664 arg1
= (int) SWIG_AsInt(obj0
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7681 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 (char *) "self",(char *) "length", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7694 arg2
= (int) SWIG_AsInt(obj1
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 (arg1
)->SetRequestedLength(arg2
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 Py_INCREF(Py_None
); resultobj
= Py_None
;
7710 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_FromInt((int)result
);
7736 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7743 (char *) "self",(char *) "flags", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7749 arg2
= (int) SWIG_AsInt(obj1
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->SetFlags(arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 Py_INCREF(Py_None
); resultobj
= Py_None
;
7765 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "self", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_FromInt((int)result
);
7791 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7799 (char *) "self",(char *) "size", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 (arg1
)->SetSize((wxSize
const &)*arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 Py_INCREF(Py_None
); resultobj
= Py_None
;
7823 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7844 resultptr
= new wxSize((wxSize
&) result
);
7845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7853 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7860 (char *) "self",(char *) "orient", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_FromInt((int)result
);
7908 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7915 (char *) "self",(char *) "align", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_FromInt((int)result
);
7963 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7968 return Py_BuildValue((char *)"");
7970 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 int arg1
= (int) 0 ;
7973 wxCalculateLayoutEvent
*result
;
7974 PyObject
* obj0
= 0 ;
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7981 arg1
= (int) SWIG_AsInt(obj0
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7998 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8005 (char *) "self",(char *) "flags", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 arg2
= (int) SWIG_AsInt(obj1
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 (arg1
)->SetFlags(arg2
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8027 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "self", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_FromInt((int)result
);
8053 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8061 (char *) "self",(char *) "rect", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 (arg1
)->SetRect((wxRect
const &)*arg2
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8106 resultptr
= new wxRect((wxRect
&) result
);
8107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8115 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8118 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8120 return Py_BuildValue((char *)"");
8122 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
;
8124 wxWindow
*arg1
= (wxWindow
*) 0 ;
8126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8130 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8131 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8132 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8133 wxSashLayoutWindow
*result
;
8136 bool temp6
= False
;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8139 PyObject
* obj2
= 0 ;
8140 PyObject
* obj3
= 0 ;
8141 PyObject
* obj4
= 0 ;
8142 PyObject
* obj5
= 0 ;
8144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 arg2
= (int) SWIG_AsInt(obj1
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8165 arg5
= (long) SWIG_AsLong(obj4
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8170 arg6
= wxString_in_helper(obj5
);
8171 if (arg6
== NULL
) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8197 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxSashLayoutWindow
*result
;
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8219 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8222 wxWindow
*arg2
= (wxWindow
*) 0 ;
8224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8228 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8229 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8234 bool temp7
= False
;
8235 PyObject
* obj0
= 0 ;
8236 PyObject
* obj1
= 0 ;
8237 PyObject
* obj2
= 0 ;
8238 PyObject
* obj3
= 0 ;
8239 PyObject
* obj4
= 0 ;
8240 PyObject
* obj5
= 0 ;
8241 PyObject
* obj6
= 0 ;
8243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 arg3
= (int) SWIG_AsInt(obj2
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8266 arg6
= (long) SWIG_AsLong(obj5
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8271 arg7
= wxString_in_helper(obj6
);
8272 if (arg7
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8300 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (int)(arg1
)->GetAlignment();
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= SWIG_FromInt((int)result
);
8326 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "self", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (int)(arg1
)->GetOrientation();
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_FromInt((int)result
);
8352 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8359 (char *) "self",(char *) "alignment", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 Py_INCREF(Py_None
); resultobj
= Py_None
;
8381 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8387 PyObject
* obj1
= 0 ;
8389 (char *) "self",(char *) "size", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 Py_INCREF(Py_None
); resultobj
= Py_None
;
8413 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8420 (char *) "self",(char *) "orientation", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8426 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 Py_INCREF(Py_None
); resultobj
= Py_None
;
8442 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8445 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8447 return Py_BuildValue((char *)"");
8449 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxLayoutAlgorithm
*result
;
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8471 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 Py_INCREF(Py_None
); resultobj
= Py_None
;
8496 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8499 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8500 wxRect
*arg3
= (wxRect
*) NULL
;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8506 (char *) "self",(char *) "frame",(char *) "rect", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8515 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8537 wxFrame
*arg2
= (wxFrame
*) 0 ;
8538 wxWindow
*arg3
= (wxWindow
*) NULL
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8544 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8553 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8572 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8575 wxWindow
*arg2
= (wxWindow
*) 0 ;
8576 wxWindow
*arg3
= (wxWindow
*) NULL
;
8578 PyObject
* obj0
= 0 ;
8579 PyObject
* obj1
= 0 ;
8580 PyObject
* obj2
= 0 ;
8582 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8610 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8613 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8615 return Py_BuildValue((char *)"");
8617 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxWindow
*arg1
= (wxWindow
*) 0 ;
8620 int arg2
= (int) wxBORDER_NONE
;
8621 wxPopupWindow
*result
;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8625 (char *) "parent",(char *) "flags", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8632 arg2
= (int) SWIG_AsInt(obj1
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8649 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxPopupWindow
*result
;
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (wxPopupWindow
*)new wxPopupWindow();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8671 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8674 wxWindow
*arg2
= (wxWindow
*) 0 ;
8675 int arg3
= (int) wxBORDER_NONE
;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 PyObject
* obj2
= 0 ;
8681 (char *) "self",(char *) "parent",(char *) "flags", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8690 arg3
= (int) SWIG_AsInt(obj2
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8709 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8720 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8732 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 Py_INCREF(Py_None
); resultobj
= Py_None
;
8748 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8751 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8753 return Py_BuildValue((char *)"");
8755 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxWindow
*arg1
= (wxWindow
*) 0 ;
8758 int arg2
= (int) wxBORDER_NONE
;
8759 wxPyPopupTransientWindow
*result
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "parent",(char *) "style", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 arg2
= (int) SWIG_AsInt(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8787 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxPyPopupTransientWindow
*result
;
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8809 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8812 PyObject
*arg2
= (PyObject
*) 0 ;
8813 PyObject
*arg3
= (PyObject
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 PyObject
* obj2
= 0 ;
8818 (char *) "self",(char *) "self",(char *) "_class", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8840 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8843 wxWindow
*arg2
= (wxWindow
*) NULL
;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "focus", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->Popup(arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8876 (char *) "self", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8899 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8901 return Py_BuildValue((char *)"");
8903 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxWindow
*arg1
= (wxWindow
*) 0 ;
8906 wxString
*arg2
= 0 ;
8907 int arg3
= (int) 100 ;
8908 wxRect
*arg4
= (wxRect
*) NULL
;
8909 wxTipWindow
*result
;
8910 bool temp2
= False
;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 PyObject
* obj2
= 0 ;
8914 PyObject
* obj3
= 0 ;
8916 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 arg2
= wxString_in_helper(obj1
);
8924 if (arg2
== NULL
) SWIG_fail
;
8928 arg3
= (int) SWIG_AsInt(obj2
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8932 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8957 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8965 (char *) "self",(char *) "rectBound", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "self", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9017 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9019 return Py_BuildValue((char *)"");
9021 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxWindow
*arg1
= (wxWindow
*) 0 ;
9024 int arg2
= (int) wxID_ANY
;
9025 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9026 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9027 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9028 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9029 long arg5
= (long) 0 ;
9030 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9031 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9032 wxPyVScrolledWindow
*result
;
9035 bool temp6
= False
;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 PyObject
* obj2
= 0 ;
9039 PyObject
* obj3
= 0 ;
9040 PyObject
* obj4
= 0 ;
9041 PyObject
* obj5
= 0 ;
9043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 arg2
= (int) SWIG_AsInt(obj1
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9066 arg5
= (long) SWIG_AsLong(obj4
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9071 arg6
= wxString_in_helper(obj5
);
9072 if (arg6
== NULL
) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9098 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxPyVScrolledWindow
*result
;
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9120 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9123 PyObject
*arg2
= (PyObject
*) 0 ;
9124 PyObject
*arg3
= (PyObject
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9129 (char *) "self",(char *) "self",(char *) "_class", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9154 wxWindow
*arg2
= (wxWindow
*) 0 ;
9155 int arg3
= (int) wxID_ANY
;
9156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9160 long arg6
= (long) 0 ;
9161 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9166 bool temp7
= False
;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 PyObject
* obj2
= 0 ;
9170 PyObject
* obj3
= 0 ;
9171 PyObject
* obj4
= 0 ;
9172 PyObject
* obj5
= 0 ;
9173 PyObject
* obj6
= 0 ;
9175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 arg3
= (int) SWIG_AsInt(obj2
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9200 arg6
= (long) SWIG_AsLong(obj5
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9205 arg7
= wxString_in_helper(obj6
);
9206 if (arg7
== NULL
) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "count", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",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
= (size_t) SWIG_AsUnsignedLong(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->SetLineCount(arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 Py_INCREF(Py_None
); resultobj
= Py_None
;
9263 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9271 (char *) "self",(char *) "line", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9303 (char *) "self",(char *) "lines", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 arg2
= (int) SWIG_AsInt(obj1
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)(arg1
)->ScrollLines(arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9327 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9335 (char *) "self",(char *) "pages", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 arg2
= (int) SWIG_AsInt(obj1
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (bool)(arg1
)->ScrollPages(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9366 (char *) "self",(char *) "line", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 (arg1
)->RefreshLine(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9395 PyObject
* obj2
= 0 ;
9397 (char *) "self",(char *) "from",(char *) "to", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 (arg1
)->RefreshLines(arg2
,arg3
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9421 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9431 (char *) "self",(char *) "x",(char *) "y", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9437 arg2
= (int) SWIG_AsInt(obj1
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9439 arg3
= (int) SWIG_AsInt(obj2
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_FromInt((int)result
);
9455 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9464 (char *) "self",(char *) "pt", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_FromInt((int)result
);
9488 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 (arg1
)->RefreshAll();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 Py_INCREF(Py_None
); resultobj
= Py_None
;
9513 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "self", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9539 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "self", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9565 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9591 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9599 (char *) "self",(char *) "line", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9626 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9628 return Py_BuildValue((char *)"");
9630 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9631 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9636 static PyObject
*_wrap_VListBoxNameStr_get() {
9641 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9643 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9650 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxWindow
*arg1
= (wxWindow
*) 0 ;
9653 int arg2
= (int) wxID_ANY
;
9654 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9655 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9656 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9657 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9658 long arg5
= (long) 0 ;
9659 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9660 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9661 wxPyVListBox
*result
;
9664 bool temp6
= False
;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 PyObject
* obj2
= 0 ;
9668 PyObject
* obj3
= 0 ;
9669 PyObject
* obj4
= 0 ;
9670 PyObject
* obj5
= 0 ;
9672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 arg2
= (int) SWIG_AsInt(obj1
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9685 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9691 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9695 arg5
= (long) SWIG_AsLong(obj4
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9700 arg6
= wxString_in_helper(obj5
);
9701 if (arg6
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9727 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxPyVListBox
*result
;
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxPyVListBox
*)new wxPyVListBox();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9749 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9752 PyObject
*arg2
= (PyObject
*) 0 ;
9753 PyObject
*arg3
= (PyObject
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9758 (char *) "self",(char *) "self",(char *) "_class", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 Py_INCREF(Py_None
); resultobj
= Py_None
;
9780 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9783 wxWindow
*arg2
= (wxWindow
*) 0 ;
9784 int arg3
= (int) wxID_ANY
;
9785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9789 long arg6
= (long) 0 ;
9790 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9795 bool temp7
= False
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9799 PyObject
* obj3
= 0 ;
9800 PyObject
* obj4
= 0 ;
9801 PyObject
* obj5
= 0 ;
9802 PyObject
* obj6
= 0 ;
9804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 arg3
= (int) SWIG_AsInt(obj2
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9819 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9825 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9829 arg6
= (long) SWIG_AsLong(obj5
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9834 arg7
= wxString_in_helper(obj6
);
9835 if (arg7
== NULL
) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9889 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9917 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_FromInt((int)result
);
9943 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9951 (char *) "self",(char *) "item", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9975 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9983 (char *) "self",(char *) "item", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10007 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10033 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10036 unsigned long *arg2
= 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self",(char *) "cookie", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10050 if (arg2
== NULL
) {
10051 PyErr_SetString(PyExc_TypeError
,"null reference");
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_FromInt((int)result
);
10068 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10071 unsigned long *arg2
= 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "cookie", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10085 if (arg2
== NULL
) {
10086 PyErr_SetString(PyExc_TypeError
,"null reference");
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_FromInt((int)result
);
10103 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 wxPoint
* resultptr
;
10124 resultptr
= new wxPoint((wxPoint
&) result
);
10125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10133 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10149 result
= (wxColour
*) &_result_ref
;
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10162 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self",(char *) "count", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 (arg1
)->SetItemCount(arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10191 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 Py_INCREF(Py_None
); resultobj
= Py_None
;
10216 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self",(char *) "selection", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10229 arg2
= (int) SWIG_AsInt(obj1
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 (arg1
)->SetSelection(arg2
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10249 bool arg3
= (bool) True
;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 PyObject
* obj2
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self",(char *) "item",(char *) "select", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10261 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 arg3
= (bool) SWIG_AsBool(obj2
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "from",(char *) "to", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10301 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10319 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "item", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 (arg1
)->Toggle(arg2
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10348 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (bool)(arg1
)->SelectAll();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10376 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (bool)(arg1
)->DeselectAll();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10404 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10407 wxPoint
*arg2
= 0 ;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self",(char *) "pt", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "x",(char *) "y", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 arg2
= (int) SWIG_AsInt(obj1
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10453 arg3
= (int) SWIG_AsInt(obj2
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 (arg1
)->SetMargins(arg2
,arg3
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 Py_INCREF(Py_None
); resultobj
= Py_None
;
10469 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10472 wxColour
*arg2
= 0 ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self",(char *) "col", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 Py_INCREF(Py_None
); resultobj
= Py_None
;
10501 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10504 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10506 return Py_BuildValue((char *)"");
10508 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxWindow
*arg1
= (wxWindow
*) 0 ;
10511 int arg2
= (int) wxID_ANY
;
10512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10516 long arg5
= (long) 0 ;
10517 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10519 wxPyHtmlListBox
*result
;
10522 bool temp6
= False
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 PyObject
* obj2
= 0 ;
10526 PyObject
* obj3
= 0 ;
10527 PyObject
* obj4
= 0 ;
10528 PyObject
* obj5
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 arg2
= (int) SWIG_AsInt(obj1
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10553 arg5
= (long) SWIG_AsLong(obj4
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10558 arg6
= wxString_in_helper(obj5
);
10559 if (arg6
== NULL
) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10585 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxPyHtmlListBox
*result
;
10588 char *kwnames
[] = {
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10607 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
;
10609 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10610 PyObject
*arg2
= (PyObject
*) 0 ;
10611 PyObject
*arg3
= (PyObject
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 PyObject
* obj2
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "self",(char *) "_class", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10641 wxWindow
*arg2
= (wxWindow
*) 0 ;
10642 int arg3
= (int) wxID_ANY
;
10643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10647 long arg6
= (long) 0 ;
10648 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10653 bool temp7
= False
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 PyObject
* obj3
= 0 ;
10658 PyObject
* obj4
= 0 ;
10659 PyObject
* obj5
= 0 ;
10660 PyObject
* obj6
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 arg3
= (int) SWIG_AsInt(obj2
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10687 arg6
= (long) SWIG_AsLong(obj5
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10692 arg7
= wxString_in_helper(obj6
);
10693 if (arg7
== NULL
) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 (arg1
)->RefreshAll();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "count", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetItemCount(arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10778 wxFileSystem
*result
;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10791 result
= (wxFileSystem
*) &_result_ref
;
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10804 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10807 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10809 return Py_BuildValue((char *)"");
10811 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxTaskBarIcon
*result
;
10814 char *kwnames
[] = {
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10833 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10861 PyObject
* obj0
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 wxTaskBarIcon_Destroy(arg1
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10911 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10939 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10946 bool temp3
= False
;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10960 if (arg2
== NULL
) {
10961 PyErr_SetString(PyExc_TypeError
,"null reference");
10966 arg3
= wxString_in_helper(obj2
);
10967 if (arg3
== NULL
) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10995 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)(arg1
)->RemoveIcon();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11026 wxMenu
*arg2
= (wxMenu
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "menu", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (bool)(arg1
)->PopupMenu(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11060 return Py_BuildValue((char *)"");
11062 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11065 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11066 wxTaskBarIconEvent
*result
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "evtType",(char *) "tbIcon", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11074 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11092 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11095 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11097 return Py_BuildValue((char *)"");
11099 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11100 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11105 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11110 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11112 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11119 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11120 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11125 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11130 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11132 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11139 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11140 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11145 static PyObject
*_wrap_DirDialogNameStr_get() {
11150 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11152 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11159 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11160 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11165 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11170 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11172 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11179 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11180 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11185 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11190 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11192 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11199 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11200 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11205 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11210 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11212 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11219 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxColourData
*result
;
11222 char *kwnames
[] = {
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (wxColourData
*)new wxColourData();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11241 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxColourData
*arg1
= (wxColourData
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 Py_INCREF(Py_None
); resultobj
= Py_None
;
11266 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxColourData
*arg1
= (wxColourData
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)(arg1
)->GetChooseFull();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11294 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxColourData
*arg1
= (wxColourData
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (arg1
)->GetColour();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 wxColour
* resultptr
;
11315 resultptr
= new wxColour((wxColour
&) result
);
11316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11324 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxColourData
*arg1
= (wxColourData
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "i", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 arg2
= (int) SWIG_AsInt(obj1
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (arg1
)->GetCustomColour(arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 wxColour
* resultptr
;
11349 resultptr
= new wxColour((wxColour
&) result
);
11350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11358 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxColourData
*arg1
= (wxColourData
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "flag", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 arg2
= (int) SWIG_AsInt(obj1
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 (arg1
)->SetChooseFull(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 Py_INCREF(Py_None
); resultobj
= Py_None
;
11387 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxColourData
*arg1
= (wxColourData
*) 0 ;
11390 wxColour
*arg2
= 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "colour", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetColour((wxColour
const &)*arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxColourData
*arg1
= (wxColourData
*) 0 ;
11423 wxColour
*arg3
= 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 PyObject
* obj2
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "i",(char *) "colour", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11435 arg2
= (int) SWIG_AsInt(obj1
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11460 return Py_BuildValue((char *)"");
11462 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxWindow
*arg1
= (wxWindow
*) 0 ;
11465 wxColourData
*arg2
= (wxColourData
*) NULL
;
11466 wxColourDialog
*result
;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "parent",(char *) "data", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11494 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11497 wxColourData
*result
;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11510 result
= (wxColourData
*) &_result_ref
;
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11523 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxWindow
*arg1
= (wxWindow
*) 0 ;
11533 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11534 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11537 long arg4
= (long) 0 ;
11538 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11540 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11541 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11542 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11543 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11544 wxDirDialog
*result
;
11545 bool temp2
= False
;
11546 bool temp3
= False
;
11549 bool temp7
= False
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 PyObject
* obj3
= 0 ;
11554 PyObject
* obj4
= 0 ;
11555 PyObject
* obj5
= 0 ;
11556 PyObject
* obj6
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 arg2
= wxString_in_helper(obj1
);
11567 if (arg2
== NULL
) SWIG_fail
;
11573 arg3
= wxString_in_helper(obj2
);
11574 if (arg3
== NULL
) SWIG_fail
;
11579 arg4
= (long) SWIG_AsLong(obj3
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11585 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11591 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11596 arg7
= wxString_in_helper(obj6
);
11597 if (arg7
== NULL
) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11639 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (arg1
)->GetPath();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11671 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (arg1
)->GetMessage();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11703 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (long)(arg1
)->GetStyle();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_FromLong((long)result
);
11729 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11732 wxString
*arg2
= 0 ;
11733 bool temp2
= False
;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "message", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11744 arg2
= wxString_in_helper(obj1
);
11745 if (arg2
== NULL
) SWIG_fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 (arg1
)->SetMessage((wxString
const &)*arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 Py_INCREF(Py_None
); resultobj
= Py_None
;
11770 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11773 wxString
*arg2
= 0 ;
11774 bool temp2
= False
;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self",(char *) "path", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11785 arg2
= wxString_in_helper(obj1
);
11786 if (arg2
== NULL
) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 (arg1
)->SetPath((wxString
const &)*arg2
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 Py_INCREF(Py_None
); resultobj
= Py_None
;
11811 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11814 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11816 return Py_BuildValue((char *)"");
11818 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxWindow
*arg1
= (wxWindow
*) 0 ;
11821 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11822 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11825 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11826 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11827 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11828 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11829 long arg6
= (long) 0 ;
11830 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11831 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11832 wxFileDialog
*result
;
11833 bool temp2
= False
;
11834 bool temp3
= False
;
11835 bool temp4
= False
;
11836 bool temp5
= False
;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 PyObject
* obj2
= 0 ;
11841 PyObject
* obj3
= 0 ;
11842 PyObject
* obj4
= 0 ;
11843 PyObject
* obj5
= 0 ;
11844 PyObject
* obj6
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 arg2
= wxString_in_helper(obj1
);
11855 if (arg2
== NULL
) SWIG_fail
;
11861 arg3
= wxString_in_helper(obj2
);
11862 if (arg3
== NULL
) SWIG_fail
;
11868 arg4
= wxString_in_helper(obj3
);
11869 if (arg4
== NULL
) SWIG_fail
;
11875 arg5
= wxString_in_helper(obj4
);
11876 if (arg5
== NULL
) SWIG_fail
;
11881 arg6
= (long) SWIG_AsLong(obj5
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11887 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11936 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11939 wxString
*arg2
= 0 ;
11940 bool temp2
= False
;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "message", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 arg2
= wxString_in_helper(obj1
);
11952 if (arg2
== NULL
) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->SetMessage((wxString
const &)*arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11980 wxString
*arg2
= 0 ;
11981 bool temp2
= False
;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self",(char *) "path", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11992 arg2
= wxString_in_helper(obj1
);
11993 if (arg2
== NULL
) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 (arg1
)->SetPath((wxString
const &)*arg2
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12021 wxString
*arg2
= 0 ;
12022 bool temp2
= False
;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "dir", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12033 arg2
= wxString_in_helper(obj1
);
12034 if (arg2
== NULL
) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12062 wxString
*arg2
= 0 ;
12063 bool temp2
= False
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "name", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 arg2
= wxString_in_helper(obj1
);
12075 if (arg2
== NULL
) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetFilename((wxString
const &)*arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12103 wxString
*arg2
= 0 ;
12104 bool temp2
= False
;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "wildCard", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "style", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12154 arg2
= (long) SWIG_AsLong(obj1
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetStyle(arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 Py_INCREF(Py_None
); resultobj
= Py_None
;
12170 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "filterIndex", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 arg2
= (int) SWIG_AsInt(obj1
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 (arg1
)->SetFilterIndex(arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 Py_INCREF(Py_None
); resultobj
= Py_None
;
12199 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12231 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12263 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12295 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 char *kwnames
[] = {
12301 (char *) "self", NULL
12304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12327 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12359 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_FromLong((long)result
);
12385 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_FromInt((int)result
);
12411 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= result
;
12437 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
;
12463 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12468 return Py_BuildValue((char *)"");
12470 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxWindow
*arg1
= (wxWindow
*) 0 ;
12473 wxString
*arg2
= 0 ;
12474 wxString
*arg3
= 0 ;
12475 int arg4
= (int) 0 ;
12476 wxString
*arg5
= (wxString
*) 0 ;
12477 long arg6
= (long) wxCHOICEDLG_STYLE
;
12478 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12479 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12480 wxMultiChoiceDialog
*result
;
12481 bool temp2
= False
;
12482 bool temp3
= False
;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 PyObject
* obj2
= 0 ;
12487 PyObject
* obj3
= 0 ;
12488 PyObject
* obj4
= 0 ;
12489 PyObject
* obj5
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 arg2
= wxString_in_helper(obj1
);
12499 if (arg2
== NULL
) SWIG_fail
;
12503 arg3
= wxString_in_helper(obj2
);
12504 if (arg3
== NULL
) SWIG_fail
;
12509 arg4
= PyList_Size(obj3
);
12510 arg5
= wxString_LIST_helper(obj3
);
12511 if (arg5
== NULL
) SWIG_fail
;
12515 arg6
= (long) SWIG_AsLong(obj4
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12521 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12541 if (arg5
) delete [] arg5
;
12554 if (arg5
) delete [] arg5
;
12560 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12563 wxArrayInt
*arg2
= 0 ;
12564 bool temp2
= False
;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self",(char *) "selections", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 if (! PySequence_Check(obj1
)) {
12576 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12579 arg2
= new wxArrayInt
;
12581 int i
, len
=PySequence_Length(obj1
);
12582 for (i
=0; i
<len
; i
++) {
12583 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12584 PyObject
* number
= PyNumber_Int(item
);
12585 arg2
->Add(PyInt_AS_LONG(number
));
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 if (temp2
) delete arg2
;
12604 if (temp2
) delete arg2
;
12610 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= result
;
12636 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12639 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12641 return Py_BuildValue((char *)"");
12643 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxWindow
*arg1
= (wxWindow
*) 0 ;
12646 wxString
*arg2
= 0 ;
12647 wxString
*arg3
= 0 ;
12649 wxString
*arg5
= (wxString
*) 0 ;
12650 long arg6
= (long) wxCHOICEDLG_STYLE
;
12651 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12652 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12653 wxSingleChoiceDialog
*result
;
12654 bool temp2
= False
;
12655 bool temp3
= False
;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj3
= 0 ;
12661 PyObject
* obj4
= 0 ;
12662 PyObject
* obj5
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 arg2
= wxString_in_helper(obj1
);
12672 if (arg2
== NULL
) SWIG_fail
;
12676 arg3
= wxString_in_helper(obj2
);
12677 if (arg3
== NULL
) SWIG_fail
;
12681 arg4
= PyList_Size(obj3
);
12682 arg5
= wxString_LIST_helper(obj3
);
12683 if (arg5
== NULL
) SWIG_fail
;
12686 arg6
= (long) SWIG_AsLong(obj4
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12692 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12712 if (arg5
) delete [] arg5
;
12725 if (arg5
) delete [] arg5
;
12731 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (int)(arg1
)->GetSelection();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_FromInt((int)result
);
12757 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (arg1
)->GetStringSelection();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12789 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self",(char *) "sel", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 arg2
= (int) SWIG_AsInt(obj1
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetSelection(arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12821 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12823 return Py_BuildValue((char *)"");
12825 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxWindow
*arg1
= (wxWindow
*) 0 ;
12828 wxString
*arg2
= 0 ;
12829 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12831 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12832 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12833 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12834 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12835 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12836 wxTextEntryDialog
*result
;
12837 bool temp2
= False
;
12838 bool temp3
= False
;
12839 bool temp4
= False
;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 PyObject
* obj2
= 0 ;
12844 PyObject
* obj3
= 0 ;
12845 PyObject
* obj4
= 0 ;
12846 PyObject
* obj5
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 arg2
= wxString_in_helper(obj1
);
12856 if (arg2
== NULL
) SWIG_fail
;
12861 arg3
= wxString_in_helper(obj2
);
12862 if (arg3
== NULL
) SWIG_fail
;
12868 arg4
= wxString_in_helper(obj3
);
12869 if (arg4
== NULL
) SWIG_fail
;
12874 arg5
= (long) SWIG_AsLong(obj4
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12880 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12921 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12925 PyObject
* obj0
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (arg1
)->GetValue();
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12953 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12956 wxString
*arg2
= 0 ;
12957 bool temp2
= False
;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self",(char *) "value", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 arg2
= wxString_in_helper(obj1
);
12969 if (arg2
== NULL
) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 (arg1
)->SetValue((wxString
const &)*arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12999 return Py_BuildValue((char *)"");
13001 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxFontData
*result
;
13004 char *kwnames
[] = {
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxFontData
*)new wxFontData();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13023 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxFontData
*arg1
= (wxFontData
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 Py_INCREF(Py_None
); resultobj
= Py_None
;
13048 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxFontData
*arg1
= (wxFontData
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "enable", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 arg2
= (bool) SWIG_AsBool(obj1
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->EnableEffects(arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFontData
*arg1
= (wxFontData
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->GetAllowSymbols();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13105 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxFontData
*arg1
= (wxFontData
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (arg1
)->GetColour();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13125 wxColour
* resultptr
;
13126 resultptr
= new wxColour((wxColour
&) result
);
13127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13135 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxFontData
*arg1
= (wxFontData
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (arg1
)->GetChosenFont();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 wxFont
* resultptr
;
13156 resultptr
= new wxFont((wxFont
&) result
);
13157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13165 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxFontData
*arg1
= (wxFontData
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (bool)(arg1
)->GetEnableEffects();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13193 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxFontData
*arg1
= (wxFontData
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (arg1
)->GetInitialFont();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 wxFont
* resultptr
;
13214 resultptr
= new wxFont((wxFont
&) result
);
13215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13223 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxFontData
*arg1
= (wxFontData
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)(arg1
)->GetShowHelp();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxFontData
*arg1
= (wxFontData
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "allowSymbols", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= (bool) SWIG_AsBool(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->SetAllowSymbols(arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxFontData
*arg1
= (wxFontData
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "font", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13296 if (arg2
== NULL
) {
13297 PyErr_SetString(PyExc_TypeError
,"null reference");
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13314 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxFontData
*arg1
= (wxFontData
*) 0 ;
13317 wxColour
*arg2
= 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "colour", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->SetColour((wxColour
const &)*arg2
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 Py_INCREF(Py_None
); resultobj
= Py_None
;
13346 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxFontData
*arg1
= (wxFontData
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "font", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13362 if (arg2
== NULL
) {
13363 PyErr_SetString(PyExc_TypeError
,"null reference");
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxFontData
*arg1
= (wxFontData
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 PyObject
* obj2
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "min",(char *) "max", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 arg2
= (int) SWIG_AsInt(obj1
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13397 arg3
= (int) SWIG_AsInt(obj2
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->SetRange(arg2
,arg3
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxFontData
*arg1
= (wxFontData
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "showHelp", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 arg2
= (bool) SWIG_AsBool(obj1
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 (arg1
)->SetShowHelp(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 Py_INCREF(Py_None
); resultobj
= Py_None
;
13442 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13445 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13447 return Py_BuildValue((char *)"");
13449 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxWindow
*arg1
= (wxWindow
*) 0 ;
13452 wxFontData
*arg2
= 0 ;
13453 wxFontDialog
*result
;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "parent",(char *) "data", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13466 if (arg2
== NULL
) {
13467 PyErr_SetString(PyExc_TypeError
,"null reference");
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13484 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13487 wxFontData
*result
;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13500 result
= (wxFontData
*) &_result_ref
;
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13513 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13516 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13518 return Py_BuildValue((char *)"");
13520 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxWindow
*arg1
= (wxWindow
*) 0 ;
13523 wxString
*arg2
= 0 ;
13524 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13526 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13529 wxMessageDialog
*result
;
13530 bool temp2
= False
;
13531 bool temp3
= False
;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 PyObject
* obj2
= 0 ;
13536 PyObject
* obj3
= 0 ;
13537 PyObject
* obj4
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13546 arg2
= wxString_in_helper(obj1
);
13547 if (arg2
== NULL
) SWIG_fail
;
13552 arg3
= wxString_in_helper(obj2
);
13553 if (arg3
== NULL
) SWIG_fail
;
13558 arg4
= (long) SWIG_AsLong(obj3
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13597 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13600 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13602 return Py_BuildValue((char *)"");
13604 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxString
*arg1
= 0 ;
13607 wxString
*arg2
= 0 ;
13608 int arg3
= (int) 100 ;
13609 wxWindow
*arg4
= (wxWindow
*) NULL
;
13610 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13611 wxProgressDialog
*result
;
13612 bool temp1
= False
;
13613 bool temp2
= False
;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 PyObject
* obj2
= 0 ;
13617 PyObject
* obj3
= 0 ;
13618 PyObject
* obj4
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13625 arg1
= wxString_in_helper(obj0
);
13626 if (arg1
== NULL
) SWIG_fail
;
13630 arg2
= wxString_in_helper(obj1
);
13631 if (arg2
== NULL
) SWIG_fail
;
13635 arg3
= (int) SWIG_AsInt(obj2
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 arg5
= (int) SWIG_AsInt(obj4
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13676 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13680 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13681 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13683 bool temp3
= False
;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 arg2
= (int) SWIG_AsInt(obj1
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 arg3
= wxString_in_helper(obj2
);
13699 if (arg3
== NULL
) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13755 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13757 return Py_BuildValue((char *)"");
13759 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13762 int arg2
= (int) 0 ;
13763 wxFindDialogEvent
*result
;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "commandType",(char *) "id", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13772 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13776 arg2
= (int) SWIG_AsInt(obj1
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13793 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)(arg1
)->GetFlags();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_FromInt((int)result
);
13819 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 wxString
const &_result_ref
= (arg1
)->GetFindString();
13835 result
= (wxString
*) &_result_ref
;
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13854 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13856 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 char *kwnames
[] = {
13860 (char *) "self", NULL
13863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13870 result
= (wxString
*) &_result_ref
;
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13889 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13892 wxFindReplaceDialog
*result
;
13893 PyObject
* obj0
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self", NULL
13898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13915 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "flags", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13928 arg2
= (int) SWIG_AsInt(obj1
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 (arg1
)->SetFlags(arg2
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 Py_INCREF(Py_None
); resultobj
= Py_None
;
13944 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13947 wxString
*arg2
= 0 ;
13948 bool temp2
= False
;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "str", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 arg2
= wxString_in_helper(obj1
);
13960 if (arg2
== NULL
) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 (arg1
)->SetFindString((wxString
const &)*arg2
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 Py_INCREF(Py_None
); resultobj
= Py_None
;
13985 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13988 wxString
*arg2
= 0 ;
13989 bool temp2
= False
;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "str", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 arg2
= wxString_in_helper(obj1
);
14001 if (arg2
== NULL
) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14026 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14029 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14031 return Py_BuildValue((char *)"");
14033 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 int arg1
= (int) 0 ;
14036 wxFindReplaceData
*result
;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "flags", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14044 arg1
= (int) SWIG_AsInt(obj0
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14061 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14086 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 wxString
const &_result_ref
= (arg1
)->GetFindString();
14102 result
= (wxString
*) &_result_ref
;
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14121 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14137 result
= (wxString
*) &_result_ref
;
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14147 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14156 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (int)(arg1
)->GetFlags();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_FromInt((int)result
);
14182 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "flags", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14195 arg2
= (int) SWIG_AsInt(obj1
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->SetFlags(arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 Py_INCREF(Py_None
); resultobj
= Py_None
;
14211 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14214 wxString
*arg2
= 0 ;
14215 bool temp2
= False
;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "str", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 arg2
= wxString_in_helper(obj1
);
14227 if (arg2
== NULL
) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->SetFindString((wxString
const &)*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14255 wxString
*arg2
= 0 ;
14256 bool temp2
= False
;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "str", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg2
= wxString_in_helper(obj1
);
14268 if (arg2
== NULL
) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14298 return Py_BuildValue((char *)"");
14300 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxWindow
*arg1
= (wxWindow
*) 0 ;
14303 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14304 wxString
*arg3
= 0 ;
14305 int arg4
= (int) 0 ;
14306 wxFindReplaceDialog
*result
;
14307 bool temp3
= False
;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 PyObject
* obj2
= 0 ;
14311 PyObject
* obj3
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14322 arg3
= wxString_in_helper(obj2
);
14323 if (arg3
== NULL
) SWIG_fail
;
14327 arg4
= (int) SWIG_AsInt(obj3
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14352 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxFindReplaceDialog
*result
;
14355 char *kwnames
[] = {
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14374 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14377 wxWindow
*arg2
= (wxWindow
*) 0 ;
14378 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14379 wxString
*arg4
= 0 ;
14380 int arg5
= (int) 0 ;
14382 bool temp4
= False
;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 PyObject
* obj3
= 0 ;
14387 PyObject
* obj4
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 arg4
= wxString_in_helper(obj3
);
14401 if (arg4
== NULL
) SWIG_fail
;
14405 arg5
= (int) SWIG_AsInt(obj4
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14435 wxFindReplaceData
*result
;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14458 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14461 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self",(char *) "data", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->SetData(arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14490 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14492 return Py_BuildValue((char *)"");
14494 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxWindow
*arg1
= (wxWindow
*) 0 ;
14498 wxString
*arg3
= 0 ;
14499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14503 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14504 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14506 wxMDIParentFrame
*result
;
14507 bool temp3
= False
;
14510 bool temp7
= False
;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 PyObject
* obj2
= 0 ;
14514 PyObject
* obj3
= 0 ;
14515 PyObject
* obj4
= 0 ;
14516 PyObject
* obj5
= 0 ;
14517 PyObject
* obj6
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 arg2
= (int const) SWIG_AsInt(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 arg3
= wxString_in_helper(obj2
);
14529 if (arg3
== NULL
) SWIG_fail
;
14535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14545 arg6
= (long) SWIG_AsLong(obj5
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14550 arg7
= wxString_in_helper(obj6
);
14551 if (arg7
== NULL
) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14585 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxMDIParentFrame
*result
;
14588 char *kwnames
[] = {
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14607 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14610 wxWindow
*arg2
= (wxWindow
*) 0 ;
14612 wxString
*arg4
= 0 ;
14613 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14614 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14615 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14616 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14617 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14618 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14619 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14621 bool temp4
= False
;
14624 bool temp8
= False
;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 PyObject
* obj2
= 0 ;
14628 PyObject
* obj3
= 0 ;
14629 PyObject
* obj4
= 0 ;
14630 PyObject
* obj5
= 0 ;
14631 PyObject
* obj6
= 0 ;
14632 PyObject
* obj7
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 arg3
= (int const) SWIG_AsInt(obj2
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 arg4
= wxString_in_helper(obj3
);
14646 if (arg4
== NULL
) SWIG_fail
;
14652 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14658 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14662 arg7
= (long) SWIG_AsLong(obj6
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14667 arg8
= wxString_in_helper(obj7
);
14668 if (arg8
== NULL
) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14704 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->ActivateNext();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->ActivatePrevious();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 Py_INCREF(Py_None
); resultobj
= Py_None
;
14754 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 (arg1
)->ArrangeIcons();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14779 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14807 wxMDIChildFrame
*result
;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= wxPyMake_wxObject(result
);
14832 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14835 wxMDIClientWindow
*result
;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= wxPyMake_wxObject(result
);
14860 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxWindow
*)(arg1
)->GetToolBar();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= wxPyMake_wxObject(result
);
14888 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= wxPyMake_wxObject(result
);
14916 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14919 wxMenu
*arg2
= (wxMenu
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "menu", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->SetWindowMenu(arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14948 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 PyObject
* obj1
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self",(char *) "toolbar", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->SetToolBar(arg2
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 Py_INCREF(Py_None
); resultobj
= Py_None
;
14974 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
;
14976 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 Py_INCREF(Py_None
); resultobj
= Py_None
;
14999 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15002 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15004 return Py_BuildValue((char *)"");
15006 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15010 wxString
*arg3
= 0 ;
15011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15013 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15014 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15015 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15016 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15017 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15018 wxMDIChildFrame
*result
;
15019 bool temp3
= False
;
15022 bool temp7
= False
;
15023 PyObject
* obj0
= 0 ;
15024 PyObject
* obj1
= 0 ;
15025 PyObject
* obj2
= 0 ;
15026 PyObject
* obj3
= 0 ;
15027 PyObject
* obj4
= 0 ;
15028 PyObject
* obj5
= 0 ;
15029 PyObject
* obj6
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 arg2
= (int const) SWIG_AsInt(obj1
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 arg3
= wxString_in_helper(obj2
);
15041 if (arg3
== NULL
) SWIG_fail
;
15047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15057 arg6
= (long) SWIG_AsLong(obj5
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15062 arg7
= wxString_in_helper(obj6
);
15063 if (arg7
== NULL
) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= wxPyMake_wxObject(result
);
15099 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMDIChildFrame
*result
;
15102 char *kwnames
[] = {
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= wxPyMake_wxObject(result
);
15123 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15126 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15128 wxString
*arg4
= 0 ;
15129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15133 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15134 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15137 bool temp4
= False
;
15140 bool temp8
= False
;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 PyObject
* obj2
= 0 ;
15144 PyObject
* obj3
= 0 ;
15145 PyObject
* obj4
= 0 ;
15146 PyObject
* obj5
= 0 ;
15147 PyObject
* obj6
= 0 ;
15148 PyObject
* obj7
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 arg3
= (int const) SWIG_AsInt(obj2
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 arg4
= wxString_in_helper(obj3
);
15162 if (arg4
== NULL
) SWIG_fail
;
15168 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15174 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15178 arg7
= (long) SWIG_AsLong(obj6
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15183 arg8
= wxString_in_helper(obj7
);
15184 if (arg8
== NULL
) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->Activate();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self",(char *) "maximize", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15258 arg2
= (bool) SWIG_AsBool(obj1
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 (arg1
)->Maximize(arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15302 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15304 return Py_BuildValue((char *)"");
15306 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15309 long arg2
= (long) 0 ;
15310 wxMDIClientWindow
*result
;
15311 PyObject
* obj0
= 0 ;
15312 PyObject
* obj1
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "parent",(char *) "style", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 arg2
= (long) SWIG_AsLong(obj1
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= wxPyMake_wxObject(result
);
15340 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxMDIClientWindow
*result
;
15343 char *kwnames
[] = {
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= wxPyMake_wxObject(result
);
15364 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15367 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15368 long arg3
= (long) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 PyObject
* obj2
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self",(char *) "parent",(char *) "style", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 arg3
= (long) SWIG_AsLong(obj2
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15402 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15405 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15407 return Py_BuildValue((char *)"");
15409 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxWindow
*arg1
= (wxWindow
*) 0 ;
15413 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15414 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15415 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15416 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15417 long arg5
= (long) 0 ;
15418 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15419 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15420 wxPyWindow
*result
;
15423 bool temp6
= False
;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 PyObject
* obj2
= 0 ;
15427 PyObject
* obj3
= 0 ;
15428 PyObject
* obj4
= 0 ;
15429 PyObject
* obj5
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 arg2
= (int const) SWIG_AsInt(obj1
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15442 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15448 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15452 arg5
= (long) SWIG_AsLong(obj4
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15457 arg6
= wxString_in_helper(obj5
);
15458 if (arg6
== NULL
) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15484 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxPyWindow
*result
;
15487 char *kwnames
[] = {
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxPyWindow
*)new wxPyWindow();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15506 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15509 PyObject
*arg2
= (PyObject
*) 0 ;
15510 PyObject
*arg3
= (PyObject
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 PyObject
* obj2
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "self",(char *) "self",(char *) "_class", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 Py_INCREF(Py_None
); resultobj
= Py_None
;
15537 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 PyObject
* obj3
= 0 ;
15548 PyObject
* obj4
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 arg2
= (int) SWIG_AsInt(obj1
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15558 arg3
= (int) SWIG_AsInt(obj2
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15560 arg4
= (int) SWIG_AsInt(obj3
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15562 arg5
= (int) SWIG_AsInt(obj4
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15585 int arg6
= (int) wxSIZE_AUTO
;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 PyObject
* obj3
= 0 ;
15590 PyObject
* obj4
= 0 ;
15591 PyObject
* obj5
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 arg2
= (int) SWIG_AsInt(obj1
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15601 arg3
= (int) SWIG_AsInt(obj2
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15603 arg4
= (int) SWIG_AsInt(obj3
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15605 arg5
= (int) SWIG_AsInt(obj4
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 arg6
= (int) SWIG_AsInt(obj5
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 Py_INCREF(Py_None
); resultobj
= Py_None
;
15625 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 PyObject
* obj2
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self",(char *) "width",(char *) "height", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 arg2
= (int) SWIG_AsInt(obj1
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15642 arg3
= (int) SWIG_AsInt(obj2
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 PyObject
* obj2
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "x",(char *) "y", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= (int) SWIG_AsInt(obj1
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15675 arg3
= (int) SWIG_AsInt(obj2
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15694 int *arg2
= (int *) 0 ;
15695 int *arg3
= (int *) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15717 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15718 resultobj
= t_output_helper(resultobj
,o
);
15721 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15722 resultobj
= t_output_helper(resultobj
,o
);
15730 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15733 int *arg2
= (int *) 0 ;
15734 int *arg3
= (int *) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 Py_INCREF(Py_None
); resultobj
= Py_None
;
15756 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15757 resultobj
= t_output_helper(resultobj
,o
);
15760 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15761 resultobj
= t_output_helper(resultobj
,o
);
15769 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15772 int *arg2
= (int *) 0 ;
15773 int *arg3
= (int *) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15795 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15796 resultobj
= t_output_helper(resultobj
,o
);
15799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15800 resultobj
= t_output_helper(resultobj
,o
);
15808 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 wxSize
* resultptr
;
15829 resultptr
= new wxSize((wxSize
&) result
);
15830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15838 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 wxSize
* resultptr
;
15859 resultptr
= new wxSize((wxSize
&) result
);
15860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15868 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->base_InitDialog();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15893 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)(arg1
)->base_TransferDataToWindow();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15921 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15925 PyObject
* obj0
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15949 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (bool)(arg1
)->base_Validate();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15977 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 wxSize
* resultptr
;
16054 resultptr
= new wxSize((wxSize
&) result
);
16055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16063 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16066 wxWindow
*arg2
= (wxWindow
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "child", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->base_AddChild(arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 Py_INCREF(Py_None
); resultobj
= Py_None
;
16092 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16095 wxWindow
*arg2
= (wxWindow
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "child", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->base_RemoveChild(arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 Py_INCREF(Py_None
); resultobj
= Py_None
;
16121 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)(arg1
)->base_ShouldInheritColours();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16149 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16152 wxColour
*arg2
= 0 ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "self",(char *) "c", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16184 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16186 return Py_BuildValue((char *)"");
16188 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxWindow
*arg1
= (wxWindow
*) 0 ;
16192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16196 long arg5
= (long) 0 ;
16197 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16202 bool temp6
= False
;
16203 PyObject
* obj0
= 0 ;
16204 PyObject
* obj1
= 0 ;
16205 PyObject
* obj2
= 0 ;
16206 PyObject
* obj3
= 0 ;
16207 PyObject
* obj4
= 0 ;
16208 PyObject
* obj5
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 arg2
= (int const) SWIG_AsInt(obj1
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16231 arg5
= (long) SWIG_AsLong(obj4
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16236 arg6
= wxString_in_helper(obj5
);
16237 if (arg6
== NULL
) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16263 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16266 char *kwnames
[] = {
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxPyPanel
*)new wxPyPanel();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16285 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16288 PyObject
*arg2
= (PyObject
*) 0 ;
16289 PyObject
*arg3
= (PyObject
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self",(char *) "self",(char *) "_class", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 PyObject
* obj1
= 0 ;
16325 PyObject
* obj2
= 0 ;
16326 PyObject
* obj3
= 0 ;
16327 PyObject
* obj4
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16335 arg2
= (int) SWIG_AsInt(obj1
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16337 arg3
= (int) SWIG_AsInt(obj2
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16339 arg4
= (int) SWIG_AsInt(obj3
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16341 arg5
= (int) SWIG_AsInt(obj4
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16364 int arg6
= (int) wxSIZE_AUTO
;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 PyObject
* obj2
= 0 ;
16368 PyObject
* obj3
= 0 ;
16369 PyObject
* obj4
= 0 ;
16370 PyObject
* obj5
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16378 arg2
= (int) SWIG_AsInt(obj1
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16380 arg3
= (int) SWIG_AsInt(obj2
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16382 arg4
= (int) SWIG_AsInt(obj3
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16384 arg5
= (int) SWIG_AsInt(obj4
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 arg6
= (int) SWIG_AsInt(obj5
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 PyObject
* obj2
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self",(char *) "width",(char *) "height", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 arg2
= (int) SWIG_AsInt(obj1
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16421 arg3
= (int) SWIG_AsInt(obj2
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16437 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 PyObject
* obj2
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "x",(char *) "y", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (int) SWIG_AsInt(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16454 arg3
= (int) SWIG_AsInt(obj2
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 Py_INCREF(Py_None
); resultobj
= Py_None
;
16470 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16473 int *arg2
= (int *) 0 ;
16474 int *arg3
= (int *) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16496 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16497 resultobj
= t_output_helper(resultobj
,o
);
16500 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16501 resultobj
= t_output_helper(resultobj
,o
);
16509 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16512 int *arg2
= (int *) 0 ;
16513 int *arg3
= (int *) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 Py_INCREF(Py_None
); resultobj
= Py_None
;
16535 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16536 resultobj
= t_output_helper(resultobj
,o
);
16539 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16540 resultobj
= t_output_helper(resultobj
,o
);
16548 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16551 int *arg2
= (int *) 0 ;
16552 int *arg3
= (int *) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16569 wxPyEndAllowThreads(__tstate
);
16570 if (PyErr_Occurred()) SWIG_fail
;
16572 Py_INCREF(Py_None
); resultobj
= Py_None
;
16574 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16575 resultobj
= t_output_helper(resultobj
,o
);
16578 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16579 resultobj
= t_output_helper(resultobj
,o
);
16587 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16607 wxSize
* resultptr
;
16608 resultptr
= new wxSize((wxSize
&) result
);
16609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16617 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 wxSize
* resultptr
;
16638 resultptr
= new wxSize((wxSize
&) result
);
16639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16647 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 (arg1
)->base_InitDialog();
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 Py_INCREF(Py_None
); resultobj
= Py_None
;
16672 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (bool)(arg1
)->base_TransferDataToWindow();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 result
= (bool)(arg1
)->base_Validate();
16744 wxPyEndAllowThreads(__tstate
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16756 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16784 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16812 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 wxSize
* resultptr
;
16833 resultptr
= new wxSize((wxSize
&) result
);
16834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16842 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16845 wxWindow
*arg2
= (wxWindow
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self",(char *) "child", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 (arg1
)->base_AddChild(arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 Py_INCREF(Py_None
); resultobj
= Py_None
;
16871 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16874 wxWindow
*arg2
= (wxWindow
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "child", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 (arg1
)->base_RemoveChild(arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (bool)(arg1
)->base_ShouldInheritColours();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16928 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16931 wxColour
*arg2
= 0 ;
16933 PyObject
* obj0
= 0 ;
16934 PyObject
* obj1
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self",(char *) "c", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16963 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16965 return Py_BuildValue((char *)"");
16967 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxWindow
*arg1
= (wxWindow
*) 0 ;
16971 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16972 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16973 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16974 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16975 long arg5
= (long) 0 ;
16976 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16977 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16978 wxPyScrolledWindow
*result
;
16981 bool temp6
= False
;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 PyObject
* obj2
= 0 ;
16985 PyObject
* obj3
= 0 ;
16986 PyObject
* obj4
= 0 ;
16987 PyObject
* obj5
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 arg2
= (int const) SWIG_AsInt(obj1
);
16996 if (PyErr_Occurred()) SWIG_fail
;
17000 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17006 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17010 arg5
= (long) SWIG_AsLong(obj4
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17015 arg6
= wxString_in_helper(obj5
);
17016 if (arg6
== NULL
) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17042 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxPyScrolledWindow
*result
;
17045 char *kwnames
[] = {
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17064 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17067 PyObject
*arg2
= (PyObject
*) 0 ;
17068 PyObject
*arg3
= (PyObject
*) 0 ;
17069 PyObject
* obj0
= 0 ;
17070 PyObject
* obj1
= 0 ;
17071 PyObject
* obj2
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "self",(char *) "_class", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 PyObject
* obj2
= 0 ;
17105 PyObject
* obj3
= 0 ;
17106 PyObject
* obj4
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 arg2
= (int) SWIG_AsInt(obj1
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17116 arg3
= (int) SWIG_AsInt(obj2
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17118 arg4
= (int) SWIG_AsInt(obj3
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17120 arg5
= (int) SWIG_AsInt(obj4
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 Py_INCREF(Py_None
); resultobj
= Py_None
;
17136 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17143 int arg6
= (int) wxSIZE_AUTO
;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 PyObject
* obj2
= 0 ;
17147 PyObject
* obj3
= 0 ;
17148 PyObject
* obj4
= 0 ;
17149 PyObject
* obj5
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (int) SWIG_AsInt(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17159 arg3
= (int) SWIG_AsInt(obj2
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17161 arg4
= (int) SWIG_AsInt(obj3
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17163 arg5
= (int) SWIG_AsInt(obj4
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 arg6
= (int) SWIG_AsInt(obj5
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 Py_INCREF(Py_None
); resultobj
= Py_None
;
17183 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "width",(char *) "height", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 arg2
= (int) SWIG_AsInt(obj1
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17200 arg3
= (int) SWIG_AsInt(obj2
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 Py_INCREF(Py_None
); resultobj
= Py_None
;
17216 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 PyObject
* obj2
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "x",(char *) "y", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 arg2
= (int) SWIG_AsInt(obj1
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17233 arg3
= (int) SWIG_AsInt(obj2
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 Py_INCREF(Py_None
); resultobj
= Py_None
;
17249 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17252 int *arg2
= (int *) 0 ;
17253 int *arg3
= (int *) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 Py_INCREF(Py_None
); resultobj
= Py_None
;
17275 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17276 resultobj
= t_output_helper(resultobj
,o
);
17279 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17280 resultobj
= t_output_helper(resultobj
,o
);
17288 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17291 int *arg2
= (int *) 0 ;
17292 int *arg3
= (int *) 0 ;
17295 PyObject
* obj0
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17315 resultobj
= t_output_helper(resultobj
,o
);
17318 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17319 resultobj
= t_output_helper(resultobj
,o
);
17327 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17330 int *arg2
= (int *) 0 ;
17331 int *arg3
= (int *) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 Py_INCREF(Py_None
); resultobj
= Py_None
;
17353 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17354 resultobj
= t_output_helper(resultobj
,o
);
17357 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17358 resultobj
= t_output_helper(resultobj
,o
);
17366 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 wxSize
* resultptr
;
17387 resultptr
= new wxSize((wxSize
&) result
);
17388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17396 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 wxSize
* resultptr
;
17417 resultptr
= new wxSize((wxSize
&) result
);
17418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17426 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
;
17428 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17429 PyObject
* obj0
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->base_InitDialog();
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (bool)(arg1
)->base_TransferDataToWindow();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17479 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17511 PyObject
* obj0
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (bool)(arg1
)->base_Validate();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17535 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17591 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 wxSize
* resultptr
;
17612 resultptr
= new wxSize((wxSize
&) result
);
17613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17621 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17624 wxWindow
*arg2
= (wxWindow
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self",(char *) "child", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->base_AddChild(arg2
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17653 wxWindow
*arg2
= (wxWindow
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 PyObject
* obj1
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "child", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->base_RemoveChild(arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 Py_INCREF(Py_None
); resultobj
= Py_None
;
17679 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->base_ShouldInheritColours();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17707 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17710 wxColour
*arg2
= 0 ;
17712 PyObject
* obj0
= 0 ;
17713 PyObject
* obj1
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "c", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 Py_INCREF(Py_None
); resultobj
= Py_None
;
17739 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17742 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17744 return Py_BuildValue((char *)"");
17746 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17747 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17752 static PyObject
*_wrap_PrintoutTitleStr_get() {
17757 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17759 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17766 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17767 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17772 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17777 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17779 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17786 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPrintData
*result
;
17789 char *kwnames
[] = {
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (wxPrintData
*)new wxPrintData();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17808 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17811 PyObject
* obj0
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 result
= (int)(arg1
)->GetNoCopies();
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= SWIG_FromInt((int)result
);
17859 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (bool)(arg1
)->GetCollate();
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17887 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (int)(arg1
)->GetOrientation();
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_FromInt((int)result
);
17913 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)(arg1
)->Ok();
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17941 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17957 result
= (wxString
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17976 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (bool)(arg1
)->GetColour();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18004 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (int)(arg1
)->GetDuplex();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_FromInt((int)result
);
18030 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (int)(arg1
)->GetPaperId();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= SWIG_FromInt((int)result
);
18056 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18072 result
= (wxSize
*) &_result_ref
;
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18085 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (int)(arg1
)->GetQuality();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_FromInt((int)result
);
18111 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "v", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 arg2
= (int) SWIG_AsInt(obj1
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->SetNoCopies(arg2
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 Py_INCREF(Py_None
); resultobj
= Py_None
;
18140 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self",(char *) "flag", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 arg2
= (bool) SWIG_AsBool(obj1
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 (arg1
)->SetCollate(arg2
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 Py_INCREF(Py_None
); resultobj
= Py_None
;
18169 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "orient", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= (int) SWIG_AsInt(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetOrientation(arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18201 wxString
*arg2
= 0 ;
18202 bool temp2
= False
;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self",(char *) "name", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= wxString_in_helper(obj1
);
18214 if (arg2
== NULL
) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self",(char *) "colour", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 arg2
= (bool) SWIG_AsBool(obj1
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->SetColour(arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self",(char *) "duplex", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18281 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 Py_INCREF(Py_None
); resultobj
= Py_None
;
18297 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "sizeId", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "sz", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "quality", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18371 arg2
= (int) SWIG_AsInt(obj1
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetQuality(arg2
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18403 result
= (wxString
*) &_result_ref
;
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18422 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18438 result
= (wxString
*) &_result_ref
;
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18448 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18457 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18473 result
= (wxString
*) &_result_ref
;
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18483 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18492 static PyObject
*_wrap_PrintData_GetFilename(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_GetFilename",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();
18507 wxString
const &_result_ref
= (arg1
)->GetFilename();
18508 result
= (wxString
*) &_result_ref
;
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18527 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18543 result
= (wxString
*) &_result_ref
;
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18553 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18562 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (double)(arg1
)->GetPrinterScaleX();
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_FromDouble((double)result
);
18588 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (double)(arg1
)->GetPrinterScaleY();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_FromDouble((double)result
);
18614 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (long)(arg1
)->GetPrinterTranslateX();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_FromLong((long)result
);
18640 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (long)(arg1
)->GetPrinterTranslateY();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_FromLong((long)result
);
18666 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (int)(arg1
)->GetPrintMode();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_FromInt((int)result
);
18692 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18695 wxString
*arg2
= 0 ;
18696 bool temp2
= False
;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "command", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 arg2
= wxString_in_helper(obj1
);
18708 if (arg2
== NULL
) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18736 wxString
*arg2
= 0 ;
18737 bool temp2
= False
;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "options", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 arg2
= wxString_in_helper(obj1
);
18749 if (arg2
== NULL
) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18777 wxString
*arg2
= 0 ;
18778 bool temp2
= False
;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "command", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18789 arg2
= wxString_in_helper(obj1
);
18790 if (arg2
== NULL
) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18818 wxString
*arg2
= 0 ;
18819 bool temp2
= False
;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "filename", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 arg2
= wxString_in_helper(obj1
);
18831 if (arg2
== NULL
) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->SetFilename((wxString
const &)*arg2
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 Py_INCREF(Py_None
); resultobj
= Py_None
;
18856 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18859 wxString
*arg2
= 0 ;
18860 bool temp2
= False
;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self",(char *) "path", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 arg2
= wxString_in_helper(obj1
);
18872 if (arg2
== NULL
) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18897 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "x", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 arg2
= (double) SWIG_AsDouble(obj1
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 (arg1
)->SetPrinterScaleX(arg2
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "y", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 arg2
= (double) SWIG_AsDouble(obj1
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetPrinterScaleY(arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 PyObject
* obj2
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "x",(char *) "y", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 arg2
= (double) SWIG_AsDouble(obj1
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18972 arg3
= (double) SWIG_AsDouble(obj2
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 Py_INCREF(Py_None
); resultobj
= Py_None
;
18988 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "x", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= (long) SWIG_AsLong(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->SetPrinterTranslateX(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char *kwnames
[] = {
19024 (char *) "self",(char *) "y", NULL
19027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 arg2
= (long) SWIG_AsLong(obj1
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->SetPrinterTranslateY(arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 PyObject
* obj2
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "x",(char *) "y", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 arg2
= (long) SWIG_AsLong(obj1
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19063 arg3
= (long) SWIG_AsLong(obj2
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "printMode", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19111 wxOutputStream
*result
;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19134 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19137 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "outputstream", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->SetOutputStream(arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19166 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19168 return Py_BuildValue((char *)"");
19170 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxPageSetupDialogData
*result
;
19173 char *kwnames
[] = {
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19192 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "flag", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= (bool) SWIG_AsBool(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->EnableHelp(arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "flag", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (bool) SWIG_AsBool(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->EnableMargins(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 Py_INCREF(Py_None
); resultobj
= Py_None
;
19275 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "flag", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (bool) SWIG_AsBool(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->EnableOrientation(arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "flag", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 arg2
= (bool) SWIG_AsBool(obj1
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->EnablePaper(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "flag", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 arg2
= (bool) SWIG_AsBool(obj1
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->EnablePrinter(arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= (bool)(arg1
)->GetDefaultMinMargins();
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19390 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 result
= (bool)(arg1
)->GetEnableMargins();
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19418 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (bool)(arg1
)->GetEnableOrientation();
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19446 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (bool)(arg1
)->GetEnablePaper();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19474 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (bool)(arg1
)->GetEnablePrinter();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19502 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (bool)(arg1
)->GetEnableHelp();
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19530 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(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_GetDefaultInfo",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
= (bool)(arg1
)->GetDefaultInfo();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19558 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= (arg1
)->GetMarginTopLeft();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 wxPoint
* resultptr
;
19579 resultptr
= new wxPoint((wxPoint
&) result
);
19580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19588 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (arg1
)->GetMarginBottomRight();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 wxPoint
* resultptr
;
19609 resultptr
= new wxPoint((wxPoint
&) result
);
19610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19618 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (arg1
)->GetMinMarginTopLeft();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19638 wxPoint
* resultptr
;
19639 resultptr
= new wxPoint((wxPoint
&) result
);
19640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19648 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (arg1
)->GetMinMarginBottomRight();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 wxPoint
* resultptr
;
19669 resultptr
= new wxPoint((wxPoint
&) result
);
19670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19678 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= (int)(arg1
)->GetPaperId();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= SWIG_FromInt((int)result
);
19704 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (arg1
)->GetPaperSize();
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 wxSize
* resultptr
;
19725 resultptr
= new wxSize((wxSize
&) result
);
19726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19734 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19737 wxPrintData
*result
;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19750 result
= (wxPrintData
*) &_result_ref
;
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19763 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (bool)(arg1
)->Ok();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19791 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self",(char *) "flag", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 arg2
= (bool) SWIG_AsBool(obj1
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 (arg1
)->SetDefaultInfo(arg2
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self",(char *) "flag", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 arg2
= (bool) SWIG_AsBool(obj1
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->SetDefaultMinMargins(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19852 wxPoint
*arg2
= 0 ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self",(char *) "pt", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 Py_INCREF(Py_None
); resultobj
= Py_None
;
19881 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19884 wxPoint
*arg2
= 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "pt", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19916 wxPoint
*arg2
= 0 ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self",(char *) "pt", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 Py_INCREF(Py_None
); resultobj
= Py_None
;
19945 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19948 wxPoint
*arg2
= 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "pt", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 Py_INCREF(Py_None
); resultobj
= Py_None
;
19977 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19983 char *kwnames
[] = {
19984 (char *) "self",(char *) "id", NULL
19987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19990 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 Py_INCREF(Py_None
); resultobj
= Py_None
;
20006 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 PyObject
* obj1
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self",(char *) "size", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 Py_INCREF(Py_None
); resultobj
= Py_None
;
20038 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20041 wxPrintData
*arg2
= 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self",(char *) "printData", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20054 if (arg2
== NULL
) {
20055 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20075 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20077 return Py_BuildValue((char *)"");
20079 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxWindow
*arg1
= (wxWindow
*) 0 ;
20082 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20083 wxPageSetupDialog
*result
;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "parent",(char *) "data", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20111 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20114 wxPageSetupDialogData
*result
;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20127 result
= (wxPageSetupDialogData
*) &_result_ref
;
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20140 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (int)(arg1
)->ShowModal();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_FromInt((int)result
);
20166 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20169 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20171 return Py_BuildValue((char *)"");
20173 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20174 PyObject
*resultobj
;
20175 wxPrintDialogData
*result
;
20177 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20192 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20193 PyObject
*resultobj
;
20194 wxPrintData
*arg1
= 0 ;
20195 wxPrintDialogData
*result
;
20196 PyObject
* obj0
= 0 ;
20198 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20202 if (arg1
== NULL
) {
20203 PyErr_SetString(PyExc_TypeError
,"null reference");
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20220 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20225 argc
= PyObject_Length(args
);
20226 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20227 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20230 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20244 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20248 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20253 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20278 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_FromInt((int)result
);
20304 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_FromInt((int)result
);
20330 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_FromInt((int)result
);
20356 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= SWIG_FromInt((int)result
);
20382 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_FromInt((int)result
);
20408 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20436 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20468 PyObject
* obj0
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20492 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20520 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20548 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 PyObject
* obj1
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "self",(char *) "v", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 arg2
= (int) SWIG_AsInt(obj1
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 (arg1
)->SetFromPage(arg2
);
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 Py_INCREF(Py_None
); resultobj
= Py_None
;
20577 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char *kwnames
[] = {
20584 (char *) "self",(char *) "v", NULL
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 arg2
= (int) SWIG_AsInt(obj1
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 (arg1
)->SetToPage(arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 Py_INCREF(Py_None
); resultobj
= Py_None
;
20606 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self",(char *) "v", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 arg2
= (int) SWIG_AsInt(obj1
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 (arg1
)->SetMinPage(arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 Py_INCREF(Py_None
); resultobj
= Py_None
;
20635 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self",(char *) "v", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 arg2
= (int) SWIG_AsInt(obj1
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 (arg1
)->SetMaxPage(arg2
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 Py_INCREF(Py_None
); resultobj
= Py_None
;
20664 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "v", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 arg2
= (int) SWIG_AsInt(obj1
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->SetNoCopies(arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "flag", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 arg2
= (bool) SWIG_AsBool(obj1
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetAllPages(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 Py_INCREF(Py_None
); resultobj
= Py_None
;
20722 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self",(char *) "flag", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 arg2
= (bool) SWIG_AsBool(obj1
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->SetSelection(arg2
);
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self",(char *) "flag", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= (bool) SWIG_AsBool(obj1
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->SetCollate(arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self",(char *) "flag", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 arg2
= (bool) SWIG_AsBool(obj1
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 (arg1
)->SetPrintToFile(arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 Py_INCREF(Py_None
); resultobj
= Py_None
;
20809 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "flag", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20822 arg2
= (bool) SWIG_AsBool(obj1
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->SetSetupDialog(arg2
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 PyObject
* obj1
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self",(char *) "flag", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 arg2
= (bool) SWIG_AsBool(obj1
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->EnablePrintToFile(arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 Py_INCREF(Py_None
); resultobj
= Py_None
;
20867 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 PyObject
* obj1
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "flag", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 arg2
= (bool) SWIG_AsBool(obj1
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 (arg1
)->EnableSelection(arg2
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 Py_INCREF(Py_None
); resultobj
= Py_None
;
20896 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 char *kwnames
[] = {
20903 (char *) "self",(char *) "flag", NULL
20906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20909 arg2
= (bool) SWIG_AsBool(obj1
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 (arg1
)->EnablePageNumbers(arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 Py_INCREF(Py_None
); resultobj
= Py_None
;
20925 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "flag", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 arg2
= (bool) SWIG_AsBool(obj1
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 (arg1
)->EnableHelp(arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 Py_INCREF(Py_None
); resultobj
= Py_None
;
20954 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20982 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21010 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21038 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21066 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21094 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21097 wxPrintData
*result
;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21110 result
= (wxPrintData
*) &_result_ref
;
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21123 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21126 wxPrintData
*arg2
= 0 ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "self",(char *) "printData", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21139 if (arg2
== NULL
) {
21140 PyErr_SetString(PyExc_TypeError
,"null reference");
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 Py_INCREF(Py_None
); resultobj
= Py_None
;
21157 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21160 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21162 return Py_BuildValue((char *)"");
21164 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxWindow
*arg1
= (wxWindow
*) 0 ;
21167 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21168 wxPrintDialog
*result
;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "parent",(char *) "data", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21196 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21199 wxPrintDialogData
*result
;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21212 result
= (wxPrintDialogData
*) &_result_ref
;
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21225 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (wxDC
*)(arg1
)->GetPrintDC();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= wxPyMake_wxObject(result
);
21253 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (int)(arg1
)->ShowModal();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_FromInt((int)result
);
21279 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21282 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21284 return Py_BuildValue((char *)"");
21286 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "data", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (wxPrinter
*)new wxPrinter(arg1
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21314 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21342 wxWindow
*arg2
= (wxWindow
*) 0 ;
21343 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 PyObject
* obj2
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "parent",(char *) "printout", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 Py_INCREF(Py_None
); resultobj
= Py_None
;
21372 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21375 wxPrintDialogData
*result
;
21376 PyObject
* obj0
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21388 result
= (wxPrintDialogData
*) &_result_ref
;
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21401 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21404 wxWindow
*arg2
= (wxWindow
*) 0 ;
21405 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21406 int arg4
= (int) True
;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 PyObject
* obj3
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21424 arg4
= (int) SWIG_AsInt(obj3
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21443 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21446 wxWindow
*arg2
= (wxWindow
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self",(char *) "parent", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= wxPyMake_wxObject(result
);
21475 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21478 wxWindow
*arg2
= (wxWindow
*) 0 ;
21479 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21480 wxString
*arg4
= 0 ;
21481 bool temp4
= False
;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 PyObject
* obj2
= 0 ;
21485 PyObject
* obj3
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21495 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 arg4
= wxString_in_helper(obj3
);
21499 if (arg4
== NULL
) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21524 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21527 wxWindow
*arg2
= (wxWindow
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "parent", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)(arg1
)->Setup(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21560 PyObject
* obj0
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (bool)(arg1
)->GetAbort();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21587 char *kwnames
[] = {
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (int)wxPrinter::GetLastError();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_FromInt((int)result
);
21606 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21609 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21611 return Py_BuildValue((char *)"");
21613 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21616 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21617 wxPyPrintout
*result
;
21618 bool temp1
= False
;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "title", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21627 arg1
= wxString_in_helper(obj0
);
21628 if (arg1
== NULL
) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= wxPyMake_wxObject(result
);
21656 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21659 PyObject
*arg2
= (PyObject
*) 0 ;
21660 PyObject
*arg3
= (PyObject
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 PyObject
* obj2
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "self",(char *) "_class", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 Py_INCREF(Py_None
); resultobj
= Py_None
;
21687 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21719 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxDC
*)(arg1
)->GetDC();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= wxPyMake_wxObject(result
);
21747 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21750 wxDC
*arg2
= (wxDC
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "dc", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 (arg1
)->SetDC(arg2
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "w",(char *) "h", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= (int) SWIG_AsInt(obj1
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21793 arg3
= (int) SWIG_AsInt(obj2
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 Py_INCREF(Py_None
); resultobj
= Py_None
;
21809 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21812 int *arg2
= (int *) 0 ;
21813 int *arg3
= (int *) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self", NULL
21823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 Py_INCREF(Py_None
); resultobj
= Py_None
;
21835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21836 resultobj
= t_output_helper(resultobj
,o
);
21839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21840 resultobj
= t_output_helper(resultobj
,o
);
21848 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 PyObject
* obj2
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "w",(char *) "h", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21863 arg2
= (int) SWIG_AsInt(obj1
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21865 arg3
= (int) SWIG_AsInt(obj2
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 Py_INCREF(Py_None
); resultobj
= Py_None
;
21881 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21884 int *arg2
= (int *) 0 ;
21885 int *arg3
= (int *) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 Py_INCREF(Py_None
); resultobj
= Py_None
;
21907 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21908 resultobj
= t_output_helper(resultobj
,o
);
21911 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21912 resultobj
= t_output_helper(resultobj
,o
);
21920 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "x",(char *) "y", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 arg2
= (int) SWIG_AsInt(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21937 arg3
= (int) SWIG_AsInt(obj2
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 (arg1
)->SetPPIScreen(arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 Py_INCREF(Py_None
); resultobj
= Py_None
;
21953 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21956 int *arg2
= (int *) 0 ;
21957 int *arg3
= (int *) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 (arg1
)->GetPPIScreen(arg2
,arg3
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21980 resultobj
= t_output_helper(resultobj
,o
);
21983 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21984 resultobj
= t_output_helper(resultobj
,o
);
21992 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 PyObject
* obj2
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "x",(char *) "y", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 arg2
= (int) SWIG_AsInt(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22009 arg3
= (int) SWIG_AsInt(obj2
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22028 int *arg2
= (int *) 0 ;
22029 int *arg3
= (int *) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22052 resultobj
= t_output_helper(resultobj
,o
);
22055 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22056 resultobj
= t_output_helper(resultobj
,o
);
22064 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= (bool)(arg1
)->IsPreview();
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22092 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self",(char *) "p", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 arg2
= (bool) SWIG_AsBool(obj1
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 (arg1
)->SetIsPreview(arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 Py_INCREF(Py_None
); resultobj
= Py_None
;
22121 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 arg2
= (int) SWIG_AsInt(obj1
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22139 arg3
= (int) SWIG_AsInt(obj2
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22157 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->base_OnEndDocument();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->base_OnBeginPrinting();
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->base_OnEndPrinting();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 Py_INCREF(Py_None
); resultobj
= Py_None
;
22232 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->base_OnPreparePrinting();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "page", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 arg2
= (int) SWIG_AsInt(obj1
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (bool)(arg1
)->base_HasPage(arg2
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22289 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22292 int *arg2
= (int *) 0 ;
22293 int *arg3
= (int *) 0 ;
22294 int *arg4
= (int *) 0 ;
22295 int *arg5
= (int *) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 Py_INCREF(Py_None
); resultobj
= Py_None
;
22321 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22322 resultobj
= t_output_helper(resultobj
,o
);
22325 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22326 resultobj
= t_output_helper(resultobj
,o
);
22329 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22330 resultobj
= t_output_helper(resultobj
,o
);
22333 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22334 resultobj
= t_output_helper(resultobj
,o
);
22342 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22345 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22347 return Py_BuildValue((char *)"");
22349 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22352 wxWindow
*arg2
= (wxWindow
*) 0 ;
22353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22355 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22356 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22357 long arg5
= (long) 0 ;
22358 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22360 wxPreviewCanvas
*result
;
22363 bool temp6
= False
;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 PyObject
* obj3
= 0 ;
22368 PyObject
* obj4
= 0 ;
22369 PyObject
* obj5
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22392 arg5
= (long) SWIG_AsLong(obj4
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22397 arg6
= wxString_in_helper(obj5
);
22398 if (arg6
== NULL
) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22424 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22427 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22429 return Py_BuildValue((char *)"");
22431 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22434 wxFrame
*arg2
= (wxFrame
*) 0 ;
22435 wxString
*arg3
= 0 ;
22436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22440 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22441 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22443 wxPreviewFrame
*result
;
22444 bool temp3
= False
;
22447 bool temp7
= False
;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 PyObject
* obj3
= 0 ;
22452 PyObject
* obj4
= 0 ;
22453 PyObject
* obj5
= 0 ;
22454 PyObject
* obj6
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 arg3
= wxString_in_helper(obj2
);
22466 if (arg3
== NULL
) SWIG_fail
;
22472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22482 arg6
= (long) SWIG_AsLong(obj5
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22487 arg7
= wxString_in_helper(obj6
);
22488 if (arg7
== NULL
) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22522 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 (arg1
)->Initialize();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22547 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->CreateControlBar();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->CreateCanvas();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22600 wxPreviewControlBar
*result
;
22601 PyObject
* obj0
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22623 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22626 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22628 return Py_BuildValue((char *)"");
22630 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22634 wxWindow
*arg3
= (wxWindow
*) 0 ;
22635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22639 long arg6
= (long) wxTAB_TRAVERSAL
;
22640 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22642 wxPreviewControlBar
*result
;
22645 bool temp7
= False
;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 PyObject
* obj3
= 0 ;
22650 PyObject
* obj4
= 0 ;
22651 PyObject
* obj5
= 0 ;
22652 PyObject
* obj6
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 arg2
= (long) SWIG_AsLong(obj1
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22662 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22677 arg6
= (long) SWIG_AsLong(obj5
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22682 arg7
= wxString_in_helper(obj6
);
22683 if (arg7
== NULL
) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22709 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (int)(arg1
)->GetZoomControl();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= SWIG_FromInt((int)result
);
22735 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "zoom", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 arg2
= (int) SWIG_AsInt(obj1
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->SetZoomControl(arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22767 wxPrintPreview
*result
;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22790 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 Py_INCREF(Py_None
); resultobj
= Py_None
;
22815 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 (arg1
)->OnPrevious();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 Py_INCREF(Py_None
); resultobj
= Py_None
;
22840 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 char *kwnames
[] = {
22895 (char *) "self", NULL
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22920 return Py_BuildValue((char *)"");
22922 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22923 PyObject
*resultobj
;
22924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22925 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22926 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22927 wxPrintPreview
*result
;
22928 PyObject
* obj0
= 0 ;
22929 PyObject
* obj1
= 0 ;
22930 PyObject
* obj2
= 0 ;
22932 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22938 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22955 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22956 PyObject
*resultobj
;
22957 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22958 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22959 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22960 wxPrintPreview
*result
;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22965 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22970 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22986 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22991 argc
= PyObject_Length(args
);
22992 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22993 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22995 if ((argc
>= 2) && (argc
<= 3)) {
22999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23018 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23022 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23030 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23039 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23049 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23059 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23067 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23073 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23078 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "pageNum", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 arg2
= (int) SWIG_AsInt(obj1
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23110 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (int)(arg1
)->GetCurrentPage();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_FromInt((int)result
);
23136 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23139 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self",(char *) "printout", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 (arg1
)->SetPrintout(arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 Py_INCREF(Py_None
); resultobj
= Py_None
;
23165 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23168 wxPyPrintout
*result
;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= wxPyMake_wxObject(result
);
23193 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23196 wxPyPrintout
*result
;
23197 PyObject
* obj0
= 0 ;
23198 char *kwnames
[] = {
23199 (char *) "self", NULL
23202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= wxPyMake_wxObject(result
);
23221 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
;
23223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23224 wxFrame
*arg2
= (wxFrame
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self",(char *) "frame", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->SetFrame(arg2
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23253 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "canvas", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->SetCanvas(arg2
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (wxFrame
*)(arg1
)->GetFrame();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= wxPyMake_wxObject(result
);
23307 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23310 wxPreviewCanvas
*result
;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23333 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23335 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23336 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 PyObject
* obj2
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23354 if (arg3
== NULL
) {
23355 PyErr_SetString(PyExc_TypeError
,"null reference");
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23374 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23377 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 PyObject
* obj2
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23395 if (arg3
== NULL
) {
23396 PyErr_SetString(PyExc_TypeError
,"null reference");
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23415 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self",(char *) "pageNum", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 arg2
= (int) SWIG_AsInt(obj1
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (bool)(arg1
)->RenderPage(arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23450 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "canvas", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->AdjustScrollbars(arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 Py_INCREF(Py_None
); resultobj
= Py_None
;
23476 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23479 wxPrintDialogData
*result
;
23480 PyObject
* obj0
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23492 result
= (wxPrintDialogData
*) &_result_ref
;
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23505 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "percent", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 arg2
= (int) SWIG_AsInt(obj1
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 (arg1
)->SetZoom(arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 Py_INCREF(Py_None
); resultobj
= Py_None
;
23534 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (int)(arg1
)->GetZoom();
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_FromInt((int)result
);
23560 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 result
= (int)(arg1
)->GetMaxPage();
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_FromInt((int)result
);
23586 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (int)(arg1
)->GetMinPage();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= SWIG_FromInt((int)result
);
23612 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (bool)(arg1
)->Ok();
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23640 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "ok", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23653 arg2
= (bool) SWIG_AsBool(obj1
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->SetOk(arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self",(char *) "interactive", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23683 arg2
= (bool) SWIG_AsBool(obj1
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (bool)(arg1
)->Print(arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23701 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->DetermineScaling();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23729 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23731 return Py_BuildValue((char *)"");
23733 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23734 PyObject
*resultobj
;
23735 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23736 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23737 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23738 wxPyPrintPreview
*result
;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 PyObject
* obj2
= 0 ;
23743 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23766 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23767 PyObject
*resultobj
;
23768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23769 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23770 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23771 wxPyPrintPreview
*result
;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 PyObject
* obj2
= 0 ;
23776 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23797 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23802 argc
= PyObject_Length(args
);
23803 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23804 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23806 if ((argc
>= 2) && (argc
<= 3)) {
23810 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23820 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23829 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23833 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23841 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23850 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23860 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23870 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23878 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23884 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23889 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23892 PyObject
*arg2
= (PyObject
*) 0 ;
23893 PyObject
*arg3
= (PyObject
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 PyObject
* obj2
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self",(char *) "self",(char *) "_class", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self",(char *) "pageNum", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 arg2
= (int) SWIG_AsInt(obj1
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23952 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23955 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj2
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23970 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23973 if (arg3
== NULL
) {
23974 PyErr_SetString(PyExc_TypeError
,"null reference");
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23996 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 PyObject
* obj2
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24014 if (arg3
== NULL
) {
24015 PyErr_SetString(PyExc_TypeError
,"null reference");
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24034 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "pageNum", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (int) SWIG_AsInt(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "percent", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 arg2
= (int) SWIG_AsInt(obj1
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->base_SetZoom(arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "interactive", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 arg2
= (bool) SWIG_AsBool(obj1
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (bool)(arg1
)->base_Print(arg2
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24127 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 (arg1
)->base_DetermineScaling();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 Py_INCREF(Py_None
); resultobj
= Py_None
;
24152 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24155 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24157 return Py_BuildValue((char *)"");
24159 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24162 wxFrame
*arg2
= (wxFrame
*) 0 ;
24163 wxString
*arg3
= 0 ;
24164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24168 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24169 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24171 wxPyPreviewFrame
*result
;
24172 bool temp3
= False
;
24175 bool temp7
= False
;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 PyObject
* obj2
= 0 ;
24179 PyObject
* obj3
= 0 ;
24180 PyObject
* obj4
= 0 ;
24181 PyObject
* obj5
= 0 ;
24182 PyObject
* obj6
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 arg3
= wxString_in_helper(obj2
);
24194 if (arg3
== NULL
) SWIG_fail
;
24200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24210 arg6
= (long) SWIG_AsLong(obj5
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24215 arg7
= wxString_in_helper(obj6
);
24216 if (arg7
== NULL
) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24250 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24253 PyObject
*arg2
= (PyObject
*) 0 ;
24254 PyObject
*arg3
= (PyObject
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "self",(char *) "_class", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24284 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "canvas", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetPreviewCanvas(arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24313 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "bar", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SetControlBar(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 (arg1
)->base_Initialize();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 Py_INCREF(Py_None
); resultobj
= Py_None
;
24364 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 (arg1
)->base_CreateCanvas();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->base_CreateControlBar();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24417 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24419 return Py_BuildValue((char *)"");
24421 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24425 wxWindow
*arg3
= (wxWindow
*) 0 ;
24426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24430 long arg6
= (long) 0 ;
24431 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24433 wxPyPreviewControlBar
*result
;
24436 bool temp7
= False
;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 PyObject
* obj3
= 0 ;
24441 PyObject
* obj4
= 0 ;
24442 PyObject
* obj5
= 0 ;
24443 PyObject
* obj6
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 arg2
= (long) SWIG_AsLong(obj1
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24453 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24468 arg6
= (long) SWIG_AsLong(obj5
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24473 arg7
= wxString_in_helper(obj6
);
24474 if (arg7
== NULL
) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24500 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24503 PyObject
*arg2
= (PyObject
*) 0 ;
24504 PyObject
*arg3
= (PyObject
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 PyObject
* obj2
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "self",(char *) "self",(char *) "_class", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 Py_INCREF(Py_None
); resultobj
= Py_None
;
24531 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24534 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "preview", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetPrintPreview(arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 Py_INCREF(Py_None
); resultobj
= Py_None
;
24560 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 char *kwnames
[] = {
24565 (char *) "self", NULL
24568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 (arg1
)->base_CreateButtons();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 Py_INCREF(Py_None
); resultobj
= Py_None
;
24585 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self",(char *) "zoom", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 arg2
= (int) SWIG_AsInt(obj1
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 (arg1
)->base_SetZoomControl(arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 Py_INCREF(Py_None
); resultobj
= Py_None
;
24614 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24617 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24619 return Py_BuildValue((char *)"");
24621 static PyMethodDef SwigMethods
[] = {
24622 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24628 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24643 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24644 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24652 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24666 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24690 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24702 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24706 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24710 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24715 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24731 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24759 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24766 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24789 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24797 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24809 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24815 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24824 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24830 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24835 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24841 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24845 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24863 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24889 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24897 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24906 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24908 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24917 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24920 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24927 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24945 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24949 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24954 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24958 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24974 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24977 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24979 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24983 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24992 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25001 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25007 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25022 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25029 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25033 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25057 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25081 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25105 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25151 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25183 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25187 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25188 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25221 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25226 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25237 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25260 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25262 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25268 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25278 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25279 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25302 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25303 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25312 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25320 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25332 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25333 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25338 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25339 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25341 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25342 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25344 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25345 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25347 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25348 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25351 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25353 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25354 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25357 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25359 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25362 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25365 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25366 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25368 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25371 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25372 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25374 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25375 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25377 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25380 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25381 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25383 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25384 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25386 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25387 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25389 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25390 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25392 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25393 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25395 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25396 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25398 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25399 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25402 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25408 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25411 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25414 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25417 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25420 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25422 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25423 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25428 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25429 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25431 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25432 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25434 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25435 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25437 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25438 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25440 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25443 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25444 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25446 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25447 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25449 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25450 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25452 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25453 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25455 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25456 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25458 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25459 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25471 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25474 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25477 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25480 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25482 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25485 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25488 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25491 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25504 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25507 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25525 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25534 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25540 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25543 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25545 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25548 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25549 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25551 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25554 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25557 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25560 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25561 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25563 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25566 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25569 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25572 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25575 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25578 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25581 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25584 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25585 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25587 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25590 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25593 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25596 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25599 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25602 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25605 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25608 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25611 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25612 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25614 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25615 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25617 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25618 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25620 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25621 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25623 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25624 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25626 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25627 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25629 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25630 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25632 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25633 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25635 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25638 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25641 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25644 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25647 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25650 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25653 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25656 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25659 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25662 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25665 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) ((wxSizer
*) x
));
25668 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25671 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25674 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25677 static void *_p_wxEventTo_p_wxObject(void *x
) {
25678 return (void *)((wxObject
*) ((wxEvent
*) x
));
25680 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25681 return (void *)((wxObject
*) ((wxFontData
*) x
));
25683 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25684 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25686 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25687 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25689 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25690 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25692 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25693 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25695 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25696 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25698 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25701 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25704 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25705 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25707 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25708 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25710 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25711 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25713 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25714 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25716 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25717 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25719 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25720 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25722 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25725 static void *_p_wxControlTo_p_wxObject(void *x
) {
25726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25728 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25729 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25731 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25734 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25735 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25737 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25738 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25740 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25741 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25743 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25746 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25747 return (void *)((wxObject
*) ((wxColourData
*) x
));
25749 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25750 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25752 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25755 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25758 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25761 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25764 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25767 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25770 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25773 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25776 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25779 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25782 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25783 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25785 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25786 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25788 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25789 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25791 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25792 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25794 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25797 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25798 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25800 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25801 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25803 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25804 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25806 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25809 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25812 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25815 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25818 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25821 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25824 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25827 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25830 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25833 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25836 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25839 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25842 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25845 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25848 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25851 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25854 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25857 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25860 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25863 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25866 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25869 static void *_p_wxImageTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) ((wxImage
*) x
));
25872 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25875 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25878 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25879 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25881 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25882 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25884 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25887 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25890 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25893 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25894 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25896 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25897 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25899 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25900 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25902 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25903 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25905 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25908 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25911 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25914 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25917 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25920 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25923 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25926 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25929 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25932 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25935 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25938 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25941 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25944 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25947 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25950 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25953 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25956 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25959 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25962 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25965 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25968 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25971 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25974 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25980 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25983 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25986 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25989 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25992 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25995 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25998 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26001 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26004 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26010 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26019 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26022 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26025 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26028 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26031 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26032 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26034 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26035 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26037 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26038 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26040 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26041 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26043 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26044 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26046 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26047 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26049 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26050 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26052 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26053 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26055 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26056 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26058 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26059 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26061 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26062 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26064 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26065 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26067 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26068 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26070 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26071 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26073 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26074 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26076 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26077 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26079 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26080 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26082 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26083 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26085 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26086 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26088 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26089 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26091 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26092 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26094 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26095 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26097 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26098 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26100 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26101 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26103 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26104 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26106 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26107 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26109 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26112 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26113 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26115 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26116 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26118 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26119 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26121 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26124 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26125 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26127 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26128 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26130 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26131 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26133 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26134 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26136 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26137 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26139 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26142 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26143 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26145 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26146 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26148 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26149 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26151 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26152 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26154 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26155 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26157 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26158 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26160 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26161 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26163 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26164 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26166 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26167 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26169 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26170 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26172 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26173 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26175 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26176 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26178 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26179 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26181 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26182 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26184 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26185 return (void *)((wxWindow
*) ((wxControl
*) x
));
26187 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26188 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26190 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26191 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26193 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26194 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26196 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26197 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26199 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26200 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26202 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26203 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26205 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26206 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26208 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26209 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26211 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26212 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26214 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26215 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26217 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26218 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26220 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26221 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26223 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26226 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26229 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26230 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26232 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26235 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26238 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26241 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26242 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26244 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26245 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26247 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26248 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26250 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26251 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26253 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26254 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26256 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26257 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26259 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26260 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26262 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26263 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26265 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26266 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26268 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26269 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26271 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26272 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26274 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26275 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26277 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26278 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26280 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26281 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26283 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26284 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26286 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26287 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26289 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26290 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26292 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26293 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26295 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26296 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26298 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26299 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26301 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26302 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26304 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26305 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26307 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26308 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26311 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26314 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26316 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26317 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26319 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26320 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26322 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26323 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26325 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26326 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26328 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26329 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26331 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26332 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26334 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26335 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26337 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26338 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26340 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26341 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26343 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26344 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26346 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}};
26347 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}};
26348 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}};
26349 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}};
26350 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}};
26351 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}};
26352 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}};
26353 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}};
26354 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}};
26355 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}};
26356 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}};
26357 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}};
26358 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}};
26359 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}};
26360 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}};
26361 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}};
26362 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}};
26363 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}};
26364 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}};
26365 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}};
26366 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}};
26367 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}};
26368 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}};
26369 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}};
26370 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}};
26371 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}};
26372 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}};
26373 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}};
26374 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}};
26375 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}};
26376 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}};
26377 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}};
26378 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}};
26379 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}};
26380 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}};
26381 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}};
26382 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}};
26383 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}};
26384 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}};
26385 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}};
26386 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}};
26387 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}};
26388 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}};
26389 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}};
26390 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}};
26391 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}};
26392 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}};
26393 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}};
26394 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}};
26395 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}};
26396 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}};
26397 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}};
26398 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}};
26399 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}};
26400 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}};
26401 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}};
26402 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}};
26403 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}};
26404 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}};
26405 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}};
26406 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}};
26407 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}};
26408 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}};
26409 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}};
26410 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}};
26411 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}};
26412 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}};
26413 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}};
26414 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}};
26415 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}};
26416 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}};
26417 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}};
26418 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}};
26419 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}};
26420 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}};
26421 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}};
26422 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}};
26423 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}};
26424 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}};
26425 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}};
26426 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}};
26427 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}};
26428 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}};
26429 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}};
26430 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}};
26431 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}};
26432 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}};
26434 static swig_type_info
*swig_types_initial
[] = {
26435 _swigt__p_wxQueryLayoutInfoEvent
,
26436 _swigt__p_wxPreviewFrame
,
26437 _swigt__p_wxPyPreviewFrame
,
26438 _swigt__p_wxPyPanel
,
26440 _swigt__p_wxFontData
,
26442 _swigt__p_wxPrintData
,
26443 _swigt__p_wxTaskBarIcon
,
26444 _swigt__p_wxIconBundle
,
26445 _swigt__p_wxLayoutAlgorithm
,
26446 _swigt__p_wxFindDialogEvent
,
26447 _swigt__p_wxPreviewCanvas
,
26449 _swigt__p_wxSplitterEvent
,
26450 _swigt__p_wxRegion
,
26451 _swigt__p_wxFindReplaceData
,
26456 _swigt__p_wxVisualAttributes
,
26457 _swigt__p_wxMDIChildFrame
,
26458 _swigt__p_wxColourData
,
26459 _swigt__p_wxNotifyEvent
,
26460 _swigt__p_wxPyWindow
,
26461 _swigt__p_wxSplashScreen
,
26462 _swigt__p_wxFindReplaceDialog
,
26463 _swigt__p_wxProgressDialog
,
26464 _swigt__p_wxMessageDialog
,
26465 _swigt__p_wxTextEntryDialog
,
26466 _swigt__p_wxSingleChoiceDialog
,
26467 _swigt__p_wxMultiChoiceDialog
,
26468 _swigt__p_wxFileDialog
,
26469 _swigt__p_wxPrinter
,
26470 _swigt__p_wxArrayInt
,
26471 _swigt__p_wxEvtHandler
,
26472 _swigt__p_wxCalculateLayoutEvent
,
26473 _swigt__p_wxPyHtmlListBox
,
26474 _swigt__p_wxPyVListBox
,
26477 _swigt__p_wxMiniFrame
,
26479 _swigt__p_wxPyPrintout
,
26480 _swigt__p_wxTaskBarIconEvent
,
26481 _swigt__p_wxScrollWinEvent
,
26482 _swigt__p_wxStatusBar
,
26483 _swigt__p_wxMDIParentFrame
,
26485 _swigt__p_wxObject
,
26486 _swigt__p_wxOutputStream
,
26487 _swigt__p_unsigned_long
,
26488 _swigt__p_wxPyScrolledWindow
,
26489 _swigt__p_wxMDIClientWindow
,
26490 _swigt__p_wxTipWindow
,
26491 _swigt__p_wxSashLayoutWindow
,
26492 _swigt__p_wxSplitterWindow
,
26493 _swigt__p_wxSplashScreenWindow
,
26494 _swigt__p_wxPyVScrolledWindow
,
26495 _swigt__p_wxPyPopupTransientWindow
,
26496 _swigt__p_wxPopupWindow
,
26497 _swigt__p_wxSashWindow
,
26498 _swigt__p_wxTopLevelWindow
,
26499 _swigt__p_wxWindow
,
26500 _swigt__p_wxScrolledWindow
,
26501 _swigt__p_wxMenuBar
,
26502 _swigt__p_wxPrintPreview
,
26503 _swigt__p_wxSashEvent
,
26504 _swigt__p_wxString
,
26505 _swigt__p_wxPyPrintPreview
,
26506 _swigt__p_wxFontDialog
,
26507 _swigt__p_wxDirDialog
,
26508 _swigt__p_wxColourDialog
,
26509 _swigt__p_wxDialog
,
26511 _swigt__p_wxPageSetupDialog
,
26512 _swigt__p_wxPrintDialog
,
26513 _swigt__p_wxFileSystem
,
26514 _swigt__p_wxBitmap
,
26515 _swigt__p_wxCommandEvent
,
26516 _swigt__p_wxPreviewControlBar
,
26517 _swigt__p_wxPyPreviewControlBar
,
26518 _swigt__p_wxColour
,
26519 _swigt__p_wxToolBar
,
26520 _swigt__p_wxPageSetupDialogData
,
26521 _swigt__p_wxPrintDialogData
,
26526 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26528 static swig_const_info swig_const_table
[] = {
26538 SWIGEXPORT(void) SWIG_init(void) {
26539 static PyObject
*SWIG_globals
= 0;
26540 static int typeinit
= 0;
26543 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26544 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26545 d
= PyModule_GetDict(m
);
26548 for (i
= 0; swig_types_initial
[i
]; i
++) {
26549 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26553 SWIG_InstallConstants(d
,swig_const_table
);
26555 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26556 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26557 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26558 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26559 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26560 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26561 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26562 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26563 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26564 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26565 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26566 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26567 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26568 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26569 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26570 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26571 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26572 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26573 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26574 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26575 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26576 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26577 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26578 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26579 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26580 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26581 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26582 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26583 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26584 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26585 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26586 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26587 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26588 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26589 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26590 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26591 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26592 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26593 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26594 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26595 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26596 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26597 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26598 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26599 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26600 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26601 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26602 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26603 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26604 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26605 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26606 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26607 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26608 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26609 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26610 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26611 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26612 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26613 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26614 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26615 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26616 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26617 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26618 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26619 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26620 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26621 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26622 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26623 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26624 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26625 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26626 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26627 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26628 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26629 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26630 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26631 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26632 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26633 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26634 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26635 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26636 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26637 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26638 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26639 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26640 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26641 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26642 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26643 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26644 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26645 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26646 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26647 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26649 // Map renamed classes back to their common name for OOR
26650 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26651 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26652 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26654 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26655 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26656 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26657 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26658 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26659 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26660 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26661 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26662 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26663 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26664 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26665 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26666 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26667 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26668 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26669 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26670 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26671 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26672 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26673 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26674 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26675 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26676 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26677 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26678 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26679 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26680 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26681 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26682 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26683 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26684 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26685 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26686 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26687 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26688 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26689 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26690 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26691 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26692 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26693 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26694 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26695 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26696 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26697 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26698 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26699 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26700 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26701 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26702 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26703 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26704 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26705 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26706 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26707 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26708 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26709 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26710 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26711 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26712 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26713 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26715 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");